Professional Documents
Culture Documents
Multiplexers
And
Demultiplexers
2. Theory:
Multiplexers:
In electronics, a multiplexer (or mux) is a device that selects one of several analog
or digital input signals and forwards the selected input into a single line. A
multiplexer of 2n inputs has n select lines, which are used to select which input line
to send to the output.
A 2n-to-1 multiplexer sends one of 2n input lines to a single output line.
– A multiplexer has two sets of inputs:
• 2n data input lines
• n select lines, to pick one of the 2n data inputs
– The mux output is a single bit, which is one of the 2n data inputs.
2-to-1 Mux
The simplest multiplexer is a 2-to-1 mux
Q = S’ D0 + S D1
The select bit S controls which of the data bits D0-D1 is chosen:
– If S=0, then D0 is the output (Q=D0).
– If S=1, then D1 is the output (Q=D1).
Here is a full truth table for this 2-to-1 mux, based on the equation:
Q = S’ D0 + S D1
1
Here is another kind of abbreviated truth table.
4-to-1 Mux
Here is a block diagram and abbreviated truth table for a 4-to-1 mux.
•Be careful! In Logic Works the multiplexer has an active-low EN input signal.
When EN’ = 1, the mux always outputs 1.
2
Example 7.1:
Implement following function with multiplexer:
Solution:
In terms of B
I0 I1 I2 I3 I4 I5 I6 I7
0 1 2 3 8 9 10 11
B'
4 5 6 7 12 13 14 15
B
3
Demultiplexers:
4
3. Lab Work:
C B A F3
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
D7 D6 D5 D4 D3 D2 D1 D0 C B A Y
0 0 0 0 0 0 1 1 0 0 0
0 0 0 0 0 0 1 0 0 0 1
0 0 0 1 0 1 0 1 0 1 0
0 0 0 0 1 0 0 0 0 1 1
1 0 0 1 0 0 0 0 1 0 0
0 0 1 0 0 0 0 0 1 0 1
0 1 1 0 0 0 0 0 1 1 0
0 0 0 0 0 0 0 0 1 1 1
5
b) Construct the function, F (A, B, C, D) = Σ (0, 1, 3, 4, 8, 9, 15) from
example 7.1 in terms of A (A is input) using Mux KL-33006 block f.
4. Exercises:
2) Implement 8-to-1 mux using tow 4-to-1 mux and one 2-to-1 mux.