SystemVerilogBeginner
Testbench: Enabled D flip-flop (SystemVerilog)
Verify rising-edge capture and hold when enable is low.
Exercise objective
The DUT stores input D on a rising edge when enabled.
Prerequisites
- Read signals and write assertions in a SystemVerilog testbench.
- Understand the circuit under test: The DUT stores input D on a rising edge when enabled.
Skills you will practice
- Reset
- Enable
- Clock
Equipment and tools
- The SystemVerilog editor and validation are available in the browser. You do not need an FPGA board for this exercise.