FSM I/O
inputs description outputs description
reset FSM in initial state HG, HY, HR grn/ylw/red hwy lights
C vehicle on farm road FG, FY, FR grn/ylw/red farm lights
TS short time interval expired ST Time a short / long interval
TL long time interval expired
Some light configurations imply othersstate descriptionS0 highway green ? farm road redS1 highway yellow ? farm road redS2 farm road green ? highway redS3 farm road yellow ? highway red