71.1k views
2 votes
(a) Draw the Moore finite state machine (FSM) of an electronic combination lock with a RESET button, two number buttons (0 and 1), and an unlock output. The combination should be 01011.

User Enix
by
4.4k points

1 Answer

5 votes

Answer:

Step-by-step explanation:

There are a total of 6 states and 3 bits in this problem. Whenever the Reset button is pressed, RESET state is called otherwise the state according to the diagram is called. For the combination to be "01011", the input sequence has to be in the same order. If 0 is pressed instead of 1 in state "010", the last state of output ending with 0 will be called and likewise in all the states that follow.

(a) Draw the Moore finite state machine (FSM) of an electronic combination lock with-example-1
User CadisEtRama
by
3.8k points