Question: A. State diagram or ASM B. state and output table c. All associated source codes a. A vending machine sells a snack bar. A snack

A. State diagram or ASM
B. state and output table
c. All associated source codes
a. A vending machine sells a snack bar. A snack bar costs $1.75. The machine accepts 25c, $1, and $2 coins (the machine will not accept other coins or bills). Once $1.75 has been inserted, the bar is dispensed. If more than $1.75 is inserted, you can choose i. Return all coins back to customers. Or ii. Dispense the bar and return the change to customers. (2 bonus points for this option) b. The Machine must have a cancel button. Customers can cancel their purchase any time. The machine must have a confirmation button to confirm the final purchase. d. Output: you choose as many as output status lights you want. Indicate the meaning of each light. C. e. write a three-process VHDL model of the state machine. f. Input requirements i. 25 cents ii. 1 dollar iii. 2 dollars iv. Reset V. Cancel vi. Confirm g. Output requirements i. Display amount on seven segment properly (including the decimal point) ii. Other outputs will be display as LED lights a. A vending machine sells a snack bar. A snack bar costs $1.75. The machine accepts 25c, $1, and $2 coins (the machine will not accept other coins or bills). Once $1.75 has been inserted, the bar is dispensed. If more than $1.75 is inserted, you can choose i. Return all coins back to customers. Or ii. Dispense the bar and return the change to customers. (2 bonus points for this option) b. The Machine must have a cancel button. Customers can cancel their purchase any time. The machine must have a confirmation button to confirm the final purchase. d. Output: you choose as many as output status lights you want. Indicate the meaning of each light. C. e. write a three-process VHDL model of the state machine. f. Input requirements i. 25 cents ii. 1 dollar iii. 2 dollars iv. Reset V. Cancel vi. Confirm g. Output requirements i. Display amount on seven segment properly (including the decimal point) ii. Other outputs will be display as LED lights
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
