Examples: MUX 4→1
Complete implementation of a 4-to-1 multiplexer in different VHDL styles.
A multiplexer selects an input and passes it to the output. Selection can apply to a single bit or an entire bus.
For four inputs, the two select bits give these choices:
i_sel | o_y |
|---|