**8:1 Multiplexer Design:** Detail the Boolean formulation of an 8:1 Mult…
**8:1 Multiplexer Design:** Detail the Boolean formulation of an 8:1 Multiplexer. Provide its gate-level Verilog RTL implementation using fundamental logic gates and a comprehensive testbench.
Model answer
### 1. Boolean Expression & Truth Table An 8:1 MUX has 8 inputs $I[7:0]$ and 3 select lines $S_2, S_1, S_0$: Out = \sum_{m=0}^{7} m_k \cdot I_k = \overline{S_2}\,\overline{S_1}\,\overline{S_0} I_0 + \overline{S_2}\,\overline{S_1} S_0 I_1 + \dots + S_2 S_1 S_0 I_7 ### 2. Gate-Level Verilog RTL Implementation ### 3. Verilog Testbench