Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
776 Views

Crazy 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,
0 Kudos
2 Replies
Highlighted
Valued Contributor III
3 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
Highlighted
Valued Contributor III
3 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