← ProblemsCircuits / Sequential Logic / Counters
Decade counter again
36%countersBuild a counter that counts from 1 through 10 inclusive, then wraps back to 1 (period 10).
reset is a synchronous, active-high reset that sets the count to 1 — note the reset value is 1, not 0.