Multiplexer / Demultiplexer
Multiplexer / Demultiplexer
This presentation will demonstrate
• The basic function of the Multiplexer (MUX).
• The typical application of a MUX.
• A 4-to-1 MUX designed with Small Scale Integration (SSI).
• A 4-to-1, 8-to-1, & 16-to-1 Medium Scale Integration (MSI)
MUX.
• The basic function of the Demultiplexer (DEMUX).
• The typical application of a DEMUX.
• A 1-to-4 DEMUX design with Small Scale Integration (SSI).
• A 1-to-4, 1-to-8, & 1-to-16 Medium Scale Integration (MSI)
DEMUX.
• A 7-segment message display using MUX/DEMUX.
What is a Multiplexer (MUX)?
A MUX is a digital switch
that has multiple inputs Multiplexer
Block Diagram
(sources) and a single
output (destination).
The select lines 2N 1
MUX
determine which input is Inputs Output
(sources) (destination)
connected to the output.
MUX Types
2-to-1 (1 select line) N
4-to-1 (2 select lines) Select
8-to-1 (3 select lines) Lines
16-to-1 (4 select lines)
Typical Application of a
MUX
Multiple Sources Selector Single Destination
MP3 Player
Docking Station
D0
Laptop
MUX
D1
Sound Card Y
D2
D3
Surround Sound System
Digital Selected
Satellite B A
Source
0 0 MP3
0 1 Laptop
Digital 1 0 Satellite
Cable TV
1 1 Cable TV
4-to-1 Multiplexer (MUX)
D0
MUX
D1
Y
D2
D3
B A
B A Y
0 0 D0
0 1 D1
1 0 D2
1 1 D3
4-to-1 Multiplexer
D0 Waveforms
D1
Input
Data
D2
D3
A
Select
Line
B
Output
Y Data
D0 D1 D2 D3 D0 D1 D2 D3
Medium Scale Integration
MUX
4-to-1 MUX 8-to-1 MUX 16-to-1 MUX
Inputs Output (Y)
(and inverted output)
Select
Enable
What is a Demultiplexer
(DEMUX)?
A DEMUX is a digital
Demultiplexer
switch with a single input Block Diagram
(source) and a multiple
outputs (destinations).
The select lines
DEMUX
1 2N
determine which output Input Outputs
(source) (destinations)
the input is connected to.
DEMUX Types
N
1-to-2 (1 select line)
1-to-4 (2 select lines) Select
Lines
1-to-8 (3 select lines)
1-to-16 (4 select lines)
Typical Application of a DEMUX
Single Source Selector Multiple Destinations
B/W Laser
Printer
Fax
Machine
D0
DEMUX
X D1
D2 Color Inkjet
Printer
D3
Selected
B A
Destination
Pen
0 0 B/W Laser Printer Plotter
0 1 Fax Machine
1 0 Color Inkjet Printer
1 1 Pen Plotter
1-to-4 De-Multiplexer (DEMUX)
D0
DEMUX
D1
X
D2
D3
B A
D D D D
B A
0 1 2 3
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
Medium Scale Integration DEMUX
1-to-4 DEMUX 1-to-8 DEMUX 16-to-1 MUX
Select
Outputs
(inverted)
Input
(inverted)
Note : Most Medium Scale Integrated (MSI) DEMUXs ,
like the three shown, have outputs that are inverted.
This is done because it requires few logic gates to
implement DEMUXs with inverted outputs rather than
no-inverted outputs.