VHDLBeginner
Testbench: 4-bit parity generator (VHDL)
Verify even parity for zero, an odd value and a two-bit value.
Exercise objective
The DUT calculates the parity bit for the presented value.
Prerequisites
- Read signals and write assertions in a VHDL testbench.
- Understand the circuit under test: The DUT calculates the parity bit for the presented value.
Skills you will practice
- Parity
- Boundary
Equipment and tools
- The VHDL editor and validation are available in the browser. You do not need an FPGA board for this exercise.