In digital system,many times it is necessary to select single data line from several data-input lines, and the data from the selected data line should be available on the output.The digital circuit which does this task is a multiplexer.
It is a digital switch.It allows digital information from several sources to be routed onto a single output line.The basic multiplexer has several data-input lines and a single output line.The selection of a particular input line is controlled by a set of selection lines.Since multiplexer selects one of the input and routes it to output,it is also known as data selector.Normally,there are 2^n input lines and n selection lines whose bit combinations determine which input is selected . Therefore,multiplexer is 'many into one' and it provides the digital equivalent of an analog selector switch.
NOTE:
In this designed circuit,
Orange and green denotes data inputs.
Blue denotes selection input.
1 denotes output
0 denotes no output