Skip to main content
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.

Access the exercise

You unlock this exercise as you progress through the learning path. Club membership gives you access to the full path. Access to solutions and downloads depends on your account.