2 To 1 Mux Truth Table. The truth table of the 2 to 1 multiplexer is shown below. The same selection lines s 2 s 1 s 0 are applied to both 8x1 multiplexers.
Don t forget to mention the data type of the ports. Y s d0 sd1 schematic diagram of 2 to 1 multiplexer using logic gates. Module m21 d0 d1 s y.
Thus the boolean expression for the output becomes d0 when s 0 and output is d1 when s 1.
First define the module m21 and declare the input and output variables. The data inputs of upper 8x1 multiplexer are i 15 to i 8 and the data inputs of lower 8x1 multiplexer are i 7 to i 0. Equation from the truth table. In 2 1 multiplexer there are only two inputs i e a 0 and a 1 1 selection line i e s 0 and single outputs i e y.
