SystemVerilogBeginner
Testbench: 5-input majority voter (SystemVerilog)
Verify the four-to-one and three-to-two thresholds.
Exercise objective
The DUT indicates whether most of its inputs are active.
Prerequisites
- Read signals and write assertions in a SystemVerilog testbench.
- Understand the circuit under test: The DUT indicates whether most of its inputs are active.
Skills you will practice
- Threshold
- Boundary
Equipment and tools
- The SystemVerilog editor and validation are available in the browser. You do not need an FPGA board for this exercise.