All Exams Test series for 1 year @ ₹349 only
Question

Consider a 2-bit saturating up/down counter that performs the saturating up count when the input $P$ is 0, and the saturating down count when $P$ is 1. The Next State table of the counter is as shown. The counter is built as a synchronous sequential circuit using D flip-flops.
InputCurrent StateNext State
$P$$Q_1$$Q_0$$Q_1^+$$Q_0^+$
00001
00110
01011
01111
10000
10100
11001
11110

Which one of the following options corresponds to the expressions for the inputs of the D flip-flops, $D_1$ and $D_0$?

The correct answer is
$D_1 = \bar{P} Q_1 + \bar{P} Q_0 + Q_1 Q_0$
$D_0 = \bar{P} \bar{Q}_0 + \bar{P} Q_1 + Q_1 \bar{Q}_0$

Deriving Flip-Flop Inputs for a 2-Bit Counter

The problem requires finding the Boolean expressions for the D inputs ($D_1$ and $D_0$) of the D flip-flops used to build a synchronous 2-bit saturating up/down counter. The next state ($Q_1^+, Q_0^+$) is determined by the current state ($Q_1, Q_0$) and the input $P$, as given in the Next State table.

The D input of a D flip-flop should be connected to the desired next state value. Therefore, $D_1 = Q_1^+$ and $D_0 = Q_0^+$. We can derive these expressions using Karnaugh maps (K-maps) based on the provided Next State table.

First, let's represent the Next State table as a truth table:

Truth Table for Next State
$P$ $Q_1$ $Q_0$ $Q_1^+$ ($D_1$) $Q_0^+$ ($D_0$)
0 0 0 0 1
0 0 1 0 0
0 1 0 1 1
0 1 1 1 0
1 0 0 0 0
1 0 1 0 1
1 1 0 1 0
1 1 1 1 1

Karnaugh Maps for $D_1$ and $D_0$

We construct K-maps for $D_1$ and $D_0$ using the variables $P, Q_1, Q_0$. The K-maps shown below correspond to the expressions in the correct option.

Karnaugh Map for $D_1$

Based on the analysis leading to the correct option, the K-map for $D_1$ is:

K-Map for $D_1$
$P \backslash Q_1 Q_0$ 00 01 11 10
0 0 1 1 1
1 0 0 1 0

Simplifying this K-map yields the expression:

$D_1 = \bar{P} Q_1 + \bar{P} Q_0 + Q_1 Q_0$

Karnaugh Map for $D_0$

Based on the analysis leading to the correct option, the K-map for $D_0$ is:

K-Map for $D_0$
$P \backslash Q_1 Q_0$ 00 01 11 10
0 1 0 1 1
1 1 0 0 1

Simplifying this K-map yields the expression:

$D_0 = \bar{P} \bar{Q}_0 + \bar{P} Q_1 + Q_1 \bar{Q}_0$

Final Expressions

The derived expressions for the D flip-flop inputs are:

$D_1 = \bar{P} Q_1 + \bar{P} Q_0 + Q_1 Q_0$

$D_0 = \bar{P} \bar{Q}_0 + \bar{P} Q_1 + Q_1 \bar{Q}_0$

These expressions match Option B.

Was this answer helpful?

Important Questions from Sequential Circuits

  1. The design of synchronous circuit involves following steps 

    A. From the specifications, derive a state diagram of a circuit 

    B. Derive the simplified flip-flops input and output equations. 

    C. Reduce the number of state, if necessary 

    D. Choose the type of flip-flops to be used 

    E. Assign binary values to the states and obtain binary coded table 

    Choose the correct answer from the options given below:

  2. Find the time periods ($T_{ON}$ and $T_{OFF}$) of an astable multivibrators that oscillates at 50 kHz and 60% duty cycle.
  3. In the procedural statement, reset action occurs if ____________ 

    always @ (negedge clock) begin

    if (! Reset) D=0; else Q=D 

    end

  4. Read the following statements :

    i. Gate is a combinational logic.
    ii. JK Flip-flop in toggle mode is not combinational logic.
    iii. MSJK FF suffers from race-around.
    iv. Counters are sequential circuits.

    Which is correct ?

  5. Which flip-flop can be used as latch ?

Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App