Overview
A multiplexer is a device that brings the concept of a rotary switch in analog electronics to the digital side. It is a device which, based on some input, will change the connection of its other inputs to its outputs. Conceptually a digital multiplexers functionality is the same as an analog one, only it handles everything digitally. Because of the mathematical concept of combinatorics they can be used to replace chain logic circuits. However, this is not done frequently because multiplexer-based logic has a comparably high propagation delay.
Configuration
The circuit above has 2 Control Lines A1Ao which can be used as 2 Selectors . Depend on the value of the Selectors only one of the Output Lines can be high . The circuit above has the capability to select the output line
The operation of the circuit above can be summarized in the Truth Table below