Skip to main content
VHDLBeginner

Testbench: Traffic-light FSM (VHDL)

Verify cyclic state transitions and reset to the initial state.

Exercise objective

The DUT moves between states according to its inputs and produces the associated output.

Prerequisites

  • Read signals and write assertions in a VHDL testbench.
  • Understand the circuit under test: The DUT moves between states according to its inputs and produces the associated output.

Skills you will practice

  • State Transition
  • Reset

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.