1 Lecture 9 Demultiplexers Programmable Logic Devices  Programmable logic array (PLA)  Programmable array logic (PAL)

Slides:



Advertisements
Similar presentations
Digital Design: Combinational Logic Blocks
Advertisements

Combinational Logic Word Problems
Documentation Standards
CS370 – Spring 2003 Programmable Logic Devices PALs/PLAs.
Programmable Logic PAL, PLA.
Programmable Logic Devices
1 Programmable Logic. 2 Prgrammable Logic Organization Pre-fabricated building block of many AND/OR gates (or NOR, NAND) "Personalized" by making or breaking.
111 Basic Circuit Elements n Standard TTL Small-Scale Integration: 1 chip = 2-8 gates n Requires numerous chips to build interesting circuits n Alternative:
Decoders/DeMUXs CS370 – Spring Decoder: single data input, n control inputs, 2 outputs control inputs (called select S) represent Binary index of.
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 9 Programmable Configurations Read Only Memory (ROM) – –a fixed array of AND gates.
Programmable Logic Devices
CPEN Digital System Design
IV - Combinational Logic Technologies © Copyright 2004, Gaetano Borriello and Randy H. Katz 1 Combinational Logic Technologies Standard gates  gate packages.
ECE C03 Lecture 41 Lecture 4 Combinational Logic Implementation Technologies Prith Banerjee ECE C03 Advanced Digital Design Spring 1998.
CSCE 211: Digital Logic Design Chin-Tser Huang University of South Carolina.
1 Designing with MSI Documentation Standards  Block diagrams first step in hierarchical design  Schematic diagrams  Timing diagrams  Circuit descriptions.
Chapter # 4: Programmable and Steering Logic Section 4.1
Design of Two-Level Multiple-Output Networks
PLAs Programmable Logic Arrays
Multiplexer MUX. 2 Multiplexer Multiplexer (Selector)  2 n data inputs,  n control inputs,  1 output  Used to connect 2 n points to a single point.
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use Lecture 13 – Programmable.
Decoders and Multiplexers Prof. Sin-Min Lee Department of Computer Science San Jose State University.
Computer Organization CDA 3103 Dr. Hassan Foroosh Dept. of Computer Science UCF © Copyright Hassan Foroosh 2002.
Combinational Circuits Chapter 3 S. Dandamudi To be used with S. Dandamudi, “Fundamentals of Computer Organization and Design,” Springer, 2003.
Combinational Logic Design
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits I.
1 Lecture 10 PLDs  ROMs Multilevel logic. 2 Read-only memories (ROMs) Two dimensional array of stored 1s and 0s  Input is an address  ROM decodes all.
Chapter 4. combinational logic technologies
Unit 9 Multiplexers, Decoders, and Programmable Logic Devices Ku-Yaw Chang Assistant Professor, Department of Computer Science.
1 Lecture #10 EGR 277 – Digital Logic Multiplexers (Data Selectors) A multiplexer (MUX) is a device that allows several low-speed signals to be sent over.
4-1 Introduction Chapter # 4: Programmable and Steering Logic.
CHAPTER 9 MULTIPLEXERS, DECODERS, AND PROGRAMMABLE LOGIC DEVICES
1 Building Larger Circuits Today: Combinational Building BlocksFirst Hour: Combinational Building Blocks –Section 4.1 of Katz’s Textbook –In-class Activity.
Chapter # 4: Programmable and Steering Logic
1 CSE370, Lecture 11 Lecture 11  Logistics  HW3 due now  Lab4 goes on as normal next week  Tuesday review 6pm, place TBD  Last lecture  "Switching-network"
1 CSE370, Lecture 10 Lecture 10 u Logistics n HW3 due Friday (cover materials up to this lecture) n Lab3 going on this week n Midterm 1: a week from today.
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use Logic and Computer Design.
Programmable Logic Devices (PLDs)
Chap 2. Combinational Logic Circuits
درس مدارهای منطقی دانشگاه قم مولتی پلکسر Multiplexer)) و دِ مولتی پلکسر ( Demultiplexer) تهیه شده توسط حسین امیرخانی مبتنی بر.
Computer Architecture From Microprocessors To Supercomputers
EE207: Digital Systems I, Semester I 2003/2004
Chapter # 4: Programmable Logic
DIGITAL SYSTEMS Programmable devices PLA-PAL Rudolf Tracht and A.J. Han Vinck.
1 Multiplexers (Data Selectors) A multiplexer (MUX) is a device that allows several low-speed signals to be sent over one high-speed output line. “Select.
CSET 4650 Field Programmable Logic Devices
CSE 370 Spring 2006 Introduction to Digital Design Lecture 10: Multiplexers and Demultiplexers Last Lecture Multilevel Logic Hazards Today Multiplexers.
Complex Combinational Circuits Binary Adders Key to enterprise: Addition table also a truth table S i = C i 'A i B i ' + C i 'A i 'B i + C i A i 'B i '+
CSI-2111 Structure of Computers Ipage Combinational Circuits  Objectives : To recognize the principal types of combinational circuits  Adders.
PLDS Mohammed Anvar P.K AP/ECE Al-Ameen Engineering College.
CSCE 211: Digital Logic Design Chin-Tser Huang University of South Carolina.
ECE 3110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Decoders.
1 CSE370, Lecture 10 Lecture 10  Logistics  HW3 due now  Solutions will be available at the midterm review session tomorrow (and at the end of class.
1 Programmable Logic There are other ways to implement a logic function than to hook together discrete 74XX packages or create a custom Integrated Circuit.
Chapter # 4: Programmable Logic
Combinational Logic Implementation
IT IS ABOUT : Programmable Logic PAL, PLA.
Lecture 9 Logistics Last lecture Today HW3 due Wednesday
CSCE 211: Digital Logic Design
CSCE 211: Digital Logic Design
Programmable Logic.
Lecture 8 Logistics Last lecture Last last lecture Today
Programmable Configurations
Unit -06 PLDs.
Lecture 10 Logistics Last lecture Today
Lecture 11 Logistics Last lecture Today HW3 due now
CSCE 211: Digital Logic Design
CSCE 211: Digital Logic Design
CSE 370 – Winter 2002 – Comb. Logic building blocks - 1
Overview Last lecture Timing; Hazards/glitches
Presentation transcript:

1 Lecture 9 Demultiplexers Programmable Logic Devices  Programmable logic array (PLA)  Programmable array logic (PAL)

2 Switching networks logic blocks Multiplexer (MUX)  Routes one of many inputs to a single output  Also called a selector Demultiplexer (DEMUX)  Routes a single input to one of many outputs  Also called a decoder control

3 Logic sharing example 4:1 MUX A 0 A 1 A 2 A 3 C 0 C 1 C 2 C 3 B 0 B 1 B 2 B 3 Complex Logic ABC D 2:4 DEMUX S1S1 S0S0 D 0 D 1 D 2 D 3 Computes the output value selected by the control inputs

4 Demultiplexers Basic concept  Single data input; n control inputs (“selects”); 2 n outputs  Single input connects to one of 2 n outputs  “Selects” decide which output is connected to the input

5 Demultiplexers The input is called an “enable” (G) 1:2 Decoder: Out0 = G  S' Out1 = G  S 2:4 Decoder: Out0 = G  S1'  S0' Out1 = G  S1'  S0 Out2 = G  S1  S0' Out3 = G  S1  S0 3:8 Decoder: Out0 = G  S2'  S1'  S0' Out1 = G  S2'  S1'  S0 Out2 = G  S2'  S1  S0' Out3 = G  S2'  S1  S0 Out4 = G  S2  S1'  S0' Out5 = G  S2  S1'  S0 Out6 = G  S2  S1  S0' Out7 = G  S2  S1  S0 C AB S2 3:8 Demux S1S0 G

6 Demultiplexers: Implemtation Out 0 G S Out 1 2:4 demux 1:2 demux

7 Demultiplexer as logic block A n:2 n demux can implement any function of n variables  Use variables as select inputs  Tie enable input to logic 1  Sum the appropriate minterms (extra OR gate) demultiplexer “decodes” appropriate minterms from the control signals C AB 0A'B'C' 1A'B'C 2A'BC' 3A'BC 4AB'C' 5AB'C 6ABC' 7ABC S2 3:8 Demux S1S0 1

8 Demultiplexer as logic block F1 = A'BC'D + A'B'CD + ABCD F2 = ABC'D' + ABC F3 = (A'+B'+C'+D') AB 0A'B'C'D' 1A'B'C'D 2A'B'CD' 3A'B'CD 4A'BC'D' 5A'BC'D 6A'BCD' 7A'BCD 8AB'C'D' 9AB'C'D 10AB'CD' 11AB'CD 12ABC'D' 13ABC'D 14ABCD' 15ABCD 4:16 Demux Enable = 1 CD F1 F2 F3

9 Cascading demultiplexers 5:32 demux

10 Programmable logic Concept: Large array of uncommitted AND/OR gates (actually NAND/NOR gates)  You program the array by making or breaking connections Programmable block for sum-of-products logic inputs outputs product terms AND array OR array

11 All two-level functions available You "program" the wire connections This is a 3-input, 5-term, 4-function programmable logic array (PLA). Connections ("fuse") are designed to break down under high current. After analyzing Boolean equations, software determines which fuses should be blown.

12 Example F0 = A + B'C' F1 = AC' + AB F2 = B'C' + AB F3 = B'C + A

13 Short-hand notation Draw multiple wires as a single wire or bus × signifies a connection After Programming ABCD Before Programming F0 = AB + A'B' F1 = CD' + C'D

14 PLA example F1 = ABC F2 = A + B + C F3 = A' B' C' F4 = A' + B' + C' F5 = A xor B xor C Think of as a memory-address decoder Memory bits ABCF1F2F3F4F

15 PLAs versus PALs We've been looking at PLAs  Fully programmable AND/OR arrays Programmable array logic (PAL)  Programmable AND array  OR array is prewired Cheaper and faster than PLAs

16 Example: BCD to Gray code ABCDWXYZ XXXX1011XXXX1100XXXX1101XXXX1110XXXX1111XXXXABCDWXYZ XXXX1011XXXX1100XXXX1101XXXX1110XXXX1111XXXX 0000X1 0101X1 1101XX 1001XX 0001X0 0101X0 1100XX 1000XX 0000X1 0110X0 1101XX 1010XX A D AB CD C B K-map for W A D AB CD C B A D 0001X0 0101X0 1111XX 1011XX AB CD C B A D AB CD C B K-map for X K-map for YK-map for Z

17 Wiring a PLA Minimized functions: W = A + BC + BD X = BC' Y = B + C Z = A'B'C'D + BCD + AD' + B'CD'

18 Wiring a PAL Minimized functions: W = A + BC + BD X = BC' Y = B + C Z = A'B'C'D + BCD + AD' + B'CD' Fine example for the use of PAL (because no shared AND terms) Many AND gates wasted, but still faster and cheaper than PLA

19 Implementation comparison PLA: No shared logic terms in this example 10 decoded functions (10 AND gates) PAL: Z requires 4 product terms Need a PAL that handles 4 product terms for each output 16 decoded functions (16 AND gates) 6 unused AND gates Example is a good candidate for PALs:  10 of 16 possible inputs are decoded  No sharing among AND terms