Forum Discussion
Altera_Forum
Honored Contributor
12 years agoI 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.