GATE Computer Science · Digital Logic, Computer Organization, and Discrete Mathematics · medium

A 4-stage ripple counter is constructed using 4 negative-edge-triggered JK flip-flops (configured in toggle mode J = K = 1), each having a propagation delay of t_pd = 15 ns. What is the maximum clock frequency at which this ripple counter can operate reliably (ignoring setup/strobe overhead)?

Published · Last updated · checked before publication — how we verify questions

Options

  • A16.67 MHz corresponding to a minimum clock period of 4 * 15 ns = 60 nsCorrect answer
  • B66.67 MHz corresponding to a single flip-flop delay of 15 ns in a synchronous counter
  • C33.33 MHz corresponding to two flip-flop propagation delays (30 ns)
  • D10.00 MHz corresponding to a 100 ns clock period

Answer: A. 16.67 MHz corresponding to a minimum clock period of 4 * 15 ns = 60 ns

In an asynchronous ripple counter, only the first flip-flop receives the external clock. Each later stage is clocked by the output of the stage before it, so a change at the input has to ripple through the chain. In the worst case, such as the 1111 to 0000 transition, all four flip-flops toggle one after another. The output is not stable until 4 x 15 ns = 60 ns after the active clock edge. The next clock edge must not arrive before the outputs settle, so the minimum clock period is 60 ns. The maximum frequency is therefore 1 / 60 ns = 16.67 MHz. The general rule is T_clk >= n x t_pd, so f_max = 1 / (n x t_pd). The most common trap is using one flip-flop delay, which is correct only for a synchronous counter where all flip-flops share the clock and switch together. Another trap is stopping partway through the chain, or choosing a round number without computing it. Remember that a ripple counter's speed falls as stages are added.

Why the other options are wrong

  • B. 66.67 MHz corresponding to a single flip-flop delay of 15 ns in a synchronous counter — 66.67 MHz is 1 / 15 ns. That would hold for a synchronous counter, where every flip-flop is clocked at once and only one propagation delay counts. In a ripple counter the delays add up across all four stages, so this overstates the speed by a factor of four.
  • C. 33.33 MHz corresponding to two flip-flop propagation delays (30 ns) — 33.33 MHz is 1 / 30 ns, which counts only two flip-flop delays. The worst-case transition 1111 to 0000 passes through all four stages, so the settling time is 60 ns, not 30 ns. Running at this frequency would trigger the next clock edge before the last stage has settled.
  • D. 10.00 MHz corresponding to a 100 ns clock period — 10 MHz would need a 100 ns period, which matches no calculation from the given data. The required settling time is exactly 4 x 15 ns = 60 ns. A 100 ns period would be safe but not the maximum frequency, so it does not answer the question.

All Digital Logic, Computer Organization, and Discrete Mathematics questions and the topic overview →

GATE is a mark of the Indian Institute of Science and the Indian Institutes of Technology. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by the GATE Committee.