Mux - Demux 2, Decoders
Mux - Demux 2, Decoders
Itis a selects
combinational ckt that
binary information
from me of
many inputs
lines and
directs itto
single outputline.
The selection
of particular inputline is controlled selection (in. Generally, there 2" inputlines
a
by a seto f are
1) Data selector
2) Many to me circuit
5) Waveform generator
FigD:Functional diagram a
aI
of
So Si Sn-1
-
n selection lines
S Y
Io O
2:1 MUX Y Io
y 5I + 51,
0 =
=>
I, I I Il
(a) Block
Diagram (b) Table
Function
If
Io ⑧
· X ⑳
· Y
&
⑧
I,
I...s
(C) Circuit
Switching (d) Logic Circuit
Fig&:2:1 Multiplexes
The 4-line to 1-Line MUX
Is 0
Si So Y
-
I, I ⑧ 0 Io
4:1 MUX Y
Iz 2 0 I I
I3 3 I O Iz
I I
I3
Si So
(a) Block
Diagram (b) function
Table
from function
table we have, y 5,500+
=
5,501, +5,50I2+S,S.Is
E
7.
8
C-
I,
⑳
·
Y
7-
12
⑧
-
Iz8
⑳
⑳
C
Sio I i
I
·
Soo ④
S2 Si S E
Y
00 0 Io
I >
8 0 I Is
1, o
X
0 1 0 12
Iz 3
8:I MUX D I I 13
Izo 7
10 8
147 -Y I4
I ⑧ I
-
150 7 I5
I I ⑧
I, 7 76
I I I 17
118 3
E A
S2, So
197 Block
Digram fig:8: 1
multiplexer
y 525,57+ 25,5,]
=
+ 525,5.Ez + 525,SoIs
Q:Dlaw
logic ckt. for 8: Mux.
Aswe known
1.
J.Ip
. D
y =
+
S, I, 2:I
87
·
MV*
y A10 A I,
+
78 ⑧
=
If 70
=
191, 0
=
then A
y= as For NOThate -
Gate
AND
AB
=
MVN
y 5.Io+ S, I
=
B
78
if
A is the slection
line
y A =
I AI,
+
-
if
Io 0
=
4 B
1=
Y AB=
OR Gate
yA =
B
+
Bo
oX
coted(A)
1.
. B
2:I
87
·
MVN
*y 3010+ SoII I
78
=
A Io +AIl
=
AB+
=
A. I A
=
AB A +
(x A)(A B)
= +
+
=
A B +
So, Io B and
=
I, = 1
NOR Gate
complementof OR
gate ↳.
B2: 1
Hence, to
required Max is 2, one
perform or
operation and other one
MVX
d
87
·
0
perform complement.
to 78
:. T =
B
and I, 0
=
NAND Gate
i.e. complementofANDgate
1.
Hence, required
I
and other .
Mix is 2, one
perform
to AND
operates one
perform
to
2:I
87
·
MV*
complement. 7. E
.. Io= 1 and I, B =
Ex-OR Gate
AB + AB
=
.
2:I
87
·
MVN
and we also know thattor 2:1 Mux B
78
Y 501. +S,2,
=
I
=> B
= and 1, B =
... No of
mux required 2
=
Ex-NOR
gate
For Ex-NOR
operation, Y A&B AB
=
= +
AB
1. . B
2:I
and we also know thattor 2:1 Mux
87
·
MVN
Y 501. +S,2,
=
78 B
I B and I, B
=
=> =
A
... No
mux required
of 2
=
For example,
For AND Gate
Truth table
A B y
De Io
0 4:1
ooo Do I
MUX
Y
!O
00- I2
10 Is
0
Si So
I I I
⑮ B
Gate
AND
Similarly
0. Io
1. Io I ⑤ Io Os Io 1. Io
I o Is
0 o Is ⑧ ⑧ Is O Is I o Is
Si So
Si So
Si So Si So Si so
⑮ B
⑮ B ⑮ B ⑮ B ⑮ B
1) Data Selection
2) routing
Data
3)
Operation
sequencing
4)
Waveform generation
parallel serial conversion
5) to
6) Logic function
generator.
Example!Implementf(A, B, 2) 2m =
Solot":- Case
-
I
Let A
and B are the selectlines and be input
the
A B C Y I 0 2 4 6 Imystementat
D 0 O 0 I C
I 3 5 7
=
table
I
·
10 -
I 0 C I
4 I
I
the
Thus, for implementation
of
given logical function,
5
7 I I I I 1 a Io
0-14x1
-
Mox-oX
Co- Iz
10Is-
Si So
I I
B
C
I3
,
Iz
F 2 3 I 0
-
Io
13
4x1
A ⑥ 0
7 A -
MUX
ox
00
I
-
A -
*
-
Iz 0 I
10
*-I3
B+A5c ABI ABC +
S so
I I
y
=
+
I
NBI+ABI
=
* ABL+ABI+ DBC .
I I
⑧
1107
B 2
000
001
=100 40
W
G:A, are selectlines
the and Bas
input
I3
5
In
-
B B 0
-
Io
B 2 30 B 14x1
MUX
=
ox
15 15 11 1
-
Iz
B 1 -
-
Is
B =
Si So
I
0
I
O
0 0
ol
ABI
=
xB AB AB
+
+
+
ABC
+
0 I 6 4 7
Use
.
a multiplexes having the selectlines implementthe function
to
given
F Em(0, 1,2,3,4,10,11,14,15)
=
B 0 2 46 8 10 12 14
I D I I
%888
D I 3 5 7 9 1113 15
I 0
0
I
! Thus, the
I
implementation
of
1 2
5 I I 0
0
follows.
6
0 I I 0 0
7
0 11 l 0
10 - lo
⑧
100 0 O
1 - -
1
9 I ⑧ 0 I 0
Io-Iz
10 I 0 I 0 I 8:
8--I, -Y
11
I 0 I
d
MUX
0.-I4
12
I , I
1 15 -
13
I I 0 I I
0-Is
I b
↳
I I
I 0
1-
Iz
15 I I S2 S, So
I I I
isi s
DEMULTIPLEXER
-
demultiplexes
A combinational 2
is a cut that
receives
information
on a
single line and transmits this
on one
of
possible outputlines. However the selection
of
a specific outputlines is controlled by the
bitvalue a of selection
lines.
Demultiplexes also
is known as:
1) distributor
Data
2) Serial parallel
to converter
One circuit
many
3) to
Itused
perform
to severe
the
operation Mox. of
"
For's' number selection
lines, the total
of number ofoutput =2
Ein
zonet
Input -> DEMUX
444-...4
-
n-selection lines
FigD!Functional diagram of
a digital DEMUX.
I a line
to
demultiplexes
Fig& shows the
logic cilantand
function
table
for 1:2 line DEmux. It has an
which outputto
inputI for and 4, are obtained.
·Yo
Do-3-T
-
Yo S'Y, Yo
-
I
- >
2:1 ·Yo 5I
--
= 10
x
-
⑦
-
I --DEMUX
Y, SI
=
·Y
-Y
I -
-4
-
Is ⑥ Function
Table ② Switching Diagram ·S
⑨
⑨ Block
diagram Logic [kt.
Fig: 2:1 line demodulator
I to 4 line demodulator
A 1:4line is shown
DEMUX
infig.
Si So Yy Yz YI Yo
-
·Yo Yo 5, J I
10
⑧ 00 O ↑
-
E
=
line
1:4 -
Y O ⑧ I 0 Y1 5
=
SoI
Ia Demux
oYz
0 0 IO
Yz
0
I
-
S,50 I
=
- > Yo I 10
1 0 Y =S, SoF
Si
!
(a) Block
Diagram ⑥ Function Table
Si S 0 I
O
O
-
-
).
④*8.
>
8.
so
·% 5,
⑳ =
I
)-oY, Fig :
⑧
5,
=
so I line
114
demultiplexes
·
7-oY
.
·
5,5
=
. 3 ots S. So I
=
Decoders.
-
Adecoder have
many inputs many outputs.
- and
-> a combinational
It is
logic altthatconvente firm
binary information
a bit
inputlines to
applications !
1. Code Converters
2. BCD seven to
segmentdecodes
E E I
Ao >
n inputs 2
!
DECODER
puts (. Yigimpucodal
An -Y -
1
General
Fig D: block
diagram a decodes
of
line decoder
2x 4
2x4decoders decoders
-> an minimum possible
LetA & B
inputs 40, 4,, Y2&Ys for outputs
->
I
Yo
[Enable
-
E outputs
A
ne 2x4 line is used to
Y
input
-
Line 2 decode
-
dEnable
=>
For the 2,
figure we have
A B Yo X, x2 X3 Yo xB=
y=A B
0 0 I 000 Yz AB=
O I ⑧ 100 Y3 AB
=
D 00 I 0
I
I 0 00 I
I
2:4line
->
Select
inputs Present Absent
pplications
A Distribution switch, to
BCD seven
segmentdecoder,
to Decimalto BCD
implementBoolean etc.
Experines
3 to
8 Line Decodes
Truth Table
Logic diagram.
-
A BC
Inputs
* :
Outputs
A B
C Yo YI Y2Y3Yx45Y6Y7 -
I 0 00 000 0
·
60oI
O
B
0000 0
↓
0 0 0
⑧ ABI
I
00088
0
810
⑧
↓
98
00 O
! 0 O
⑧
10000 0000 8 I I O O
⑧
↓ ↑
I I D 0 00 00 0
I I oooooo I
8
⑳
· D-Y=ABI
D*
⑳
D Y5 BC
⑳
⑧ =
P3
Y ABI
⑧
-
=
Yz ABC
=
Implementthe following
Boolean function
F(A, B, C, D) E m(0,1,3,4,7,8,9,11,14,15)
=
i) Kil Mux
ii) 2: 1 MUX
implementation
table
A BCD y
0 0 00 ⑧ I
1000 I I Io I, Iz In
2
0 0 I 0 0
30 0 1 I I 25048 12
0
0 1 0 0 I ID 5 9 3
13
6 10
⑮
50 I 0 I O 2
60 1 1 8 0
10 11 I I
·1000 8
10 I
↳
9 0 O
10 I 0 1 0 0
11 I 01 I = I (D +
12
I I 00 0 =
[ x)([ D) I
+
+
=
+
D
↳
13 I I 0 I O
I 10 I, IB cD c0D
=
14 I =
+
15 I I 11 I
Iz I =
D
+
I3 (5
=
cD
+
c(B D)
=
+
C
=
28
-
=
0
⑳
-
Io
D
I C
=>
I
4: I
MUX
oX
I2
·
I3
->
↓ B
I
ii) using 2:1 mux
mplementation
#
table
Io Fi Io
5 B +
=
+
+
① 000
0 ⑪
- - -
ABC ⑧
B
-
1001 ABC 2 A 00 01 11 18
O
2010 #B I 5 0 -I C
↑
>011
100
Ih --
6
⑧ E
⑪
W
4
ABC 10 W
EI
-101 ABI 13
6 110 12 I BI ABC A +
⑭0
+
=
ABL 1
7 III
⑳
I ABI ABI ABI ABC
= +
+
+
A[(B B)
=
+
+
ABI +
ABC
I, FB ABC ABC+ABC
+ +
FI ABT
=
=
+
+
ABC
ABCA ABC +
B
I(F xB) ABC
=>
+
+
+ +
+
0 I I I
I I I I I(F B) ABC
= + +
↑ ↑ Al
=>
BI
+ +
ABC
B L
B+
I, =
Logic t
it i
⑳
B
D
·
Io
-
2. I
oY
⑧
D MUX
I,
-
So