peter92
Newbie level 3
Hi
Not sure if I'm posting this the right place, but here goes:
I'm working on a vending machine project. The VHDL code for the entity is in this pastie:
http://pastie.org/5475527
I need some help with getting the system to do what I want. As it is now, when one of the coin-buttons are pressed, the sum-so-far will keep on incrementing every clock cycle for as long as the button is pressed.
I would like for the system to increment the sum only once every time a button is pressed.
So far, I have tried different solutions myself, but none seem to work.
Not sure if I'm posting this the right place, but here goes:
I'm working on a vending machine project. The VHDL code for the entity is in this pastie:
http://pastie.org/5475527
I need some help with getting the system to do what I want. As it is now, when one of the coin-buttons are pressed, the sum-so-far will keep on incrementing every clock cycle for as long as the button is pressed.
I would like for the system to increment the sum only once every time a button is pressed.
So far, I have tried different solutions myself, but none seem to work.