Multiplexers
Introduction
Multiplexer is a special type of combinational circuit. There are n-data inputs, one output and m select inputs with 2m = n. It is a digital circuit which selects one of the n data inputs and routes it to the output. The selection of one of the n inputs is done by the selected inputs. Depending on the digital code applied at the selected inputs, one out of n data sources is selected and transmitted to the single output Y. E is called the strobe or enable input which is useful for the cascading. It is generally an active low terminal that means it will perform the required operation when it is low.
Block diagram
Multiplexers come in multiple variations
2 : 1 multiplexer
Truth Table
Enable(E) = 1
S1 | Y(Output) |
---|---|
0 | T1 |
1 | T2 |
4 : 1 multiplexer
The 4 : 1 multiplexer has 4 inputs and 2 control signals.
Truth Table
Enable(E) = 1
S1 | S2 | Y(Output) |
---|---|---|
0 | 0 | T1 |
0 | 1 | T2 |
1 | 0 | T3 |
1 | 1 | T4 |
8 : 1 multiplexer
The 8 : 1 multiplexer has 8 inputs and 3 control signals.
Truth Table
Enable(E) = 1
S1 | S2 | S3 | Y(Output) |
---|---|---|---|
0 | 0 | 1 | T1 |
0 | 1 | 0 | T2 |
0 | 1 | 1 | T3 |
0 | 1 | 1 | T4 |
1 | 0 | 1 | T5 |
1 | 1 | 0 | T6 |
1 | 1 | 1 | T7 |
1 | 1 | 1 | T8 |
You can implement a 8 : 1 multiplexer by chaining two 4 : 1 multiplexers, like this:
16 : 1 multiplexer
The 16 : 1 multiplexer has 16 inputs and 4 control signals.
It can be implemented with two 8 : 1 multiplexers:
Truth Table
Enable(E) = 1
A | B | C | D | Y(Output) |
---|---|---|---|---|
0 | 0 | 0 | 0 | T1 |
0 | 0 | 0 | 1 | T2 |
0 | 0 | 1 | 0 | T3 |
0 | 0 | 1 | 1 | T4 |
0 | 1 | 0 | 0 | T5 |
0 | 1 | 0 | 1 | T6 |
0 | 1 | 1 | 0 | T7 |
0 | 1 | 1 | 1 | T8 |
1 | 0 | 0 | 0 | T9 |
1 | 0 | 0 | 1 | T10 |
1 | 0 | 1 | 0 | T11 |
1 | 0 | 1 | 1 | T12 |
1 | 1 | 0 | 0 | T13 |
1 | 1 | 0 | 1 | T14 |
1 | 1 | 1 | 0 | T15 |
1 | 1 | 1 | 1 | T16 |
It can also be implemented with five 4 : 1 multiplexers: