Lecture 11
Lecture 11
Multiplexer
• The multiplexer is a combinational logic circuit
designed to switch one of several input lines to a
single common output line.
• The multiplexer, shortened to “MUX” or “MPX”.
• It has multiple inputs, some select lines and one
output.
• Number of inputs n= 2m where m is the number of
select lines.
• For example: if n=4=22, so number of select lines=2.
2×1 Multiplexer
• In 2×1 multiplexer, there are only two inputs, A0 and A1, 1 selection
line, S0 and single outputs, Y.
• On the basis of the combination of inputs which are present at the
selection line S0, one of these 2 inputs will be connected to the
output.
Logical circuit of 2×1 Multiplexer
4×1 Multiplexer:
• In the 4×1 multiplexer, there is a total of four inputs, A0, A1, A2, and A3, 2 selection
lines, S0 and S1 and single output, Y.
• On the basis of the combination of inputs that are present at the selection lines
S0 and S1, one of these 4 inputs are connected to the output.
8 x 1 Multiplexer
• In the 8 x 1 multiplexer, there are
total eight inputs, 3 selection
lines and single output, Y.
• On the basis of the combination of
inputs that are present at the
selection lines S0, S1, and S2, one of
these 8 inputs are connected to the
output.
8 ×1 MUX using 4×1 and 2×1 MUX
• To implement the 8×1 multiplexer, we need
two 4×1 multiplexers and one 2×1
multiplexer.
• For getting 8 data inputs, we need two 4×1
multiplexers.
• Each 4×1 multiplexer produces one output. So,
in order to get the final output, we need a 2×1
multiplexer.
8 ×1 MUX using 2×1 and 4x1 MUX
• If S2S1S0=001 then as
S0=1, D1, D3, D5 AND
D7 are selected from
the 2x1 MUX in the
first stage.
• As S2S1=00, D1 will be
selected and available
on the output Y.
8 ×1 MUX using 2×1
• If S2S1S0=001 then as
S0=1, D1, D3, D5 AND D7
are selected from the 2x1
MUX in the first stage.
• As S1=0, D1 and D5 will
be selected
• As S2=0, D1 and
available on the output Y.
16 x 1 Multiplexer
16 x 1 MUX using 8×1 and 2×1 MUX
• To implement the 16×1
multiplexer, we need two 8×1
multiplexers and one 2×1
multiplexer.
• The 8×1 multiplexer has 3
selection lines, 4 inputs, and 1
output. The 2×1 multiplexer has
only 1 selection line.
16x1 MUX using 4x1 MUX
• If S3S2S1S0=0101 then as S1S0=01, D1,
D5, D9 and D13 will be selected.
• The as S3S2=01, D5 will be available at
the output Y,
Advantages of using MUX
Efficient Use of Hardware Resources
• Reduces the number of data lines required for communication.
• Instead of having multiple lines for each input, one line can carry different signals based on select inputs.
Cost-Effective
• Minimizes wiring complexity and reduces hardware components.
• Fewer gates and less interconnection result in lower cost and power consumption.
Simplifies Circuit Design
• Provides a structured way to manage multiple inputs and reduce circuit complexity.
High-Speed Switching
• Can quickly select between inputs with minimal delay, enhancing performance in time-critical applications.
Versatility
• Can be used for data routing, function generation, arithmetic operations, and more.
Useful in Digital Signal Processing
• In DSP applications, multiplexers help manage signal flow efficiently by directing data to the required
processing blocks. For example: Time Division Multiplexing (TDM), Frequency Division Multiplexing
(FDM).
De-multiplexer
• A De-multiplexer is a combinational
circuit that has only 1 input line and
2N output lines.
• The information is received from the
single input lines and directed to the
output line on the basis of the values of
the selection lines.
• There are n selection lines and
2n outputs.
• De-multiplexer is also known
as De-mux.
1×2 DEMUX
• In the 1 to 2 De-multiplexer, there are only two outputs, Y0, and Y1, 1
selection lines, S0, and single input, A. On the basis of the selection
value, the input will be connected to one of the outputs.
1×2 De-multiplexer
1×4 DEMUX
• In 1 to 4 De-multiplexer, there are total of four outputs, Y0, Y1, Y2, and Y3, 2
selection lines, S0 and S1 and single input, A.
• On the basis of the combination of inputs which are present at the selection
lines S0 and S1, the input be connected to one of the outputs.
1×4 DEMUX
1×8 DEMUX
• In 1 to 8 De-multiplexer, there are total of eight outputs, Y0, Y1, Y2, Y3, Y4, Y5,
Y6, and Y7, 3 selection lines, S0, S1and S2 and single input, A.
• On the basis of the combination of inputs which are present at the selection
lines S0, S1 and S2, the input will be connected to one of these outputs.
1×8 DEMUX
1×8 DEMUX using 1×4 and 1×2 DEMUX
• To implement the 1×8
de-multiplexer, we need two 1×4
de-multiplexer and one 1×2
de-multiplexer for getting 8 data
outputs,
• The 1×2 de-multiplexer produces
two outputs. So, in order to get the
final output, we have to pass the
outputs of 1×2 de-multiplexer as an
input of both the 1×4 de-multiplexer.
1×8 DEMUX