Beruflich Dokumente
Kultur Dokumente
CHAPTER 3 -iii:
Combinational Logic Design –
Multiplexers/Demultiplexers
(Sections 3.7)
Overview
n Multiplexers (MUXs
(MUXs))
n Functionality
n Circuit implementation with MUXs
n Demultiplexers
Multiplexer
n “Selects
Selects”” binary information from one of
many input lines and directs it to a single
output line.
n Also known as the “selector
selector”” circuit,
n Selection is controlled by a particular set of
inputs lines whose # depends on the # of the
data input lines.
n For a 2 n-to
to--1 multiplexer, there are 2n data
input lines and n selection lines whose bit
combination determines which input is
selected.
MUX
Enable
2n Data Data
Inputs Output
Input
Select
Sel(3)
S1
Sel(2)
S0 Sel(1)
Sel(0)
Mutually Exclusive
(Only one O/P asserted
at any time
4 to 1 MUX
DataFlow
D3:D0
Dout
4
Control
4
2-4
Decoder
Sel(3:0)
2
S1:S0
Multiplexer (cont.)
Example
•F(X,Y,Z) = X’Y’Z + X’YZ’ + XYZ’ + XYZ = Sm(1,2,6,7)
•There are n=3 inputs, thus we need a 22-toto--1 MUX
•The first n-
n-1 (=2) inputs serve as the selection lines
Another Example
n Consider F(A,B,C) = ∑ m(1,3,5,6). We can
implement this function using a 4-4-to
to--1
MUX as follows.
n The index is ABC. Apply A and B to the
S1 and S 0 selection inputs of the MUX
(A is most sig, S 1 is most sig.)
n Enumerate function in a truth table.
C
C
F
C
C’
5-May-09 Chapter 3 -iii: Combinational Logic Design (3.7) 15
Or Simply….
C 11
C 10
F
C 01
C 00
A B
A larger Example
x1
z = x 1+ x 1’x0 z = 0x + 1x’ = x’ z = x 1x 0 + 0x 0’ = x 1x 0
= x 1x 0’ + x 1x 0 + x 1’x0 = x 1 + x 0
5-May-09 Chapter 3 -iii: Combinational Logic Design (3.7) 18
Demultiplexers (DMUX)
n Performs the inverse of a multiplexing
operation:
n Receives data from a single line
n
n Transmit it to one of the 2 possible output
lines
n Selection of a specific output is controlled
by the n select lines
n Demultiplexers are basically decoders! For
example, a 2-
2 -to
to--4 DMUX is a 2-
2-to
to--4
decoder with enable input.