• Home
  • Blog
  • Designing vending MACHINE and porting Verilog function module in FPGA.

Designing vending MACHINE and porting Verilog function module in FPGA.

0 comments

1. The Vending Machine is a DVD dispenser machine that dispenses DVD based on the amount deposited in the machine. In this vending machine, it accepts only two coins, 5 point and 10 point. Whenever total of coins equal to 15 points, then DVD signal will go high and user will get DVD. It will not return any coin, if total of points exceeds 15 points.

a) Write state transition diagram

b) Write The states

c) Write the functional form of the variables (e.g. next state eq, output eq) (with D flip flops)

d) Write the Verilog code for vending module in structural way (your flip flop module can be in behavioral way like you did for counter)

e) Port the Verilog modules in FPGA.

for the last part, it has to work in FPGA. Basys3 master

About the Author

Follow me


{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}