VHDLBeginner
Testbench: 4-bit comparator (VHDL)
Verify less-than, equal and greater-than relations on representative values.
Exercise objective
The DUT compares two values and indicates their relationship.
Prerequisites
- Read signals and write assertions in a VHDL testbench.
- Understand the circuit under test: The DUT compares two values and indicates their relationship.
Skills you will practice
- Less Than
- Equal
- Greater Than
Equipment and tools
- The VHDL editor and validation are available in the browser. You do not need an FPGA board for this exercise.