Armando1989
Occasional Contributor
10 months agoAltera Max, reset at startup?
Hi there
Im having issue with the startup status on cpld, seems it does not reset itself on bootup or i dont know how to...
So, for instance, a code which alternate output enable signal between latches corresponding 2 srams in ping-pon fashion, ends up as below when first switch on cpld; before i manually press reset button:
U can imagine there is contention since both rams are accessed same time like that...
If i then press reset button (active low), all becomes just perfect as per simulation, rams are alternated:
Is there a need of additional external reset circuitery for cplds?. Above is just example, but i have same issue for other projects too.
Thanks in advance dudes!
BR
- Hi,
according to project files, you are using MAX7000. It's a long time that I designed with the device family, if I remember right, it involves an internal POR.
Problem is that an asynchronous reset (either POR or dedicated external signal) may cause occasionally unexpected state of registers if clock is already running. Reset must be synchronized to clock to overcome the issue.
There are several reason why POR may not be sufficient, e.g. non-monotic supply rise.
An external supply supervision chip with delay can solve problems, reset synchronization to clock may be still required.