VHDLBeginner
Testbench: Half adder (VHDL)
Verify sum and carry for all four input pairs.
Exercise objective
The DUT adds its inputs and produces the sum with the corresponding carry.
Prerequisites
- Read signals and write assertions in a VHDL testbench.
- Understand the circuit under test: The DUT adds its inputs and produces the sum with the corresponding carry.
Skills you will practice
- Sum
- Carry
Equipment and tools
- The VHDL editor and validation are available in the browser. You do not need an FPGA board for this exercise.