Altera_Forum
Honored Contributor
15 years agoMAX7000 initialization problem
I am using Quartus II with a MAX7000s EPM7128. I am having a problem with an 8 bit latch not being initialized properly on power up of the CPLD. The latch outputs should be all zero after the cpld is powerd on, but instead it is loaded with random values.
The latch has a clear input which is fed by two signals through an OR gate. One signal is generated internally by other logic, the other signal comes in on the GCLRn pin of the CPLD and is fed by a power fail reset /power on reset circuit. When the CPLD is powered on, the 8 bit latch has random bits set on the output. If I get rid of the OR gate and route only one of the signals (doesn't matter which one) to the latch clear pin (and ignore the other one) then the latch initializes to zero on power up. If I remove all connections to the clear pin on the latch it initializes correctly on power up. The circuit works exactly as expected except for on power up. Any ideas?