Sunteți pe pagina 1din 25

Multiplexer

Multiplexer n-control input


signals
Also called as Data
Selector.
Multiplex means Many 1
into one. 2
1-output
m-data input signal
Multiplexer
signals (MUX)
2 n

It is a combinational logic circuit


Multiplexer is a circuit with many inputs and only one output.
i.e. it accepts several data inputs and allows only one of them
AT A TIME to get through to the output
The routing of desired data input to output is controlled by
SELECT (CONTROL) LINES.
Above diagram is of m :1 multiplexer with m-input lines,
n- control lines and 1-output line.

Here
2n = m

Table
Control input Data input Multiplexer
(n) (2n) = m
1 21=2 2 - to 1
2 22=4 4 - to 1
3 23=8 8 - to 1
4 24=16 16 - to - 1
2-to-1 Multiplexer
Truth table
Data input Control Output
input (S0) (Q)
D0 D1
x y 0 X
x y 1 y

Circuit Diagram


Q D0 S 0 D1 S 0
4-to-1 Multiplexer

Truth table
Data input Control input
Output
D0 D1 D2 D3 S1 S0 (Q)

w x y z 0 0 w

w x y z 0 1 x

w x y z 1 0 y

w x y z 1 1 z
Circuit Diagram of 4-to-1 Mux


Q D0 S0 S1 D1 S0 S1 D2 S 0 S1 D3 S0 S1
8-to-1 Multiplexer
Circuit Diagram
Truth table

Control Input Output


A B C F
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
1 1 1 D7
Cascading of Multiplexers

8x1 Multiplexer using two 4x1 Multiplexers


Assignment:
Draw circuit diagram and write the truth table of 8:1
Multiplexer and 16:1 multiplexer.
Demultiplexer
n control signals
Also called as Data
distributor.
Demultiplex means one
to Many.
1 input signals m
Demultiplexer output
(DEMUX) signal

Demultiplexer is a circuit with one input and many outputs.


i.e. it accepts one data input and steer the input signal to one of
the output line.
The routing of data input to one of the output is controlled by
CONTROL SIGNALS.
The circuit has 1-input signal, n- control signals & m-output
signals
Demultiplexer is exactly reverse of multiplexer.
Above diagram is of 1:m demultiplexer. Relationship between m &
n is given by
2n = m
where,
n = no. of control lines, m = no. of output lines
Table

Control input Data ouput (2n) Demultiplexer


(n) =m
1 21 = 2 1 - to 2
2 22 = 4 1 - to 4
3 23 = 8 1 - to 8
4 24 = 16 1 - to 16
1- to - 2 Demultiplexer
Truth table
Input Select (or) Output
(D) Control
input (S0) Y1 Y0

D 0 0 D
D 1 D 0

Where, D = 0 (or) 1
Circuit Diagram

D S0

D S0
1:4 Demultiplexer


Q D S 0 S1 D S 0 S1 D S 0 S1 D S 0 S1

Circuit Diagram

Truth table
Data Select Inputs Outputs
Input
D S1 S0 Y3 Y2 Y1 Y0
D 0 0 0 0 0 D
D 0 1 0 0 D 0
D 1 0 0 D 0 0
D 1 1 D 0 0 0
1-to-8 Demultiplexer
Circuit Diagram
Truth table
Assignment:
Draw circuit diagram and write the truth
table of 1:8 Demultiplexer and 1:16
Demultiplexer.
Applications
A very common application for this type of circuit is found
in computers, where dynamic memory uses the same
address lines for both row and column addressing. A set of
multiplexers is used to first select the row address to the
memory, then switch to the column address
Decoder

Fig. 1-to-2 line decoder

Where,
A Select line
D Output line
Fig. 2-to-4 line decoder

Where,
A Select line
D Output line
Truth table
8 to - 3 encoder

S-ar putea să vă placă și