Skip to main content
VHDLBeginner

Testbench: Modulo-10 counter (VHDL)

Verify the decimal sequence and return to zero after nine.

Exercise objective

The DUT updates a counter according to the clock, reset and controls.

Prerequisites

  • Read signals and write assertions in a VHDL testbench.
  • Understand the circuit under test: The DUT updates a counter according to the clock, reset and controls.

Skills you will practice

  • Reset
  • Sequence
  • Wrap-around
  • Enable

Equipment and tools

  • The VHDL 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.