Skip to main content

GATE CSE 2018Digital Logic › Sequential Circuits & CountersVerified

GATE CSE 2018 PYQ: Consider the sequential circuit shown in the figure, where both flip-flops used are positive edge-triggered…

Consider the sequential circuit shown in the figure,  where both flip-flops used are positive edge-triggered D\text{D} flip-flops.

GATE CSE 2018 Sequential Circuits & Counters diagram: Consider the sequential circuit shown in the figure, where b

The number of states in the state transition diagram of this circuit that have a transition back to the same state on some value of "in" is ____

    Answer

    2

    Approach

    Model the given circuit as two cascaded positive-edge-triggered D flip-flops. Let the state be the pair of flip-flop outputs. Derive the next-state equation and count how many states can return to themselves for at least one value of the input.

    The circuit is a two-bit shift register with next-state equation \((Q_L^+,Q_R^+)=(\text{in}, Q_L)\). Enumerating all four states shows exactly two states, 00 and 11, have a transition back to themselves for some input: 00 on input 0, and 11 on input 1. Therefore the required number is 2.

    Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.