Recover safely from an unused state

A synchronous door controller uses three state encodings: IDLE =00=00, OPENING =01=01, and OPEN =10=10. The encoding 1111 is unused. Its state bits are ordered (Q1,Q0)(Q_1,Q_0).


Existing next-state functions H1H_1 and H0H_0 correctly implement every required transition from the three legal states. However, at Q1Q0=11Q_1Q_0=11, they produce H1=H0=1H_1=H_0=1 for every input combination.


Define an illegal-state detector


E=Q1∧Q0.E=Q_1\land Q_0.


Which replacement equations preserve every legal-state transition and force the next state to IDLE at the first rising edge after the unused state is detected? Assume the next-state signals meet setup and hold requirements.

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Synchronous Sequential Circuits Questions: