Question: Let's turn back the clock to when cokes from a vending machine cost 35. Design a finite state machine to accept nickels (N), dimes (D),

Let's turn back the clock to when cokes from a vending machine cost 35. Design a finite state machine to accept nickels (N), dimes (D), and quarters (Q) and return change if the amount is over the purchase price. The machine does not accept dollar bills. At maximum a person could mistakenly put into the machine 55. Table 1 below will help you understand some combinations of coins to use; be sure every coin combination is covered. Remember to reuse states if possible. Using Quartus II and the DE2 board, implement your design using switches for N, D, and Q along with a clock pulse. When the proper payment is made, an LED will indicate a coke was dispensed. Returned change will be indicated by a set of LEDs. Be sure to hand in your state diagram and table with your submission. When you finish, demonstrate the vending machine for Dr. Lewelling. Please hand in a schematic and functional/timing simulation. You can receive a bonus if you display amount of inserted coinage and change on the 7 segment displays. OC 0 7 5 3 2 1 0 Table 1: Example of Coin combinations used for the vending N D Q Amount Change 0 0 35 1 0 35 0 2 35 0 0 1 350 OC 3 35 0 1 1 35 0 4 40 5 2 1 45 10 0 2 50 15 3 1 55 20 0 0 0 0 0 Let's turn back the clock to when cokes from a vending machine cost 35. Design a finite state machine to accept nickels (N), dimes (D), and quarters (Q) and return change if the amount is over the purchase price. The machine does not accept dollar bills. At maximum a person could mistakenly put into the machine 55. Table 1 below will help you understand some combinations of coins to use; be sure every coin combination is covered. Remember to reuse states if possible. Using Quartus II and the DE2 board, implement your design using switches for N, D, and Q along with a clock pulse. When the proper payment is made, an LED will indicate a coke was dispensed. Returned change will be indicated by a set of LEDs. Be sure to hand in your state diagram and table with your submission. When you finish, demonstrate the vending machine for Dr. Lewelling. Please hand in a schematic and functional/timing simulation. You can receive a bonus if you display amount of inserted coinage and change on the 7 segment displays. OC 0 7 5 3 2 1 0 Table 1: Example of Coin combinations used for the vending N D Q Amount Change 0 0 35 1 0 35 0 2 35 0 0 1 350 OC 3 35 0 1 1 35 0 4 40 5 2 1 45 10 0 2 50 15 3 1 55 20 0 0 0 0 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
