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:

kam1787

Advanced Member level 3
Joined
Jul 5, 2010
Messages
928
Helped
167
Reputation
340
Reaction score
168
Trophy points
1,323
Location
English
Activity points
5,825
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
 

Aquaa Marine

Newbie level 3
Joined
Apr 7, 2014
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
20
Yes. I have done those. Started working on the coding as well. But got stuck and can not sort it out.. :(
 

u7karsh

Member level 2
Joined
Sep 24, 2013
Messages
50
Helped
11
Reputation
22
Reaction score
11
Trophy points
8
Activity points
297
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

Top