If the state machine described in figure should have a stable state, the restriction on the inputs is given by
GATE CSE 1993Digital Logic › Sequential Circuits & CountersVerified
GATE CSE 1993 PYQ: If the state machine described in figure should have a stable state, the restriction on the inputs is given by
- A
- BCorrect answer
- C
- D
- E
Answer
(B) a + b = 1 a+b=1 a + b = 1
Approach
Analyze the state transition diagram: S1 self-loops when a=1 and goes to S2 when a=0; S2 self-loops when b=1 and goes to S1 when b=0. A stable state exists unless the machine oscillates forever between S1 and S2, which happens only when a=0 and b=0 simultaneously. Therefore the input restriction is that a and b cannot both be 0, i.e. a+b=1.
The only input assignment that gives no stable state is a=0,b=0, causing S1 ↔ S2 oscillation. Hence the inputs must satisfy a+b=1. Correct option: B.
Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.