**2:1 Multiplexer Design:** State the Boolean function and truth table of…
**2:1 Multiplexer Design:** State the Boolean function and truth table of a 2:1 Multiplexer with inputs $I_0, I_1$ and select line $S$. Write both dataflow and behavioral Verilog RTL implementations and a testbench.
Model answer
### 1. Working Principle & Truth Table A **2:1 MUX** routes one of two data inputs to the output based on select bit $S$: {c|c} S & Out \\ \hline 0 & I_0 \\ 1 & I_1 **Boolean Expression:** $Out = \overline{S} \cdot I_0 + S \cdot I_1$ ### 2. Dataflow Verilog RTL Implementation ### 3. Verilog Testbench