Multiplexer and Demultiplexer
Multiplexer and Demultiplexer
Dr. M Rambabu
Course Code: 24CSEN1001
Course Name: Digital Logic Circuits
Date: March 31, 2025
1 Multiplexer
A multiplexer is a combinational circuit that selects binary information from one of many input lines
and directs it to a single output line. The selection of a particular input line is controlled by a set
of selection lines. Normally, there are 2n input lines and n selection lines whose bit combinations
determine which input is selected.
When S = 0, the upper AND gate is enabled and I0 has a path to the output.
When S = 1, the lower AND gate is enabled and I1 has a path to the output.
The multiplexer acts like an electronic switch that selects one of two sources. The block diagram
of a multiplexer is sometimes depicted by a wedge-shaped symbol, as shown in Figure. 1(b). It
visually suggests how a selected input is directed into a single destination. The multiplexer is often
labeled “MUX” in block diagrams.
1
Figure 2: Four-to-one-line muttlplexer.
To demonstrate the operation of the circuit, consider the case when S1 S0 = 10. The AND gate
associated with input I2 has two of its inputs equal to 1 and the third input connected to I2 . The
other three AND gates have at least one input equal to 0, which makes their outputs equal to 0. The
output of the OR gate is now equal to the value of I2 , providing a path from the selected input to
the output.
A multiplexer is also called a data selector, since it selects one of many inputs and steers the
binary information to the output line.
2
Figure 3: Quadruple Two-to-one-line muttlplexer.
The input selection line S selects one of the lines in each of the four multiplexers. The enable
input E must be active (i.e., asserted) for normal operation. Although the circuit contains four
2-to-1-line multiplexers, we are more likely to view it as a circuit that selects one of two 4-bit sets of
data lines.
As shown in the function table, the unit is enabled when E = 0. Then, if S = 0, the four A
inputs have a path to the four outputs. By contrast, if S = 1, the four B inputs are applied to the
outputs. The outputs have all 0s when E = 1, regardless of the value of S.
2 Demultiplexers
A demultiplexer (DEMUX) is a combinational circuit that takes a single input and routes it to
one of several output lines. The specific output line to which the input is directed is determined by
a set of selection lines. A demultiplexer is the reverse of a multiplexer.
3
2.1 One-to-Two-Line Demultiplexer
A one-to-two-line demultiplexer has one data input, one selection line, and two outputs. The selection
line determines which output receives the input signal. The circuit operation can be described as
follows:
If S1 S0 = 00, D is directed to Y0 .
If S1 S0 = 01, D is directed to Y1 .
If S1 S0 = 10, D is directed to Y2 .
If S1 S0 = 11, D is directed to Y3 .
4
2.4 Applications of Demultiplexers
Demultiplexers are widely used in digital electronics for various purposes, such as:
Serial-to-Parallel Conversion: Converting serial data into parallel format for processing.