SystemVerilogBeginner
Testbench: Rising-edge detector (SystemVerilog)
Verify that a one-cycle pulse appears only on a rising transition.
Exercise objective
The DUT detects a rising transition and produces a one-cycle pulse.
Prerequisites
- Read signals and write assertions in a SystemVerilog testbench.
- Understand the circuit under test: The DUT detects a rising transition and produces a one-cycle pulse.
Skills you will practice
- Reset
- Rising Edge
Equipment and tools
- The SystemVerilog editor and validation are available in the browser. You do not need an FPGA board for this exercise.