Description: Vending Machine assume a simple vending machine selling merchandise categories, one category at $ 1, the price of a Class 2 yuan, and the other the price of 3 yuan. If the vending machine can only put one yuan and 2 yuan coin, only one coin slot, continuous coin vending opportunities but will change the total number of more than 3 yuan automatic exit. Once selected, they will sell merchandise, if the balance of the remaining change back, then turn the machine returns to the initial state of Hi.
To Search:
File list (Check if you may need any files):
vending_fsm.v
...........\vending_fsm.v
vending_fsm