SystemVerilogBeginner
Testbench: 4-bit saturating adder (SystemVerilog)
Verify saturation at fifteen instead of wrap-around.
Exercise objective
The DUT adds two words without exceeding the maximum representable value.
Prerequisites
- Read signals and write assertions in a SystemVerilog testbench.
- Understand the circuit under test: The DUT adds two words without exceeding the maximum representable value.
Skills you will practice
- Saturation
- Carry
- Boundary
Equipment and tools
- The SystemVerilog editor and validation are available in the browser. You do not need an FPGA board for this exercise.