SystemVerilogBeginner
Testbench: 4-bit ring counter (SystemVerilog)
Verify the active-bit rotation and cyclic return.
Exercise objective
The DUT circulates an active bit through a ring register.
Prerequisites
- Read signals and write assertions in a SystemVerilog testbench.
- Understand the circuit under test: The DUT circulates an active bit through a ring register.
Skills you will practice
- Reset
- Enable
- Sequence
Equipment and tools
- The SystemVerilog editor and validation are available in the browser. You do not need an FPGA board for this exercise.