**3:8 Binary to Octal Decoder Design:** Design a 3:8 Binary-to-Octal Deco…
**3:8 Binary to Octal Decoder Design:** Design a 3:8 Binary-to-Octal Decoder with active-high Enable. Provide the logic formulation, synthesizable Verilog RTL code, and a testbench.
Model answer
### 1. Working Principle & Truth Table A **3:8 Decoder** asserts one of eight output lines $D[7:0]$ corresponding to the 3-bit binary input $A_2 A_1 A_0$ when $En = 1$: D_k = En \cdot m_k \quad (k = 0, \dots, 7) ### 2. Behavioral Verilog RTL Implementation ### 3. Verilog Testbench