Forum Discussion
Altera_Forum
Honored Contributor
10 years agoCrazy reset behaviour
Hi there,
I have a reset mapped to one push button, and this reset is only attached to an internal process (check attached image) that triggers different resets on my design. Still, when I looked at its behaviour, on SignalTap, it is completely random. Any good reason to explain it!? Thanks in advance! Regards,2 Replies
- Altera_Forum
Honored Contributor
Mechanical switches like pushbuttons bounce for some period of time after each actuation. If you can't tolerate those random state changes you need to debounce the input. Google "push button debounce" and you should get enough info to proceed.
Bob - Altera_Forum
Honored Contributor
Hi Bob,
thanks a lot for your reply! Indeed the problem seems to be something like what you mentioned. I have solved it by creating a pre and post-reading process on the button, in order to isolate its reading! Thanks!