Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20688 Discussions

Crazy reset behaviour

Altera_Forum
Honored Contributor II
966 Views

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,
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
193 Views

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
0 Kudos
Altera_Forum
Honored Contributor II
193 Views

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!
0 Kudos
Reply