Altera_Forum
Honored Contributor
18 years agoApparent Reset Glitch on Synchronous Reset
While running SW tests, at random times it looks like all my internal registers are getting cleared to their reset values. This is true for both registers and SOPC modules. Depending on the SW I run, this happens at different locations and at random times. My best guess is that I am getting a glitch on the reset line.
However, the reset signal is generated synchronously so I don't understand how it could glitch. There are two reset sources which both have at least 2 levels of synchronization to the clock. The internal reset signal is the output of a DFF. I have captured the event using signal tap and I do not see any of the FF's invloved in the reset changing value. If I add or remove signals from SignalTap and recompile I change the behavior of the system. Sometimes it will fail and other times I can't reproduce the failure. Since I can recompile the code with no logic changes (only SignalTap changes) and get the problem to go away it's not clear to me if I make changes to the logic that I can prove I have solved the problem. Any thoughts? Thanks, Stefan