Example of a Combinatorial Circuit: A Multiplexer (MUX)

Slides:



Advertisements
Similar presentations
More on Decoders and Muxes
Advertisements

Digital Logic Design Week 7 Encoders, Decoders, Multiplexers, Demuxes.
Documentation Standards
Functions and Functional Blocks
Multiplexer as a Universal Function Generator Lecture L6.7 Section 6.2.
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.
DIGITAL SYSTEMS TCE OTHER COMBINATIONAL LOGIC CIRCUITS WEEK 7 AND WEEK 8 (LECTURE 3 OF 3) MULTIPLEXERS DEMULTIPLEXERS.
EECC341 - Shaaban #1 Lec # 10 Winter Implementing n-variable Functions Using 2 n -to-1 Multiplexers Any n-variable logic function, in canonical.
1 Designing with MSI Documentation Standards  Block diagrams first step in hierarchical design  Schematic diagrams  Timing diagrams  Circuit descriptions.
Multiplexer as a Universal Function Generator
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.
Combinational Circuits
Combinational Circuits
Combinational Logic Chapter 4.
Some Useful Circuits Lecture for CPSC 5155 Edward Bosworth, Ph.D. Computer Science Department Columbus State University.
Sahar Mosleh PageCalifornia State University San Marcos 1 Multiplexer, Decoder and Circuit Designing.
CS2100 Computer Organisation MSI Components (AY2015/6 Semester 1)
WEEK #9 FUNCTIONS OF COMBINATIONAL LOGIC (DECODERS & MUX EXPANSION)
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.
Digital Logic Problems (II) Prof. Sin-Min Lee Department of Mathematics and Computer Science.
Combinational Design, Part 3: Functional Blocks
Mux 2.1 Multiplexers and De-Multiplexers 2: ©Paul Godin Updated November 2007.
Logical Circuit Design Week 6,7: Logic Design of Combinational Circuits Mentor Hamiti, MSc Office ,
Multiplexers and Demultiplexers, and Encoders and Decoders
Morgan Kaufmann Publishers
Logic Gates. Outline  Logic Gates  The Inverter  The AND Gate  The OR Gate  The NAND Gate  The NOR Gate  The XOR Gate  The XNOR Gate  Drawing.
Exclusive OR Gate. Logically, the exclusive OR (XOR) operation can be seen as either of the following operations:exclusive OR (XOR) 1. A AND NOT B OR.
Multiplexers. Outline  Larger Multiplexers  Standard MSI Multiplexer  Implementing Functions with Multiplexers  Implementing Functions with Smaller.
ECE 331 – Digital System Design Multiplexers and Demultiplexers (Lecture #13)
Chap 2. Combinational Logic Circuits
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
Digital System Design Multiplexers and Demultiplexers, and Encoders and Decoders.
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Multiplexers.
Chapter 3 Digital Logic Structures
MSI Combinational logic circuits
Digital Design Module 2 Decoder Amit Kumar AP SCSE, GU Greater Noida.
1 DLD Lecture 16 More Multiplexers, Encoders and Decoders.
Chapter4: Combinational Logic Part 4 Originally By Reham S. Al-Majed Imam Muhammad Bin Saud University.
MSI Circuits.
Combinational Circuits: MSI Components
Gunjeet kaur Dronacharya Group of Institutions. Demultiplexers.
Eng. Mai Z. Alyazji October, 2016
Multiplexer.
EKT 124 MUX AND DEMUX.
Reference: Chapter 3 Moris Mano 4th Edition
CS221: Digital Logic Design Combinational Circuits 3
Reference: Chapter 3 Moris Mano 4th Edition
Multiplexers and Demultiplexers,
Exclusive OR Gate.
OTHER COMBINATIONAL LOGIC CIRCUITS
Combinational Functions and Circuits
Combinational Circuit Design
Computer Architecture CST 250
KS4 Electricity – Electronic systems
KS4 Electricity – Electronic systems
COE 202: Digital Logic Design Combinational Circuits Part 3
Instructor: Alexander Stoytchev
KS4 Electricity – Electronic systems
Gates Type AND denoted by X.Y OR denoted by X + Y NOR denoted by X + Y
CSC 220: Computer Organization COMBINATIONAL CIRCUITS-2
Instructor: Alexander Stoytchev
Digital System Design Combinational Logic
ECE2030 HW-6.
Eng. Ahmed M Bader El-Din October, 2018
Example of a Combinatorial Circuit: A Multiplexer (MUX)
Presentation transcript:

Example of a Combinatorial Circuit: A Multiplexer (MUX) Consider an integer ‘m’, which is constrained by the following relation: m = 2n, where m and n are both integers. A m-to-1 Multiplexer has m Inputs: I0, I1, I2, ................ I(m-1) one Output: Y n Control inputs: S0, S1, S2, ...... S(n-1) One (or more) Enable input(s) such that Y may be equal to one of the inputs, depending upon the control inputs.

Example: A 4-to-1 Multiplexer Y 2n inputs I2 1 output I3 S0 S1 Enable (G) n control inputs

Characteristic Table of a Multiplexer If the MUX is enabled, s0 s1 0 0 Y=I0 0 1 Y=I1 1 0 Y=I2 1 1 Y=I3 Putting the above information in the form of a Boolean equation, Y =G. I0. S’1. S’0 + G. I1. S’1. S0 + G. I2. S1. S’0 + G. I3. S1. S0

Implementing Digital Functions: by using a Multiplexer: Example 1 Implementation of F(A,B,C,D)=∑ (m(1,3,5,7,8,10,12,13,14), d(4,6,15)) By using a 16-to-1 multiplexer: I0 I1 1 I2 I3 1 I4 I5 1 I6 F I7 1 I8 1 I9 I10 1 I11 I12 1 I13 1 I14 1 I15 NOTE: 4,6 and 15 MAY BE CONNECTED to either 0 or 1 S3 S2 S1 S0

Implementing Digital Functions: by using a Multiplexer: Example 2 In this example to design a 3 variable logical function, we try to use a 4-to-1 MUX rather than a 8-to-1 MUX. F(x, y, z)=∑ (m(1, 2, 4, 7)

Implementing Digital Functions: by using a Multiplexer: Example 2 ….2 In a canonic form: F = x’.y’.z+ x’.y.z’+x.y’.z’ +x.y.z …… (1) One Possible Solution: Assume that x = S1 , y = S0 . If F is to be obtained from the output of a 4-to-1 MUX, F =S’1. S’0. I0 + S’1. S0. I1 + S1. S’0. I2 + S1. S0. I3 ….(2) From (1) and (2), I0 = I3 =Z I1 = I2 =Z’

Implementing Digital Functions: by using a Multiplexer: Example 2 ….3 Z X Y

Implementing Digital Functions: by using a Multiplexer: Example 2 ….4 Another Possible Solution: Assume that z = S1 , x = S0 . If F is to be obtained from the output of a 4-to-1 MUX, F = S’0 .I0 . S1 + S’0 .I1 . S’1 + S0 .I2 . S’1 + S0 .I3 . S1 ………… (3) From (1) and (2), I0 = y’ = I2 I1 = y = I3

Implementing Digital Functions: by using a Multiplexer: Example 2 ….5

The diagram below shows the relation between a multiplexer and a Demultiplexer. S1 S0 Y out Y0 Y1 Y2 Y4 Input 4 to 1 MUX 1 to 4 DEMUX

Demultiplexer (DMUX)/ Decoder A 1-to-m DMUX, with ACTIVE HIGH Outputs, has 1 Input: I ( also called as the Enable input when the device is called a Decoder) m ACTIVE HIGH Outputs: Y0, Y1, Y2, ..................................... …………….Y(m-1) n Control inputs: S0, S1, S2, ...... S(m-1)

Characteristic table of the 1-to-4 DMUX with ACTIVE HIGH Outputs:

Characteristic Table of a 1-to-4 DMUX, with ACTIVE LOW Outputs:

A Decoder is a Demultiplexer with a change in the name of the inputs : Y0 Y1 Y2 Y4 S1 S0 ENABLE INPUT 2 to 4 Decoder When the IC is used as a Decoder, the input I is called an Enable input

DECODER: In Tables 2 and 3, when Enable is 0, i. e DECODER: In Tables 2 and 3, when Enable is 0, i.e. when the IC is Disabled, all the Outputs remain ‘unexcited’. The ‘unexcited’ state of an Output is 0 for an IC with ACTIVE HIGH Outputs. The ‘unexcited’ state of an Output is 1 for an IC with ACTIVE LOW Outputs. Enable Input: In a Decoder, the Enable Input can be ACTIVE LOW or ACTIVE HIGH.

Characteristic Table of a 2-to-4 DECODER, with ACTIVE LOW Outputs and with ACTIVE LOW Enable Input: Logic expressions for the outputs of the Decoder of Table 4: Y0 = E + S1 + S0 Y1 = E + S1+ S0‘ Y2 = E + S1‘ + S0 Y3 = E + S1‘ + S0‘

A cross-coupled set of NAND gates Characteristic table: X Y Q1 Q2 0 0 1 1 0 1 1 0 1 0 0 1 1 1 For this case, the outputs can be obtained by using the following procedure: (i) Assume a set of values for Q1 and Q2, which exist before the inputs of X = 1 and Y =1 are applied. (ii) Obtain the new set of values for Q1 and Q2 (iii) Verify whether the procedure yields valid results.

A cross-coupled set of NAND gates …2 X Y OLD Outputs NEW Outputs Q1 Q2 ----- ---- 1