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.

Slides:



Advertisements
Similar presentations
Digital Design: Combinational Logic Blocks
Advertisements

Documentation Standards
CS370 – Spring 2003 Programmable Logic Devices PALs/PLAs.
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.
Combinational Logic Circuits Is the logic circuit where the output always depends on the inputs irrespective of the previous state with out the feed back.
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.
Multiplexers, Decoders, and Programmable Logic Devices
Design of Two-Level Multiple-Output Networks
Combinational Logic Building Blocks
ECE 301 – Digital Electronics Multiplexers and Demultiplexers (Lecture #12)
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.
Chapter2 Digital Components Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2009.
Decoders and Multiplexers Prof. Sin-Min Lee Department of Computer Science San Jose State University.
Outline Decoder Encoder Mux. Decoder Accepts a value and decodes it Output corresponds to value of n inputs Consists of: Inputs (n) Outputs (2 n, numbered.
Computer Organization CDA 3103 Dr. Hassan Foroosh Dept. of Computer Science UCF © Copyright Hassan Foroosh 2002.
Combinational Logic Design
Combinational and Sequential Logic Circuits.
Chapter 4. combinational logic technologies
Unit 9 Multiplexers, Decoders, and Programmable Logic Devices Ku-Yaw Chang Assistant Professor, Department of Computer Science.
CS2100 Computer Organisation MSI Components (AY2015/6 Semester 1)
WEEK #9 FUNCTIONS OF COMBINATIONAL LOGIC (DECODERS & MUX EXPANSION)
ENG241 Digital Design Week #4 Combinational Logic Design.
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.
1 Lecture 9 Demultiplexers Programmable Logic Devices  Programmable logic array (PLA)  Programmable array logic (PAL)
Combinational Design, Part 3: Functional Blocks
4-1 Introduction Chapter # 4: Programmable and Steering Logic.
Kuliah Rangkaian Digital Kuliah 6: Blok Pembangun Logika Kombinasional Teknik Komputer Universitas Gunadarma.
Chapter
Morgan Kaufmann Publishers
1 Building Larger Circuits Today: Combinational Building BlocksFirst Hour: Combinational Building Blocks –Section 4.1 of Katz’s Textbook –In-class Activity.
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"
Multiplexers. Outline  Larger Multiplexers  Standard MSI Multiplexer  Implementing Functions with Multiplexers  Implementing Functions with Smaller.
Contemporary Logic Design Prog. & Steering Logic © R.H. Katz Transparency No. 8-1 Chapter # 4: Programmable and Steering Logic Section 4.2.
Computer Architecture From Microprocessors To Supercomputers
Chapter # 4: Programmable Logic
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.
DIGITAL LOGIC DESIGN & COMPUTER ARCHTECTURE
CSE 370 Spring 2006 Introduction to Digital Design Lecture 10: Multiplexers and Demultiplexers Last Lecture Multilevel Logic Hazards Today Multiplexers.
CSI-2111 Structure of Computers Ipage Combinational Circuits  Objectives : To recognize the principal types of combinational circuits  Adders.
Digital Logic Design Basics Combinational Circuits Sequential Circuits Pu-Jen Cheng Adapted from the slides prepared by S. Dandamudi for the book, Fundamentals.
MSI Combinational logic circuits
Digital Design Module 2 Multiplexer and Demultiplexer
1 CSE370, Lecture 8 Lecture 8 u Logistics n Midterm 1 week from today in class. Closed book/closed notes n Sample midterm linked in on calendar n Review.
Chapter4: Combinational Logic Part 4 Originally By Reham S. Al-Majed Imam Muhammad Bin Saud University.
CSCE 211: Digital Logic Design Chin-Tser Huang University of South Carolina.
Multiplexer.
Binary Parallel Adders
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.
UNIT 9 MULTIPLEXERS, DECODERS, AND PROGRAMMABLE LOGIC DEVICES
MSI Circuits.
Combinational Circuits: MSI Components
Gunjeet kaur Dronacharya Group of Institutions. Demultiplexers.
1 CSE370, Lecture 7 Lecture 9 u Logistics n HW3 posted, due on Friday n Lab3 this week u Last lecture n Verilog u Last last lecture n K-maps examples n.
Chapter # 4: Programmable Logic
Lecture 9 Logistics Last lecture Today HW3 due Wednesday
Dr. Clincy Professor of CS
CSCE 211: Digital Logic Design
CSCE 211: Digital Logic Design
Lecture 8 Logistics Last lecture Last last lecture Today
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
Overview Last lecture Timing; Hazards/glitches
Digital System Design Combinational Logic
Presentation transcript:

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 --- material up to this lecture u Last lecture n Don’t cares n POS minimization with K-map n K-maps design examples u Today n "Switching-network" logic blocks (multiplexers/demultiplexers)

2 CSE370, Lecture 10 Switching-network logic blocks u Multiplexer (MUX) n Routes one of many inputs to a single output n Also called a selector u Demultiplexer (DEMUX) n Routes a single input to one of many outputs n Also called a decoder multiplexerdemultiplexer control We construct these devices from: logic gates networks of tran- sistor switches

3 CSE370, Lecture 10 The “WHY” slide u Multiplexers/Demultiplexers n If you had the ability to select which input to operate, the same part of a circuit can be used multiple times. So if you have a lot of inputs and all of them are supposed to go through same complex logic functions, you can save a lot of space on your circuit board by using a multiplexer. n Then you will also need a demultiplexer to decode the output coming out in serial into separate output ports.

4 CSE370, Lecture 10 “WHY”: Sharing complex logic functions u Share an adder: Select inputs; route sum multiple inputs multiple output destinations MUX A B Sum A0A1A0A1 SsSs SbSb B0B1B0B1 MUX DEMUX Z 0 Z 1 single adder SaSa

5 CSE370, Lecture 10 Multiplexers u Basic concept n 2 n data inputs; n control inputs ("selects"); 1 output n Connects one of 2 n inputs to the output n “Selects” decide which input connects to output n Two alternative truth-tables: Functional and Logical Example: A 2:1 Mux Z = SIn 1 + S'In o Functional truth table SZ 0In 0 1In 1 In 1 In 0 SZ Logical truth table I0I0 S I1I1 Z

6 CSE370, Lecture 10 Multiplexers (con't) u 2:1 mux:Z = S'In 0 + SIn 1 u 4:1 mux:Z = S 0 'S 1 'In 0 + S 0 'S 1 In 1 + S 0 S 1 'In 2 + S 0 S 1 In 3 u 8:1 mux:Z = S 0 'S 1 'S 2 'In 0 + S 0 'S 1 S 2 In I0I1I2I3I4I5I6I7I0I1I2I3I4I5I6I7 S 0 S 1 S 2 8:1 mux Z I0I1I2I3I0I1I2I3 S 0 S 1 4:1 mux Z I0I1I0I1 S0S0 2:1 mux Z

7 CSE370, Lecture 10 Logic-gate implementation of multiplexers 2:1 mux4:1 mux I0I1I2I3I0I1I2I3 S 0 S 1 I0I0 S I1I1 Z Z Z

8 CSE370, Lecture 10 Cascading multiplexers u Can form large multiplexers from smaller ones n Many implementation options Z 4:1 mux S2S2 2:1 mux I4I5I6I7I4I5I6I7 S 0 S 1 4:1 mux S0S0 Z S 1 S 2 4:1 mux 2:1 mux I4I5I4I5 I2I3I2I3 I0I1I0I1 I6I7I6I7 8:1 mux I0I1I2I3I0I1I2I3

9 CSE370, Lecture 10 Multiplexers as general-purpose logic u A 2 n :1 mux can implement any function of n variables n A lookup table n A 2 n – 1 :1 mux also can implement any function of n variables u Example: F(A,B,C) = m0 + m2 + m6 + m7 = A'B'C' + A'BC' + ABC' + ABC = A'B'(C') + A'B(C') + AB(0) + AB(1) ABCF ABCF C' C' 0 1 S1S0 F :1 MUX C' C' S2 8:1 MUX S1S0 F A B C A B

10 CSE370, Lecture 10 Multiplexers as general-purpose logic u Implementing a 2 n-1 :1 mux as a function of n variables n (n-1) mux control variables S 0 – S n–1 n One data variable S n n Four possible values for each data input: 0, 1, S n, S n ' n Example: F(A,B,C,D) implemented using an 8:1 mux Choose A,B,C as control variables Choose D as a data variable D 0 1 D' D D' D' A 8:1 MUX B C F D AB CD A C B S2 S1 S0

11 CSE370, Lecture 10 Demultiplexers (DEMUX) u Basic concept n Single data input; n control inputs (“selects”); 2 n outputs n Single input connects to one of 2 n outputs n “Selects” decide which output is connected to the input n When used as a decoder, 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

12 CSE370, Lecture 10 Logic-gate implementation of demultiplexers 1:2 demux Out 0 G S Out 1 2:4 demux

13 CSE370, Lecture 10 Demultiplexers as general-purpose logic u A n:2 n demux can implement any function of n variables n DEMUX as logic building block n Use variables as select inputs n Tie enable input to logic 1 n 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

14 CSE370, Lecture 10 Demultiplexers as general-purpose logic Example 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

15 CSE370, Lecture 10 Cascading demultiplexers u 5:32 demux 0 A'B'C'D'E' S2 3:8 Demux S1S0 AB S1 2:4 Demux S0 F E CD ABCDE S2S1S A'BC'DE' S2S1S0 E CD 0 AB'C'D'E' AB'CDE S2S1S0 3:8 Demux 3:8 Demux 3:8 Demux

16 CSE370, Lecture 10 inputs outputs product terms AND array OR array Programmable logic (PLAs & PALs ) u Concept: Large array of uncommitted AND/OR gates n Actually NAND/NOR gates n You program the array by making or breaking connections íProgrammable block for sum-of-products logic

17 CSE370, Lecture 10 All two-level logic functions are available u You "program" the wire connections A 3-input, 5-term, 4-function PLA