Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Need help for Vending machine using verilog code

Status
Not open for further replies.

Aquaa Marine

Newbie level 3
Joined
Apr 7, 2014
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
20
Hello..
I need to design a vending machine which can accept 10tk, 20tk n 50tk only. It will dispense chocolate, chips n bar.
Inputs,
Select 1 for chocolate,
Select 2 for chips,
Select 3 for bar
and they cost 10tk, 20tk n 30 tk respectively..
Now I am not understanding how to do coding if I select 3 (as in I want a bar) n put 50 Tk, then I will get the bar ( Not chocolate/ chips) with exchange 20 tk.

Hope I will get some help asap.
Thanks
 
Last edited:

What have you done so far?

Have you identified the interfaces, tables, and main blocks of logic?

Interfaces might be;
-coin release detection
-selection activation
-coin dispenser [for making change]
-coin detection and value
-display panel
 

Yes. I have done those. Started working on the coding as well. But got stuck and can not sort it out.. :(
 

Unable to get ur point.. show ur code snippet where u are facing problem so that we might help u out!
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top