Codiode

Mod-6 Counter: Synchronous Reset

EasyLogic CircuitBuild

Digital clocks and timing circuits rely on non-binary modulo counters to track minutes, seconds, and hours. A modulo-6 counter divides a clock frequency by six, commonly used alongside modulo-10 counters to create base-60 timekeeping blocks.

The circuit maintains a 3-bit output Q that increments on the rising edge of clk. The count sequence must iterate from 0 to 5 and then wrap around to 0. An external active-high reset signal forces Q to 0 on the next rising clock edge regardless of the current state. The transient state 6 (110) must be intercepted by the next-state logic to force a synchronous reset to 000.

reset Current Q Next Q
1 X 000
0 000 001
0 001 010
0 010 011
0 011 100
0 100 101
0 101 000

Constraints

  • Use only D flip-flops for state retention.
  • Implement synchronous reset logic only.
  • Ensure state 6 (110) and state 7 (111) never appear on the Q output.

Topics

FSMSynchronous LogicCounters

Solve this problem

Place the gates, wire them up and watch the signals settle. Every submission runs on the same simulation engine that grades it.

This problem is part of Codiode Pro. The statement above is free to read.

The circuit builder and code editor need a desktop screen. On a phone, read the problem here and open it on a laptop to solve.

Part of Counters

Problem 29 of 139 in the Counters track.

Related problems

Browse all problems · Digital logic design practice problems · Learning tracks

Solve this on a laptopSend yourself the link and continue there.