**Full Adder RTL Design & Verification:** What limitation of a Half Adder…
**Full Adder RTL Design & Verification:** What limitation of a Half Adder does a **Full Adder** overcome? Provide its truth table, Boolean equations for $Sum$ and $Cout$, and write gate-level Verilog RTL code and its testbench.
Model answer
### 1. Working Principle & Limitation Solved A Half Adder cannot add an incoming carry bit from a preceding stage. A **Full Adder** accepts three single-bit inputs ($A$, $B$, $C_{in}$) and produces $Sum$ and $C_{out}$: {ccc|cc} A & B & C_{in} & Sum (S) & C_{out} \\ \hline 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 1 & 1 & 0 \\ 0 & 1 & 0 & 1 & 0 \\ 0 & 1 & 1 & 0 & 1 \\ 1 & 0 & 0 & 1 & 0 \\ 1 & 0 & 1 & 0 & 1 \\ 1 & 1 & 0 & 0 & 1 \\ 1 & 1 & 1 & 1 & 1 ### 2. Boolean Expressions - $Sum = A \oplus B \oplus C_{in}$ - $C_{out} = (A \cdot B) + (B \cdot C_{in}) + (A \cdot C_{in})$ ### 3. Logic Schematic (CircuiTikZ) ### 4. Gate-Level Verilog RTL Implementation ### 5. Verilog Testbench