Design and implement a vending machine (Moore FSM) with the following specification using VHDL.
Accepts and returns only quarters
Vends either Coke, or Pepsi, or a chocolate ba for a dollar
Vends peanuts for 75 cents
Vends snacks for 50 cents
Returns the money back when coin return is pressed
If more than one dollar is inserted, the excess money is automatically returned
Returns the balance money automatically after vending the product.