Skip to content
VLSI Mentor
All VHDL labs
Sequential LogicPublished

Mod-10 Counter

Count 0 to 9 with a terminal-count output, recover from illegal values, and cascade two counters into a decade pair.

Intermediate~40 minSelf-checking testbench
Concepts covered
  • Terminal count
  • Modulo wrap
  • Illegal-state recovery
  • Cascading
This lab is part of VHDL Labs

Unlock the complete lab — specification, engineering explanation, VHDL-2008 RTL, a self-checking testbench, the simulation transcript and waveform, measured design mistakes and a verification checklist — with the VHDL Labs package.

  • Problem statement & specification
  • Complete VHDL-2008 RTL
  • Self-checking testbench
  • Simulation transcript & waveform
  • Measured design mistakes
  • Verification checklist
Back to all labs