Mux Demux
Mux Demux
Mux Demux
A multiplexer or MUX, also called a data selector, is a combinational circuit with more than
one input line, one output line and more than one selection line.
A multiplexer selects binary information present on any one of the input lines, depending
upon the logic status of the selection inputs, and routes it to the output line
Also, multiplexers in IC form almost invariably have an ENABLE or STROBE input, which needs
to be active for the multiplexer to be able to perform its intended function.
If there are n selection lines, then the number of maximum possible input lines is 2n and the
multiplexer is referred to as a 2n -to-1 multiplexer or 2n × 1 multiplexer.
Typical Application of a MUX
Multiple Sources Selector Single Destination
MP3 Player
Docking Station
D0
Laptop
D1
MUX
Sound Card Y
D2
D3
Digital
Satellite A B Selected Source
0 0 MP3
0 1 Laptop
Digital 1 0 Satellite
Cable TV
1 1 Cable TV
2 x 1 MUX
𝑌 = 𝑆̅𝐼 + 𝑆𝐼
4 x 1 MUX
16-to-1 multiplexer using two 8-to-1 multiplexers having
an active LOW ENABLE input
Demultiplexers
B/W Laser
Printer
Fax
Machine
D0
DEMUX
X D1
D2
Color Inkjet
D3 Printer
S1 S0 Selected Destination
Pen
0 0 B/W Laser Printer
Plotter
0 1 Fax Machine
1 0 Color Inkjet Printer
1 1 Pen Plotter
1x2 De-Multiplexer (DEMUX)
Y0
DEMUX
X
Y1
S Y0 Y1
0 X 0
1 0 X
1-to-4 De-Multiplexer (DEMUX)
D0
DEMUX
D1
X
D2
D3
S1 S0
S1 S0 D0 D1 D2 D3
0 0 X 0 0 0
0 1 0 X 0 0
1 0 0 0 X 0
1 1 0 0 0 X
1-to-4 De-Multiplexer Waveforms
X Input
Data
S0
Select
Line
S1
D0
D1
Output
Data
D2
D3
Implement MUX and DEMUX using NAND
gate only……..