Definition
Multiplexer
A multiplexer (MUX) is a combinatorial logic circuit used to select one signal from multiple input signals and forward it to a single output line. The selection of the input is controlled by a set of selection lines and control signals.
Example
The following example shows a 4-to-1 multiplexer which has four inputs,
As the table below shows, the multiplexer selects the input
| 0 | 0 | |
| 0 | 1 | |
| 1 | 0 | |
| 1 | 1 |
Example: If