GATE / CS ARCHIVE

GATE CSE 1994 / QUESTION 11

Synchronous sequential circuit

Digital Logic · Flip-Flops, Registers & Sequential Circuits · Full GATE CSE 1994 paper

GATE 1994, Q11 5 marks · Descriptive
Report issue

Flip-Flops, Registers & Sequential Circuits

Question 11, GATE 1994: For the shown common-clock circuit, initial Q2Q1Q0=000. Find the state after four clock pulses. The Q2 flip-flop is JK with J=Q̅0,K=1; Q1 is D with D=Q2; Q0 is T with T=Q1.
Tap to enlarge
Answer & solution

Answer: 011 (no official key was published)

1. All flip-flops sample their inputs from the same pre-edge state. JK gives Q2(next)=J·Q̅2+K̅·Q2=Q̅0·Q̅2. D gives Q1(next)=Q2. T gives Q0(next)=Q0 XOR Q1.

2. Starting at 000, the first pulse gives 100. The second gives 010. The third gives 101. The fourth gives 011.

3. Do not propagate a freshly changed Q2 into Q1 during the same edge; that would model a different asynchronous circuit.

Diagram / structural description

Common clock to JK(Q2), D(Q1), T(Q0). Q2→D; Q1→T; inverted Q0 feedback→J; K tied to logic 1.

Original paper, page 5