Practical No 7:-Demultiplexer (DEMUX)
Practical No 7:-Demultiplexer (DEMUX)
Practical No 7:-Demultiplexer (DEMUX)
Introduction:
The action or operation of a Demultiplexer is exactly the opposite to that of a Multiplexer. As an
inverse to the MUX, Demux is a one-to-many circuit. With the use of a Demultiplexer, data from
one input can be passed to one of the many output data lines. Demultiplexers are mainly used in
Boolean function generators and decoder circuits. Different input/output configuration
demultiplexers are available in the form of single integrated circuits (ICs).
Demultiplexer:
The process of getting information from one input and transmitting the same over
one of many outputs is called Demultiplexing. If you recall the Multiplexer tutorial,
there we discussed the concept of Multiplexing. Demultiplexing is just the opposite
of that.
If Multiplexers are called as Data Selectors, then Demultiplexers are called as Data
Distributors, since they transmit the same data which is received at the input to
different destinations.
Thus, a demultiplexer is a 1-to-N device, where as the multiplexer is an N-to-1
device. The figure below shows the block diagram of a demultiplexer or simply a
DEMUX.
It consists of 1 input line, ‘n’ output lines and ‘m’ select lines. In this, m select lines
are required to produce 2m possible output lines (consider 2m = n). For example, a 1-
to-4 demultiplexer requires 2 (22 = 4) select lines to control the 4 output lines.
1:4 DMUX:
A 1-to-4 demultiplexer has a single input (D), two selection lines (S1 and S0) and four
outputs (Y0 to Y3). The input data goes to any one of the four outputs at a given time for
a particular combination of select lines.
This demultiplexer is also called as a 2-to-4 Demultiplexer, which means that it has two
select lines and 4 output lines. The block diagram of a 1:4 DEMUX is shown below.
The truth table of this type of demultiplexer is given below. From the truth table it is
clear that, when S0 = 0 and S1 = 0, the data input is connected to output Y0 and when
S0 = 0 and s1=1, the data input is connected to output Y1.
Similarly, other outputs are connected to the input for the other two combinations of
select lines.
S1 S0 D Y3 Y2 Y1 Y0
0 0 0 0 0 0 0
0 0 1 0 0 0 1
0 1 0 0 0 0 0
0 1 1 0 0 1 0
1 0 0 0 0 0 0
1 0 1 0 1 0 0
1 1 0 0 0 0 0
1 1 1 1 0 0 0
The outputs are active LOW i.e., they are HIGH by default. So, if the Enable pin is HIGH, all the
outputs are HIGH and if Enable is LOW, then based on the Select Pins, only the corresponding
output pin becomes LOW.