GATE / CS ARCHIVE

GATE CSE 1991 / QUESTION 5(c)

Synchronous counter timing path

Digital Logic · Counters & Timing · Full GATE CSE 1991 paper

GATE 1991, Q5(c) 2 marks · Descriptive
Report issue

Counters & Timing

Question 5(c), GATE 1991: Three JK flip-flops Q0,Q1,Q2 share a clock. J0=K0=1. Cascaded two-input ANDs compute C1=1·Q0, C2=C1·Q1, C3=C2·Q2; J1=K1=C1 and J2=K2=C2. C3 is an outgoing carry with no shown destination. Flip-flop and AND delays are each 10 ns; setup time is negligible. Find maximum counter clock frequency.
Tap to enlarge
Answer & solution

Answer: Shown register-to-register path: Tmin=30 ns, fmax≈33.33 MHz. Requiring final carry settlement adds a separate 40 ns/25 MHz condition. (no official key was published)

This is a synchronous counter, since all three flip-flops receive the same clock. It is not a three-stage ripple-clock chain. After an active edge, Q0 may change after 10 ns. Its new value reaches C1 after one AND delay and C2 after a second AND delay. The latest JK input of a shown flip-flop therefore settles after 10+10+10=30 ns. With negligible setup time the next active edge must be no earlier, giving fmax=1/(30 ns)=33⅓ MHz.

The path from Q1 to C2 takes only 20 ns. Q2 does not drive another displayed flip-flop. The third AND produces C3 only after as much as 40 ns from the clock, but that carry output is not connected to a register input in the displayed three-bit circuit. Counting it in the counter’s internal feedback constraint would assume an additional stage or external timing requirement.

If the question intends the outgoing carry to settle before every next edge, or the drawing is an expandable counter whose next stage samples C3, use Tmin=40 ns and fmax=25 MHz instead. State that additional condition explicitly. Clock skew, hold-time constraints and wire delays are outside the supplied delay model.

Original paper, page 5