vending machine circuit
u are required to design a mealy type FSM dispense a piece of candy for 50 cent.The machine accepts 10 cent and 20 cent and coins only.It takes 50 cent to dispense one candy from the machine.If 60 cent is deposited,the machine will not return the change but will credit the buyer with 10 cent and wait for the buyer to make a second purchase.
encoding method: gray
implementation tech:Jk flip flop
ANYONE WHO KNOW THIS QUESTION PLS HELP ME !!!THANKS! URGENT FOR ASSIGNMENT !