I am on a project to build a drink machine.Below is the question and the state diagram.I would to do it with conventional method not Verilog or VHDL.I have some questions:
-Is the state diagram correct?
-How do I construct next state equation while there are so many input out there?
-Can you guys give me some draft to proceed with this project?
-And I want to ask is any component or way to control the clock?For example, when I insert 10 cent, the signal will stay high forever but won't fall down, so what i want is when i insert coin the clock will high then low,then when I enter second coin the signal become high again and add them up.
If i am in the totally wrong direction,hope you all can correct me.Thanks.
-Is the state diagram correct?
-How do I construct next state equation while there are so many input out there?
-Can you guys give me some draft to proceed with this project?
-And I want to ask is any component or way to control the clock?For example, when I insert 10 cent, the signal will stay high forever but won't fall down, so what i want is when i insert coin the clock will high then low,then when I enter second coin the signal become high again and add them up.
If i am in the totally wrong direction,hope you all can correct me.Thanks.
Attachments
-
153.6 KB Views: 46
-
45.5 KB Views: 20