Skip to content
GATEiit

GATE CSE 2018 Q32: Self-loop states in a two flip-flop shift register

Syllabus topic: Design of combinational and sequential circuits

Question

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

Two D flip-flops in series sharing a common clock. The input “in” goes to D of the first flip-flop; Q of the first flip-flop goes to D of the second; Q of the second flip-flop is the output “out”. A single clock line drives the clock inputs of both flip-flops.
Tap the figure to enlarge

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 _____.

Try it: numerical answer: type the value

Numerical answer. No negative marking.
Show answer and explanation

Answer: 2 (official GATE 2018 final answer key)

Concept used: This is a 2-bit shift register: on each clock edge the state (Q1,Q2) becomes (in,Q1).

Concept notes

Loading notes…

First step: Write the next state of each of the four states 00, 01, 10, 11 for in = 0 and in = 1, and check which states can map to themselves.

Full step-by-step solution

Loading…

Answer from the official final answer key. Found a mistake? Use Report issue and we will fix it.

More questions on Design of combinational and sequential circuits

Every PYQ on this topic →

Share this question

WhatsAppDownload image

Source: official GATE 2018 CS question paper and final answer key, organised by IIT Guwahati. Question paper · Answer key