I am trying to draw a fsm for a welding machine. So far I have the following table, which I think is right.. The system has three normal states: stopped, started, and welding. It will only transition from stopped to started when the power button is pressed, and from started to welding when the weld button is pressed, then from weld to stopped when the power button is pressed again. The system only has a single output: a signal called fail, which is set to a 1 if there is an incorrect sequence of button presses. Adding a failed state makes the system easy to implement as a Moore machine. The state transition table would look something like:
Following that description can anyone help me with the design please? It has been a long time since I did something very similar.