CSE221- Logic Design, Spring 2003

Slides:



Advertisements
Similar presentations
1 The 2-to-4 decoder is a block which decodes the 2-bit binary inputs and produces four output All but one outputs are zero One output corresponding to.
Advertisements

Decoders/DeMUXs CS370 – Spring Decoder: single data input, n control inputs, 2 outputs control inputs (called select S) represent Binary index of.
1 Tutorial: ITI1100 Dewan Tanvir Ahmed SITE, UofO.
Computer Arithmetic, Multiplexers Prof. Sin-Min Lee Department of Computer Science.
Section 10.3 Logic Gates.
Cache Memory Midterm 2 Revision 2 Prof. Sin-Min Lee Department of Computer Science.
Combinational Logic1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
EE2174: Digital Logic and Lab
ECE 331 – Digital System Design
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.
 Combinational circuit that selects binary information from one of many input lines and directs information to a single output line.
Part 2: DESIGN CIRCUIT. LOGIC CIRCUIT DESIGN x y z F F = x + y’z x y z F Truth Table Boolean Function.
ETE Digital Electronics Multiplexers, Decoders and Encoders [Lecture:10] Instructor: Sajib Roy Lecturer, ETE, ULAB.
Combinational Circuits
Combinational Logic Chapter 4.
9/15/09 - L15 Decoders, Multiplexers Copyright Joanne DeGroat, ECE, OSU1 Decoders and Multiplexers.
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.
Combinational Logic Design
Sahar Mosleh PageCalifornia State University San Marcos 1 Multiplexer, Decoder and Circuit Designing.
Dr. Ahmed El-Bialy, Dr. Sahar Fawzy Combinational Circuits Dr. Ahmed El-Bialy Dr. Sahar Fawzy.
Combinational Circuit – Arithmetic Circuit
Chapter 10 (Part 2): Boolean Algebra  Logic Gates (10.3) (cont.)  Minimization of Circuits (10.4)
WEEK #9 FUNCTIONS OF COMBINATIONAL LOGIC (DECODERS & MUX EXPANSION)
ENG241 Digital Design Week #4 Combinational Logic Design.
Digital Logic Problems (II) Prof. Sin-Min Lee Department of Mathematics and Computer Science.
Combinational Design, Part 3: Functional Blocks
Multiplexers and Demultiplexers, and Encoders and Decoders
Digital Logic Structures: Chapter 3 COMP 2610 Dr. James Money COMP
T,JK-flip-flop, Midterm 1 Revision Decoders and Multiplexers Prof. Sin-Min Lee Department of Computer Science San Jose State University.
CSE 140 Lecture 12 Combinational Standard Modules CK Cheng CSE Dept. UC San Diego 1.
CS 105 DIGITAL LOGIC DESIGN Chapter 4 Combinational Logic 1.
Chap 2. Combinational Logic Circuits
EE207: Digital Systems I, Semester I 2003/2004
Chapter Four Combinational Logic 1. Discrete quantities of information are represented in digital systems by binary codes. A binary code of n bits is.
Combinational Logic Design – Design Procedure, Encoders/Decoders
Logic Gates M. AL-Towaileb1. Introduction Boolean algebra is used to model the circuitry of electronic devices. Each input and each output of such a device.
1 CS 151: Digital Design Chapter 3: Combinational Logic Design 3-1Design Procedure CS 151: Digital Design.
ECE 320 Homework #4 1. Using 8 data input selector logic (MUX), implement the following two functions: a) F(A,B,C)=S 0 S 2 S 3 S 5 b) F(A,B,C,D)=P 0 +P.
Mid3 Revision 3 Prof. Sin-Min Lee Department of Computer Science.
Digital System Design Multiplexers and Demultiplexers, and Encoders and Decoders.
CS151 Introduction to Digital Design Chapter 3: Combinational Logic Design 3-5 Combinational Functional Blocks 3-6 Rudimentary Logic Functions 3-7 Decoding.
ECE/CS 352 Digital System Fundamentals© T. Kaminski & C. Kime 1 ECE/CS 352 Digital Systems Fundamentals Spring 2001 Chapter 3 -Part 2 Tom Kaminski & Charles.
SYEN 3330 Digital SystemsJung H. Kim Chapter SYEN 3330 Digital Systems Chapter 4 -Part 1.
Chapter 3 Digital Logic Structures
MSI Combinational logic circuits
Computer Organization CSC 405 Decoders and Multiplexers.
Multiplexers & Decoders By: Jason Pitts CS 147 Spring 2010.
Chapter4: Combinational Logic Part 4 Originally By Reham S. Al-Majed Imam Muhammad Bin Saud University.
CSE 140 Lecture 12 Combinational Standard Modules CK Cheng CSE Dept. UC San Diego 1.
Multiplexer.
Gunjeet kaur Dronacharya Group of Institutions. Demultiplexers.
Prof. Sin-Min Lee Department of Computer Science
Multiplexers (Data Selectors)
Reference: Chapter 3 Moris Mano 4th Edition
CS221: Digital Logic Design Combinational Circuits 3
Reference: Chapter 3 Moris Mano 4th Edition
Multiplexers and Demultiplexers,
Combinational Functions and Circuits
Lecture 4: Combinational Functions and Circuits
Computer Architecture CST 250
Reference: Chapter 3 Moris Mano 4th Edition
How Boolean logic is implemented
Programmable Logic Devices (PLDs)
COE 202: Digital Logic Design Combinational Circuits Part 3
13 Digital Logic Circuits.
Chapter-4 Combinational Logic
Digital System Design Combinational Logic
Presentation transcript:

CSE221- Logic Design, Spring 2003 2017/4/25 CHAPTER 4 Combinational Logic Design – Multiplexers (Sections 4.5) Chapter 3-iii: Combinational Logic Design (Section 3.7)

Multiplexer “Selects” binary information from one of many input lines and directs it to a single output line. Also know as the “selector” circuit, Selection is controlled by a particular set of inputs lines whose output depends on the combination of the data input lines. For a 2n-to-1 multiplexer, there are 2n data input lines and n selection lines whose bit combination determines which input is selected.

Multiplexer (cont.)

4-to-1 MUX Y=A’B’D0+A’BD1+AB’D2+ABD3 =∑miDi A B Y D0 1 D1 D2 D3 2n-1 D0 1 D1 D2 D3 Y=A’B’D0+A’BD1+AB’D2+ABD3 =∑miDi 2n-1 i=0

8-to-1 MUX 74LS155 Y w

8-to-1 MUX Y= C’B’A’D0+ C’B’AD1+ C’BA’D2+C’BAD3+ CB’A’D4+ CB’AD5+ CBA’D6+ CBAD7 =∑miDi i=2n-1 i=0

Multiplexer Expansions Until now, we have examined single-bit data selected by a MUX. What if we want to select m-bit data/words?  Combine MUX blocks in parallel with common select and enable signals Example: Construct a logic circuit that selects between 2 sets of 4-bit inputs (see next slide for solution).

Example: Quad 2-to-1 MUX Uses four 2-to-1 MUXs with common select (S) and enable (E). Select line chooses between Ai’s and Bi’s. The selected four-wire digital signal is sent to the Yi’s Enable line turns MUX on and off (E=1 is on).

Example: Quad 4-to-1 MUX 74LS153(P43)

Multiplexer Expansions A32-to-1multiplexer using two 74xx150ICs(P144)

Multiplexer Expansions A 32-to-1 multiplexer using four 8-to-1 multiplexers and a 2-to-4 decoder(P145)

Implementing Boolean functions with Multiplexers E.g. Using an 8-to-1 multiplexer to realize the Boolean function F=f(x,y,z)=∑(1,2,4,5,7) Y= C’B’A’D0+ C’B’AD1+ C’BA’D2+C’BAD3+ CB’A’D4+ CB’AD5+ CBA’D6+ CBAD7 =∑miDi i=2n-1 i=0 F=f(x,y,z)=∑(1,2,4,5,7) =x’y’z+x’yz’+xy’z’+xy’z+xyz C=x,B=y,A=z D0=D3=D6=0 D1= D2= D4= D5= D7=1

Implementing Boolean functions with Multiplexers C=x,B=y,A=z D0=D3=D6=0 D1= D2= D4= D5= D7=1

F=X’Y’D0+X’YD1+XY’D2+XYD3 Using an 4-to-1 multiplexer to realize the Boolean function F=f(x,y,z)=∑(1,2,4,5,7) F=f(x,y,z)=∑(1,2,4,5,7)=x’y’z+x’yz’+xy’z’+xy’z+xyz Z Z’ 1 XY Z 00 01 11 10 Y Y’ 1 X X’ 1 D3 D2 D1 D0 4-1 MUX A B F 1 1 1 1 1 1 D0=Z D1=Z’ D2=1 D3=Z D0=X D1=X’ D2=1 D3=X D0=Y D1=Y’ D2=Y’ D3=1 X Z X Z Y Y F=X’Y’D0+X’YD1+XY’D2+XYD3

Implementing Boolean functions with Multiplexers Exe. implement function using a 4-to-1 MUX F(X,Y,Z) = Σm(1,2,6,7) F(A,B,C) = m(1,3,5,6).

Implementing Boolean functions with Multiplexers F(X,Y,Z) = X’Y’Z + X’YZ’ + XYZ’ + XYZ = Σm(1,2,6,7) There are n=3 inputs, thus we need a 22-to-1 MUX The first n-1 (=2) inputs serve as the selection lines

Implementing Boolean functions with Multiplexers F(A,B,C) = m(1,3,5,6). AB D3 D2 D1 D0 4-1 MUX A B F C 00 01 11 10 1 1 1 1 1 When A=B=0, F=D0=C When A=0, B=1, F=D1=C When A=1, B=0, F=D2=C When A=B=1, F=D3=C’

Implementing Boolean functions with Multiplexers When A=B=0, F=C 1 1 1 When A=0, B=1, F=C 1 1 1 1 When A=1, B=0, F=C 1 1 1 1 1 1 When A=B=1, F=C’ 1 1 1

MUX implementation of F(A,B,C) = m(1,3,5,6)

Implementing Boolean functions with Multiplexers E.g. Consider the following Boolean expression given in sum-of-product form: F(x1,x2,x3)=x1’x2’+x1x2’+x1x3 Derive a circuit for using only 2-to-1 multiplexers.

Implementing Boolean functions with Multiplexers F(x1,x2,x3)=x1’x2’+x1x2’+x1x3 = x1’x2’ x3 ’ + x1’x2’ x3 + x1x2’ x3 ’ + x1x2’ x3 + x1x2x3 =∑(0,1,4,5,7) X1X2 X3 00 01 11 10 1 D0=X2’ D1=X2’+X3 How to derive it only from function?

Implementing Boolean functions with Multiplexers D1 D0 2-1 MUX A X1 F X2’ ≥1 X3 D0=X2’ D1=X2’+X3

Implementing Boolean functions with Multiplexers Exe. F(A,B,C,D)=∑m(1,2,4,9,10,11,12,14,15) Derive a circuit for using 4-to-1 multiplexers.

MUX as a Universal Gate We can construct OR, AND, and NOT gates using 2-to-1 MUXs. Thus, 2-to-1 MUX is a universal gate. NOT AND OR 1 x1 z = x1+ x1’x0 = x1x0’ + x1x0 + x1’x0 = x1 + x0 z = 0x + 1x’ = x’ z = x1x0 + 0x0’ = x1x0

CSE221- Logic Design, Spring 2003 2017/4/25 Homework P179: 25.(1), 26.(2) Chapter 3-iii: Combinational Logic Design (Section 3.7)

TO BE CONTINUED