Quantcast
Channel: Altera Forums
Viewing all articles
Browse latest Browse all 19390

Need help with VHDL-project

$
0
0
Hi
I'm working on a vending machine project. The VHDL code for the entity is in this pastie:



(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 everytime a button is pressed.



So far, I have tried different solutions myself, but none seem to work.

Viewing all articles
Browse latest Browse all 19390