Moore State Table help

Thread Starter

Komperf

Joined Oct 4, 2014
5
Hello everyone,

I am working on the following and am having some issues starting. It is to design a state table for a combination lock using the Moore FSM.

For example, the first two states are the following:

State 0: returns 1 when RIGHT is pressed, and 0 otherwise
State 1: returns 1 once a RIGHT press sets count to the first combination value, 0 for any
other count value on a RIGHT press, and 2 for a LEFT press.

I understand that for a Moore FSM, the output values is determine by the input values. I am having an issue starting the state table.

I know that there are two inputs - Left and Right. For State 0, if the input is Right, the output is 1. If it is Left, it is 0. However, does this mean that I transition right into State 1 afterwards? Or for State 0, if the input is left I am still on State 0?

Any guidance would be greatly appreciated.
 
Top