Skip to content
Official PYQ · 2026

GATE CS 2026 Set 1 Q27 — Sequential Circuits

Explain with AI

Consider a 22-bit saturating up/down counter that performs the saturating up count when the input PP is 00, and the saturating down count when PP is 11. The Next State table of the counter is as shown. The counter is built as a synchronous sequential circuit using D flip-flops.

InputCureent StateNext State
P\text{P}Q1\text{Q}_{1}Q0\text{Q}_{0}Q1+\text{Q}_{1}^{+}Q0+\text{Q}_{0}^{+}
0000000011
0000111100
0011001111
0011111111
1100000000
1100110000
1111000011
1111111100

Which one of the following options corresponds to the expressions for the inputs of the D flip-flops, D1D_{1} and D0D_{0}?

Choose one option
View worked solution

Answer: B

For a synchronous sequential circuit using D flip-flops, the excitation equations are directly equal to the next-state equations:

D1=Q1+andD0=Q0+D_1 = Q_1^+ \quad \text{and} \quad D_0 = Q_0^+

1. Minimizing D1D_1:

From the given next-state table, the minterms for Q1+Q_1^+ are:

D1(P,Q1,Q0)=∑m(1,2,3,7)D_1(P, Q_1, Q_0) = \sum m(1, 2, 3, 7)

Using a 3-variable K-map for D1D_1:

  • Group 1: m(1,3)  ⟹  PˉQ0m(1, 3) \implies \bar{P}Q_0
  • Group 2: m(2,3)  ⟹  PˉQ1m(2, 3) \implies \bar{P}Q_1
  • Group 3: m(3,7)  ⟹  Q1Q0m(3, 7) \implies Q_1Q_0
D1=PˉQ1+PˉQ0+Q1Q0D_1 = \bar{P}Q_1 + \bar{P}Q_0 + Q_1Q_0

2. Minimizing D0D_0:

The minterms for Q0+Q_0^+ are:

D0(P,Q1,Q0)=∑m(0,2,3,6)D_0(P, Q_1, Q_0) = \sum m(0, 2, 3, 6)

Using a 3-variable K-map for D0D_0:

  • Group 1: m(0,2)  ⟹  PˉQ0ˉm(0, 2) \implies \bar{P}\bar{Q_0}
  • Group 2: m(2,3)  ⟹  PˉQ1m(2, 3) \implies \bar{P}Q_1
  • Group 3: m(2,6)  ⟹  Q1Q0ˉm(2, 6) \implies Q_1\bar{Q_0}
D0=PˉQ0ˉ+PˉQ1+Q1Q0ˉD_0 = \bar{P}\bar{Q_0} + \bar{P}Q_1 + Q_1\bar{Q_0}

Thus, the correct option is B.

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

Published
Report a correction
Keep exploringMore Sequential Circuits questions