Multiplexers

A multiplexer has a number of inputs, a selector, and one output. The selector represents which of the inputs to output. Think of the inputs as an array, selector as an index, and the output as the result of that index.

The selector can be multiple bits to accommodate for many inputs.

2-1 Multiplexer

Symbol

Drawing canvas
Truth Table

s f
0
1

4-1 Multiplexer

Symbol

Drawing canvas
Truth Table

f
0 0
0 1
1 0
1 1

Implementing 16-1 Multiplexer Using 4-1 Multiplexers

Implementation

Decoder Based Mux Design

See Decoders and Encoders

Making MUXes with Decoders

See Multiplexers

Implementation

Or with tri-state buffers:

Implementation

Drawing canvas

De-Multiplexers

Symbol

Drawing canvas
Truth Table

0 0 x 0 0 0
0 1 0 x 0 0
1 0 0 0 x 0
1 1 0 0 0 x

Similar to a decoder, we have: