How eckucukoglu/basic-vending-machine works
Project type and purpose
• This is a hardware-design project written in Verilog, implementing a basic vending machine.
• The top-level “Board232.v” likely instantiates the core module “lab3_2.v,” which contains the vending-machine FSM and I/O logic. A separate testbench (“lab3_testbench.v”) drives inputs and checks outputs.
File structure
• src/Board232.v → top-level wrapper/module for FPGA or simulation harness
• src/lab3_2.v → core vending-machine logic (FSM, coin counter, product dispenser, change calculator)
• src/lab3_testbench.v → testbench that applies stimulus (coins, selections) and observes outputs (dispensed items, change)
• doc/problem.pdf → problem statement & requirements
README for additional insights
• The machine accepts money, allows multiple item selections, and returns remainder in coins.
Detail but avoid over-engineering
• Every distinct functional block (counter, decoder, dispenser, change logic).