Skip to content
Official PYQ · 2001

GATE CS 2001 Q2.8 — Combinational Circuits

Explain with AI

Consider the following circuit with initial state Q0=Q1=0Q_0 = Q_1 = 0. The D Flip-flops are positive edged triggered and have set up times 20 nanosecond and hold times 0.0.

Consider the following timing diagrams of X and C. The clock period of C≥40C \geq 40 nanosecond. Which one is the correct plot of Y?

      

Choose one option
View worked solution

Answer: A

To determine the correct waveform for YY, we trace the state transitions of the two D flip-flops, FF0FF_0 and FF1FF_1, at each positive edge of the clock CC.

From the circuit diagram, the inputs to the flip-flops are:

  • D0=XD_0 = X
  • D1=Q0D_1 = Q_0

The output is given by the AND gate: Y=Q0⋅Q1‾Y = Q_0 \cdot \overline{Q_1}.

Given that the setup time is 20 ns20\text{ ns} and the clock period is T≥40 nsT \ge 40\text{ ns}, the inputs satisfy the setup and hold time requirements. Let's analyze the state transitions at each positive clock edge:

  1. Initial State: Q0=0Q_0 = 0, Q1=0Q_1 = 0. Thus, Y=0⋅0‾=0Y = 0 \cdot \overline{0} = 0.
  2. First Positive Edge:
    • XX has been high (11) for more than 20 ns20\text{ ns} before this edge, so Q0Q_0 becomes 11.
    • Q1Q_1 takes the previous value of Q0Q_0, which was 00.
    • Thus, Q0=1,Q1=0  ⟹  Y=1⋅0‾=1Q_0 = 1, Q_1 = 0 \implies Y = 1 \cdot \overline{0} = 1.
  3. Second Positive Edge:
    • XX has been low (00) for more than 20 ns20\text{ ns} before this edge, so Q0Q_0 becomes 00.
    • Q1Q_1 takes the previous value of Q0Q_0, which was 11.
    • Thus, Q0=0,Q1=1  ⟹  Y=0⋅1‾=0Q_0 = 0, Q_1 = 1 \implies Y = 0 \cdot \overline{1} = 0.
  4. Third Positive Edge:
    • XX remains 00, so Q0Q_0 becomes 00.
    • Q1Q_1 takes the previous value of Q0Q_0, which was 00.
    • Thus, Q0=0,Q1=0  ⟹  Y=0⋅0‾=0Q_0 = 0, Q_1 = 0 \implies Y = 0 \cdot \overline{0} = 0.

Therefore, YY is high (11) only during the interval between the first and second positive clock edges, which corresponds to the waveform shown in Option A.

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

Published
Report a correction
Keep exploringMore Combinational Circuits questions