Reading a Finite-State Circuit
A finite-state circuit stores a coded state and maps that state and current inputs to a next state and outputs.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 4
- Reading time
- 1 min
In this article4 chapters
Trace a signal detector
A two-state detector remembers whether the preceding sampled bit is one. On a new one, it can report adjacent ones if that prior state is set, then store the current bit as new state. Adjacent pair iteration models the same dependence.
Check the startup rule
Initial prior state depends on reset or another initialization. For sequence 0, 1, 1, a reset to zero gives outputs 0, 0, 1. Write a transition table before selecting bit codes.[1]
Read next state and output as separate functions
A toy request receiver uses idle and busy states. In idle, a request starts busy. In busy, a done signal returns to idle. The output “occupied” can depend only on the current busy bit. See state transition tables.
State Input condition Next state Occupied before update
Idle request=1 Busy 0
Busy done=0 Busy 1
Busy done=1 Idle 1
Idle request=0 Idle 0
Test simultaneous and irrelevant inputs explicitly
A busy-state request may be ignored or queued under different designs. An idle-state done signal likewise needs a rule. Resolve every accepted input combination before treating a partial table as a full hardware or software specification.