← ProblemsCircuits / Sequential Logic / Counters

Decade counter

36%counters

Build a decade counter that counts 0 through 9 inclusive, then wraps back to 0 (period 10). The counter advances on every rising edge of clk.

reset is a synchronous, active-high reset that sets the count back to 0.