Shankar Balachandran* Associate Professor, CSE Department Indian Institute of Technology Madras
*Currently a Visiting Professor at IIT Bombay
Digital Circuits and Systems
Spring 2015 Week 3 Module 14
Multiplexers
Digital Circuits and Systems Multiplexers Shankar Balachandran* - - PowerPoint PPT Presentation
Spring 2015 Week 3 Module 14 Digital Circuits and Systems Multiplexers Shankar Balachandran* Associate Professor, CSE Department Indian Institute of Technology Madras *Currently a Visiting Professor at IIT Bombay Multiplexers
Shankar Balachandran* Associate Professor, CSE Department Indian Institute of Technology Madras
*Currently a Visiting Professor at IIT Bombay
Multiplexers
Multiplexers 2
Multiplexing means transmitting a large number of information
A digital multiplexer (MUX) selects binary information from one
Data selector (2n:1 MUX). Inputs: 2n data inputs, n select lines. Output: 1 data output line.
1
1 Out
s1 s0 (control)
Out
Multiplexers 3
(a) Graphical symbol f s w0 w1
1
(b) Truth table 1 f s w0 w1 f s w0 w1 (c) Sum-of-products circuit
Multiplexers 4
A 2n:1 MUX needs 2n, (n+1)-input AND gates for selection and a
AND/OR logic structure
Multiplexers 5
En
Connect all the input lines of the multiplexer together (to make enable) and remove the OR gate to give you a decoder
Multiplexers 6
2:1 MUX 4:1 MUX General expression for 2n : 1 MUX
n
Multiplexers 7
w w
1 1
w
2
w
3 1
f
1
s
1
s
Multiplexers 8
x
1 1
x
2 1
s y
1
y
2
x
1
x
2
y
1
y
2
s
Multiplexers 9
MUXes are sometimes called hardware look-up tables. To implement an n-variable function using a 2n:1 MUX
Use a 2n:1 MUX, connect n input variables to the n select lines
Wire MUX input Di to 1 if function includes minterm mi. All other
Example: Implement the function
Multiplexers 10
Advantages:
Easier to design combinational circuits. Easier to debug circuits designed using multiplexers.
Disadvantages:
Multiplexers can become very large for a large number of inputs.
Good for small circuits. Normally, any function with more than 4 variable is
Use tree of small MUXes or using a variable as MUX data input or
Multiplexers 11
A larger MUX can be implemented using a tree of smaller
Example: Implement the function using
Multiplexers 12