Forum Discussion
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- I am not surprised that it doesn't seem to work in hardware since you depend on manual switching. manual switching is too slow and leads to rebounce thus when you press any switch it will go through 0/1 for sometime until it settles. The remedy is to add switch debounce logic. --- Quote End --- ------------------------------------ Wow Kaz you are genius, thank you for the help i will try to read about switch debounce logic and see how it can be added to the code, since i am just a beginner in vhdl and using of the Altera DE2-115 hardware. Once more i am grateful