Skip to main content

GATE CSE 2017Digital Logic › Sequential Circuits & CountersVerified

GATE CSE 2017 PYQ: Consider a combination of T \text{T} T and D \text{D} D flip-flops connected as shown below. The output of…

Consider a combination of T\text{T} and D\text{D} flip-flops connected as shown below. The output of the D\text{D} flip-flop is connected to the input of the T\text{T} flip-flop and the output of the T\text{T} flip-flop is connected to the input of the D\text{D} flip-flop.

GATE CSE 2017 Sequential Circuits & Counters diagram: Consider a combination of T \text{T} T and D \text{D} D flip

Initially, both Q0Q_{0} and Q1Q_{1} are set to 1 (before the 1st1^{\text{st}} clock cycle). The outputs

  1. A
    Q1Q0Q_{1}Q_{0} after the 3rd3^{\text{rd}} cycle are 11 and after the 4th4^{\text{th}} cycle are 00 respectively.
  2. B
    Q1Q0Q_{1}Q_{0} after the 3rd3^{\text{rd}} cycle are 11 and after the 4th4^{\text{th}} cycle are 01 respectively.
    Correct answer
  3. C
    Q1Q0Q_{1}Q_{0} after the 3rd3^{\text{rd}} cycle are 00 and after the 4th4^{\text{th}} cycle are 11 respectively.
  4. D
    Q1Q0Q_{1}Q_{0} after the 3rd3^{\text{rd}} cycle are 01 and after the 4th4^{\text{th}} cycle are 01 respectively.

Answer

(B) Q 1 Q 0 Q_{1}Q_{0} Q 1 ​ Q 0 ​ after the 3 rd 3^{\text{rd}} 3 rd cycle are 11 11 11 and after the 4 th 4^{\text{th}} 4 th cycle are 01 01 01 respectively.

Approach

Model the circuit as two synchronous flip-flops updating on the same clock edge. Let $Q_1$ be the T flip-flop output and $Q_0$ be the D flip-flop output. From the connections, the T input is $Q_0$, and the D input is $Q_1$. Thus the next-state equations are $Q_0^+ = Q_1$ and $Q_1^+ = Q_1 \oplus Q_0$. Starting from $Q_1Q_0=11$, iterate cycle by cycle.

Using the synchronous next-state equations, the state sequence is $11 \to 01 \to 10 \to 11 \to 01$. Hence after the 3rd cycle $Q_1Q_0=11$ and after the 4th cycle $Q_1Q_0=01$, which is option B.

Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.