A positive edge-triggered flip-flop is connected to a positive edge-triggered flip-flop as follows. The output of the flip-flop is connected to both the and inputs of the flip-flop, while the output of the flip-flop is connected to the input of the flip-flop. Initially, the output of the flip-flop is set to logic one and the output of the flip-flop is cleared. Which one of the following is the bit sequence (including the initial state) generated at the output of the flip-flop when the flip-flops are connected to a free-running common clock? Assume that is the toggle mode and is the state holding mode of the flip-flops. Both the flip-flops have non-zero propagation delays.
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…
- ACorrect answer
- B
- C
- D
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.