Skip to main content
SystemVerilogBeginner

Testbench: One-hot checker (SystemVerilog)

Verify zero, one active position and multiple active bits.

Exercise objective

The DUT performs the function described by this exercise.

Prerequisites

  • Read signals and write assertions in a SystemVerilog testbench.
  • Understand the circuit under test: The DUT performs the function described by this exercise.

Skills you will practice

  • One-hot
  • Invalid

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.