5. Design a Process Controller

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.

Q1Q0startload_dprocess_dQ1+Q0+D1D0COMPLETE
000XX00000
001XX01010
01X0X01010
01X1X10100
10XX010100
10XX111110
11XXX11111

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.