Loading simulator…
Each state checks only its relevant completion input. load_d does not control the FSM after it leaves LOAD, and process_d does not control it before PROCESS.
X means either HIGH or LOW; the input does not affect that row.
Q1 | Q0 | start | load_d | process_d | Q1+ | Q0+ | D1 | D0 | COMPLETE |
|---|---|---|---|---|---|---|---|---|---|
| 0 | 0 | 0 | X | X | 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | 1 | X | X | 0 | 1 | 0 | 1 | 0 |
| 0 | 1 | X | 0 | X | 0 | 1 | 0 | 1 | 0 |
| 0 | 1 | X | 1 | X | 1 | 0 | 1 | 0 | 0 |
| 1 | 0 | X | X | 0 | 1 | 0 | 1 | 0 | 0 |
| 1 | 0 | X | X | 1 | 1 | 1 | 1 | 1 | 0 |
| 1 | 1 | X | X | X | 1 | 1 | 1 | 1 | 1 |
The D-input and output equations are:
D1 = Q1 + Q0·load_d
D0 = Q1'·Q0'·start
+ Q0·load_d'
+ Q1·process_d
+ Q1·Q0
COMPLETE = Q1·Q0
Reset is connected to the asynchronous active-LOW CLR input of both state flip-flops.