Multiplex
Multiplex
MULTIPLEXER 9/18/2014 2
BLOCK DIAGRAM OF MULTIPLEXER :
MULTIPLEXER 9/18/2014 3
Types:
MULTIPLEXER 9/18/2014 4
2-TO-1 (1 SELECT LINES) MULTIPLEXER
S OUTPUT Y
0 D0
1 D1
MULTIPLEXER 9/18/2014 5
The logical level applied to the S input determines which AND gate is
enabled, so that its data input passes through the OR gate to the output.
The output, Y=D0S’+D1S
When
S=0,AND gate 1 is enabled and AND gate 2 is disabled. So, Y=DO
S=1,AND gate 1 is disabled and AND gate 2 is enabled . So, Y=D1
MULTIPLEXER 9/18/2014 6
4-to-1 (2 select lines) Multiplexer
4:1 MUX has 4 inputs(D0, D1, D2, D3) & 2 select lines(S0, S1)
D1
Y
D2 0 1 D1
D3
1 0 D2
S1 S0 1 1 D3
MULTIPLEXER 9/18/2014 7
The logical level applied to the S input determines which AND
gate is enabled, so that its data input passes through the OR
gate to the output.
The output, Y=S1’S0’D0+S1’S0D1+S1SO’D2+S1S0D3
MULTIPLEXER 9/18/2014 8
8-TO-1 (3 SELECT LINES) MULTIPLEXER
8:1 MUX has 8 inputs(D0, D1, D2, D3, D4, D5, D6, D7) & 3
select lines(S0,S1, S2,)
BLOCK DIAGRAM TRUTH TABLE
S2 S1 S0 Y
0 0 0 D0
0 0 1 D1
0 1 0 D2
0 1 1 D3
1 0 0 D4
1 0 1 D5
1 1 0 D6
MULTIPLEXER 1 1 1
9/18/2014 D7 9
The logical level applied to the S input determines which AND
gate is enabled, so that its data input passes through the OR
gate to the output.
MULTIPLEXER 9/18/2014 10
Uses of Multiplexers
MULTIPLEXER 9/18/2014 11
APPLICATION OF MULTIPLEXER:
Multiple Sources Selector Single Destination
MP3 Player
Docking Station
D0
Laptop
D1
MUX
Sound Card Y
D2
D3
one Output: Y
such that Y may be equal to one of the inputs, depending upon the
control inputs.
MULTIPLEXER 9/18/2014 13
Implementing Digital Functions:
by using a Multiplexer:
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)
MULTIPLEXER 9/18/2014 14
Implementing Digital Functions:
by using a Multiplexer: continue……
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’
MULTIPLEXER 9/18/2014 15
Implementing Digital Functions:
by using a Multiplexer: continue……
MULTIPLEXER 9/18/2014 16
Implementing Digital Functions:
by using a Multiplexer: continue……
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
I 1 = y = I3
MULTIPLEXER 9/18/2014 17
Implementing Digital Functions:
by using a Multiplexer: continue……
MULTIPLEXER 9/18/2014 18