Skip to main content

GATE CSE 2015Digital Logic › Sequential Circuits & CountersVerified

GATE CSE 2015 PYQ: A positive edge-triggered D D D flip-flop is connected to a positive edge-triggered J K JK J K flip-flop as…

A positive edge-triggered DD flip-flop is connected to a positive edge-triggered JKJK flip-flop as follows. The QQ output of the DD flip-flop is connected to both the JJ and KK inputs of the JKJK flip-flop, while the QQ output of the JKJK flip-flop is connected to the input of the DD flip-flop. Initially, the output of the DD flip-flop is set to logic one and the output of the JKJK flip-flop is cleared. Which one of the following is the bit sequence (including the initial state) generated at the QQ output of the JKJK flip-flop when the flip-flops are connected to a free-running common clock? Assume that J=K=1J = K = 1 is the toggle mode and J=K=0J = K = 0 is the state holding mode of the JKJK flip-flops. Both the flip-flops have non-zero propagation delays.

  1. A
    0110110…0110110\ldots
    Correct answer
  2. B
    0100100…0100100\ldots
  3. C
    011101110…011101110\ldots
  4. D
    011001100…011001100\ldots

Answer

(A) 0110110 … 0110110\ldots 0110110 …

Approach

Model the circuit as a synchronous state machine. Let A = $Q_D$ and B = $Q_JK$. The D flip-flop next state is $A^+ = B$. The JK flip-flop has J = K = A, so $B^+ = B$ when A = 0 and $B^+ =$ B' when A = 1, i.e. $B^+ =$ A ⊕ B. Starting from (A,B) = (1,0), compute the state after each positive clock edge and record the $Q_JK$ output, including the initial 0.

The state machine cycles (1,0) -> (0,1) -> (1,1) -> (1,0) with period 3, producing the $Q_JK$ output sequence 0110110..., which is option A.

Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.