Codiode

4-Bit Ripple Down-Counter

MediumLogic CircuitBuild

Timers, watchdog circuits, and timeout mechanisms often rely on asynchronous down-counters for hardware simplicity and low power. The ripple down-counter cascades flip-flops to decrement a binary value on every clock cycle without requiring a global synchronous clock network.

Construct a 4-bit ripple down-counter. The outputs Q3, Q2, Q1, and Q0 must decrement by one on each falling edge of the clk signal. The count sequence wraps from 0 back to 15. Assume all flip-flops initialize to 0.

clk falling edges Q3 Q2 Q1 Q0
0 (Initial) 0 0 0 0
1 1 1 1 1
2 1 1 1 0
3 1 1 0 1
4 1 1 0 0

Constraints

  • Implement an asynchronous ripple architecture.
  • Connect the clk input exclusively to the clock pin of the Q0 stage.
  • Clock every subsequent stage using an output from the immediately preceding stage.

Topics

Sequential LogicCountersRipple

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 7 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.