SystemVerilogBeginner
Testbench: 4-bit LFSR (SystemVerilog)
Verify the pseudo-random sequence and the non-zero state after reset.
Exercise objective
The DUT generates a pseudo-random sequence from its internal state.
Prerequisites
- Read signals and write assertions in a SystemVerilog testbench.
- Understand the circuit under test: The DUT generates a pseudo-random sequence from its internal state.
Skills you will practice
- Reset
- Enable
- Sequence
- Non-zero
Equipment and tools
- The SystemVerilog editor and validation are available in the browser. You do not need an FPGA board for this exercise.