A multiplexer (MUX) is a combinational circuit that routes 1 of input lines to a single output. select lines determine which input is forwarded. Available as ICs.
Select-Line Logic
For a -to- MUX with inputs and select lines :
: minterm corresponding to binary value of the select lines.
For a 4-to-1 MUX:
| 0 | 0 | |
| 0 | 1 | |
| 1 | 0 | |
| 1 | 1 |
Implementing Boolean Functions
Any -variable boolean function can be implemented with a -to- MUX:
- Use the input variables as select lines.
- Connect each data input to if the function is for minterm , else to .
With a -to- MUX, 1 variable becomes a data input. Each is connected to , , the variable, or its complement based on the last truth table column.
Advantages
- Reduction of wires
- Reduction of circuit complexity
- Reduction of cost
- Any combinational function can be implemented using MUX
Demultiplexer
A demultiplexer (DEMUX) routes 1 input to 1 of outputs based on select lines. The inverse operation of MUX.
For a 1-to-4 DEMUX with input :
| 0 | 0 | ||||
| 0 | 1 | ||||
| 1 | 0 | ||||
| 1 | 1 |