Question: 2 . [ FSM Optimization, 4 0 pts ] Consider a vending machine that only accepts Dime ( $ 1 0 ) and Nickel

2.[FSM Optimization, 40pts] Consider a vending machine that only accepts Dime (\$10) and Nickel (\$5). When the total input reaches \(\$ 15\), the machine dispenses a drink. Once the vending machine is in the "open" state (drink dispensed), it remains in the open state until a RESET signal is received. The FSM below represents all possible input sequences. Referencing this FSM, answer the following questions:
(a) Minimize the FSM using a Moore machine. (Ensure the FSM accounts for all possible inputs in each state, including N, D, RESET, and N'D'.)[20pts]
(b) Encode the states of the Moore machine such that the current state's accumulated amount is represented in increasing order. Use D flip-flops, 2-input AND gates, and OR gates to draw the circuit. (The initial state with \(\$ 0\) should be encoded as \(\mathbf{00}\), followed by \(\mathbf{01}\) for the next smallest amount, and so on.)[20pts]
2 . [ FSM Optimization, 4 0 pts ] Consider a

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Electrical Engineering Questions!