Multiplexers: Multiplexers Do That Job
Multiplexers: Multiplexers Do That Job
MorrisaMano, Using
“Digital Circuits and Logic Design”, PHI 4-to-1 multiplexers to build a 16-to-1
Using 2-to-1 multiplexers to build 4-to-1
Publication, Stephen Brown, Zvonko Vranesic, “Fundamentals
multiplexer
multiplexer of Digital logic with Verilog Design”
Synthesis of Logic Functions Using
Multiplexers
• Multiplexers can also be used to synthesize logic functions.
• The truth table defines the function (XOR operation), f = w1 ⊕ w2.
• Circuit shows XOR using 4 to 1 Mux
w2 ⊕ w3
Decoders
• Consider the truth table:
• It has two inputs, w1 and w0, and four outputs, y0,
y1, y2 and y3
• only one of the outputs is asserted at a time.
• Setting the inputs w1w0 to 00, 01, 10, or 11
causes the output y0, y1, y2, or y3 to be set to A 2-to-4 decoder.
1, respectively.
• This type of circuit is called a binary
decoder.
• Also called one-hot encoding
• Means exactly one of the bits is set to 1 at a time.
I (Data In)
• From the truth table it is seen that the desired circuit is defined by the
equations,
• Find W = A + BC + BD
• Find X = BC’D’+B’C+B’D
• Find Y = CD + C’D’
• Find Z = D’
Y = CD + C'D'
CD C CD C
AB 00 01 11 10 AB 00 01 11 10
00 1 1 00 1 1
Z = D'
01 1 1 01 1 1
B B
11 X X X X 11 X X X X
A A
10 1 X X 10 1 X X
Y D Z D