GATE / CS ARCHIVE

GATE CSE 1993 / QUESTION 6.2

Stable states of a state diagram

Digital Logic · Finite-State Machine Design · Full GATE CSE 1993 paper

GATE 1993, Q6.2 2 marks · MSQ
Report issue

Finite-State Machine Design

Question 6.2, GATE 1993: Recovered diagram: S1 loops for a=1 and goes to S2 for a=0; S2 loops for b=1 and goes to S1 for b=0. Which input restriction makes the machine have a stable state? A ab=1; B a+b=1; C ¬a+¬b=0; D ¬(ab)=1; E ¬(a+b)=1. Here + means Boolean OR. The section permits multiple correct alternatives.
Tap to enlarge
Select all that apply
Answer & solution

Answer: B is the exact condition; A, B and C are sufficient restrictions if read as select-all-that-apply (no official key was published)

The arrows give S1→S1 when a=1 and S1→S2 when a=0; S2→S2 when b=1 and S2→S1 when b=0. Hold the inputs constant and test each pair. At (a,b)=(0,0), both states leave themselves, so there is no fixed point. At (0,1), S2 is stable and S1 reaches it. At (1,0), S1 is stable and S2 reaches it. At (1,1), both states are stable. Thus at least one stable state exists exactly when a∨b=1, giving B as the necessary-and-sufficient, least restrictive condition. A and C both force a=b=1 and hence are also sufficient restrictions, though not necessary. Because the original section allows multiple correct alternatives and the wording does not explicitly ask for the least restrictive condition, A,B,C is defensible under a merely sufficient-condition reading. D permits (0,0), while E requires (0,0), so neither guarantees stability.

Original paper, page 4