Multiplexer

From Rice Wiki
Schematic for a 4:1 MUX

A multiplexer (MUX) takes in many inputs and a select input. Based on the select input, it outputs one specific input.

The most intuitive design involves using AND gates to enable/disable data inputs based on select input, and then use an OR gate to merge everything to a single output.