VHDLAdvanced
Testbench: Nonrestoring divider (VHDL)
Verify quotient, remainder and explicit division-by-zero behavior.
Exercise objective
The DUT calculates quotient and remainder and reports a zero divisor.
Prerequisites
- Read signals and write assertions in a VHDL testbench.
- Understand the circuit under test: The DUT calculates quotient and remainder and reports a zero divisor.
Skills you will practice
- Quotient
- Remainder
- Error
Equipment and tools
- The VHDL editor and validation are available in the browser. You do not need an FPGA board for this exercise.