VHDLBeginner
Testbench: 4-bit adder (VHDL)
Verify carries, zero operands and addition overflow.
Exercise objective
The DUT adds two 4-bit words and provides the sum with the carry.
Prerequisites
- Read signals and write assertions in a VHDL testbench.
- Understand the circuit under test: The DUT adds two 4-bit words and provides the sum with the carry.
Skills you will practice
- Sum
- Carry
- Boundary
Equipment and tools
- The VHDL editor and validation are available in the browser. You do not need an FPGA board for this exercise.