Skip to content
Official PYQ · 2011

GATE CS 2011 Q50 — Sequential Circuits

Explain with AI

Consider the following circuit involving three D-type flip-flops used in a certain type of counter configuration.

If at some instance prior to the occurrence of the clock edge, P,QP, Q and RR have a value 00, 11 and 00 respectively, what shall be the value of PQRPQR after the clock edge?

Choose one option
View worked solution

Answer: D

To find the state of the counter after the next clock edge, we first determine the input equations for each D flip-flop from the circuit diagram:

  • Flip-flop P: The input DPD_P is driven by an XNOR gate with inputs QQ and RR:
    DP=Q⊕R‾D_P = \overline{Q \oplus R}
  • Flip-flop Q: The input DQD_Q is driven by an XOR gate with inputs PP and QQ:
    DQ=P⊕QD_Q = P \oplus Q
  • Flip-flop R: The input DRD_R is driven by an XOR gate with inputs QQ and RR:
    DR=Q⊕RD_R = Q \oplus R

Given the initial state prior to the clock edge is P=0P = 0, Q=1Q = 1, and R=0R = 0, we compute the next state values:

  • Pnext=DP=1⊕0‾=0P_{\text{next}} = D_P = \overline{1 \oplus 0} = 0
  • Qnext=DQ=0⊕1=1Q_{\text{next}} = D_Q = 0 \oplus 1 = 1
  • Rnext=DR=1⊕0=1R_{\text{next}} = D_R = 1 \oplus 0 = 1

Thus, the value of PQRPQR after the clock edge is 011011.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Sequential Circuits questions