CSE 370 – Winter 2002 – Comb. Logic building blocks - 1

Slides:



Advertisements
Similar presentations
Digital Design: Combinational Logic Blocks
Advertisements

Prith Banerjee ECE C03 Advanced Digital Design Spring 1998
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:
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
IV - Combinational Logic Technologies © Copyright 2004, Gaetano Borriello and Randy H. Katz 1 Combinational Logic Technologies Standard gates  gate packages.
Parity. 2 Datasheets TTL:  CMOS: 
ECE C03 Lecture 41 Lecture 4 Combinational Logic Implementation Technologies Prith Banerjee ECE C03 Advanced Digital Design Spring 1998.
Give qualifications of instructors: DAP
Chapter # 4: Programmable and Steering Logic Section 4.1
PLAs Programmable Logic Arrays
CS 151 Digital Systems Design Lecture 31 Read Only Memory (ROM)
9/20/6Lecture 3 - Instruction Set - Al1 Address Decoding for Memory and I/O.
Introduction to Digital Logic Design Appendix A of CO&A Dr. Farag
Computer Organization CDA 3103 Dr. Hassan Foroosh Dept. of Computer Science UCF © Copyright Hassan Foroosh 2002.
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use Lecture 12 – Design Procedure.
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
1 Lecture 9 Demultiplexers Programmable Logic Devices  Programmable logic array (PLA)  Programmable array logic (PAL)
4-1 Introduction Chapter # 4: Programmable and Steering Logic.
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"
Contemporary Logic Design Prog. & Steering Logic © R.H. Katz Transparency No. 8-1 Chapter # 4: Programmable and Steering Logic Section 4.2.
Programmable Logic Devices (PLDs)
Decoder/Demultiplexer
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.
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.
CENG 241 Digital Design 1 Lecture 13
This chapter in the book includes: Objectives Study Guide
Chapter # 4: Programmable Logic
Lecture 11 Logistics Last lecture Today HW4 due on Wednesday PLDs
Combinational Logic Implementation
IT IS ABOUT : Programmable Logic PAL, PLA.
Lecture 9 Logistics Last lecture Today HW3 due Wednesday
COMP211 Computer Logic Design Lecture 3. Combinational Logic 2
This chapter in the book includes: Objectives Study Guide
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Decoders.
ECE 434 Advanced Digital System L03
CSCE 211: Digital Logic Design
Overview Last Lecture Conversion of two-level logic to NAND or NOR forms Multilevel logic AOI and OAI gates Today Timing and hazards Multiplexers and demultiplexers.
David Culler Electrical Engineering and Computer Sciences
CSCE 211: Digital Logic Design
CSE 370 – Winter Combinational Logic - 1
Programmable Logic Devices (PLDs)
CSE 370 – Winter 2002 – Comb. Logic building blocks - 1
Programmable Logic.
Lecture 13 Logistics Last lecture Today HW4 up, due on Wednesday PLDs
Lecture 8 Logistics Last lecture Last last lecture Today
CSE 370 – Winter Combinational Implementation - 1
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
Part I Background and Motivation
CSCE 211: Digital Logic Design
Overview Functions and functional blocks Rudimentary logic functions
"Computer Design" by Sunggu Lee
Overview Last lecture Timing; Hazards/glitches
Combinational Circuits
FIGURE 5-1 MOS Transistor, Symbols, and Switch Models
Presentation transcript:

CSE 370 – Winter 2002 – Comb. Logic building blocks - 1 Overview Last lecture Multiplexers Demultiplexers (selectors) PLA’s Today PLA’s, PAL’s and ROMs 2/19/2019 CSE 370 – Winter 2002 – Comb. Logic building blocks - 1

CSE 370 – Winter 2002 – Comb. Logic building blocks - 2 PALs and PLAs Programmable logic array (PLA) what we've seen so far unconstrained fully-general AND and OR arrays Programmable array logic (PAL) constrained topology of the OR array innovation by Monolithic Memories faster and smaller (cheaper) OR plane a given column of the OR array has access to only a subset of the possible product terms 2/19/2019 CSE 370 – Winter 2002 – Comb. Logic building blocks - 2

PALs and PLAs: design example BCD to Gray code converter 0 0 X 1 0 1 X 1 0 1 X X 0 1 X X D A B C 0 1 X 0 0 1 X 0 0 0 X X 0 0 X X D A B C A B C D W X Y Z 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 1 0 0 0 1 1 0 0 1 1 0 0 1 0 0 1 0 0 0 1 1 0 0 1 0 1 1 1 1 0 0 1 1 0 1 0 1 0 0 1 1 1 1 0 1 1 1 0 0 0 1 0 0 1 1 0 0 1 1 0 0 0 1 0 1 – – – – – 1 1 – – – – – – K-map for W K-map for X 0 1 X 0 0 1 X 0 1 1 X X 1 1 X X D A B C 0 0 X 1 1 0 X 0 0 1 X X 1 0 X X D A B C minimized functions: W = A + B D + B C X = B C' Y = B + C Z = A'B'C'D + B C D + A D' + B' C D' K-map for Y K-map for Z 2/19/2019 CSE 370 – Winter 2002 – Comb. Logic building blocks - 3

PALs and PLAs: design example (cont’d) Code converter: programmed PLA minimized functions: W = A + B D + B C X = B C' Y = B + C Z = A'B'C'D + B C D + A D' + B' C D' A B C D W X Y Z A BD BC BC' B C A'B'C'D BCD AD' BCD' not a particularly good candidate for PAL/PLA implementation since no terms are shared among outputs But see ROM’s later on however, much more compact and regular implementation when compared with discrete AND and OR gates 2/19/2019 CSE 370 – Winter 2002 – Comb. Logic building blocks - 4

PALs and PLAs: design example (cont’d) A B C D Code converter: programmed PAL A BD BC BC' B C A'B'C'D BCD AD' B'CD' W X Y Z 4 product terms per each OR gate 2/19/2019 CSE 370 – Winter 2002 – Comb. Logic building blocks - 5

PALs and PLAs: design example (cont’d) Code converter: NAND gate implementation loss or regularity, harder to understand harder to make changes A A B C B W D D B C B D C Z A \D B X \B C C \D Y B 2/19/2019 CSE 370 – Winter 2002 – Comb. Logic building blocks - 6

PALs and PLAs: another design example EQ NE LT GT A'B'C'D' A'BC'D ABCD AB'CD' AC' A'C B'D BD' A'B'D B'CD ABC BC'D' A B C D Magnitude 2-bit (AB ? CD) comparator 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 D A B C 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 0 D A B C K-map for EQ K-map for NE 0 0 0 0 1 0 0 0 1 1 0 1 1 1 0 0 D A B C 0 1 1 1 0 0 1 1 0 0 0 0 0 0 1 0 D A B C K-map for LT K-map for GT 2/19/2019 CSE 370 – Winter 2002 – Comb. Logic building blocks - 7

Read-only memories (ROM) Two dimensional array of 1s and 0s entry (row) is called a "word" width of row = word-size index is called an "address" address is input selected word is output word lines (only one is active – decoder is just right for this) 1 1 1 1 n 2 -1 i word[i] = 0011 word[j] = 1010 decoder j internal organization 0 n-1 Address bit lines (normally pulled to 1 through resistor – selectively connected to 0 by word line controlled switches) 2/19/2019 CSE 370 – Winter 2002 – Comb. Logic building blocks - 8

ROMs and combinational logic Combinational logic implementation (two-level canonical form) using a ROM F0 = A' B' C + A B' C' + A B' C F1 = A' B' C + A' B C' + A B C F2 = A' B' C' + A' B' C + A B' C' F3 = A' B C + A B' C' + A B C' truth table A B C F0 F1 F2 F3 0 0 0 0 0 1 0 0 0 1 1 1 1 0 0 1 0 0 1 0 0 0 1 1 0 0 0 1 1 0 0 1 0 1 1 1 0 1 1 0 0 0 1 1 0 0 0 0 1 1 1 1 0 1 0 0 block diagram ROM 8 words x 4 bits/word address outputs A B C F0 F1 F2 F3 2/19/2019 CSE 370 – Winter 2002 – Comb. Logic building blocks - 9

ROM structure Similar to a PLA structure but with a fully decoded AND array completely flexible OR array (unlike PAL) n address lines • • • inputs decoder • • • outputs memory array (2n words by m bits) m data lines 2n word lines 2/19/2019 CSE 370 – Winter 2002 – Comb. Logic building blocks - 10

CSE 370 – Winter 2002 – Comb. Logic building blocks - 11 ROM vs. PLA ROM approach advantageous when design time is short (no need to minimize output functions) most input combinations are needed (e.g., code converters) little sharing of product terms among output functions ROM problems size doubles for each additional input can't exploit don't cares PLA approach advantageous when design tools are available for multi-output minimization there are relatively few unique minterm combinations many minterms are shared among the output functions PAL problems constrained fan-ins on OR plane 2/19/2019 CSE 370 – Winter 2002 – Comb. Logic building blocks - 11

Regular logic structures for two-level logic ROM – full AND plane, general OR plane cheap (high-volume component) can implement any function of n inputs medium speed PAL – programmable AND plane, fixed OR plane intermediate cost can implement functions limited by number of terms high speed (only one programmable plane that is much smaller than ROM's decoder) PLA – programmable AND and OR planes most expensive (most complex in design, need more sophisticated tools) can implement any function up to a product term limit slow (two programmable planes) 2/19/2019 CSE 370 – Winter 2002 – Comb. Logic building blocks - 12

Regular logic structures for multi-level logic Difficult to devise a regular structure for arbitrary connections between a large set of different types of gates efficiency/speed concerns for such a structure in 467 you'll learn about field programmable gate arrays (FPGAs) that are just such programmable multi-level structures programmable multiplexers for wiring lookup tables for logic functions (programming fills in the table) multi-purpose cells (utilization is the big issue) Use multiple levels of PALs/PLAs/ROMs output intermediate result make it an input to be used in further logic 2/19/2019 CSE 370 – Winter 2002 – Comb. Logic building blocks - 13

Combinational logic implementation summary Multi-level logic conversion to NAND-NAND and NOR-NOR networks transition from simple gates to more complex gate building blocks reduced gate count, fan-ins, potentially faster more levels, harder to design Time response in combinational networks gate delays and timing waveforms hazards/glitches (what they are and why they happen) Regular logic multiplexers/decoders ROMs PLAs/PALs advantages/disadvantages of each 2/19/2019 CSE 370 – Winter 2002 – Comb. Logic building blocks - 14