Altera_Forum
Honored Contributor
12 years agoPresettable and clearable registers converted to equivalent circuits with latches....
"warning (13004): presettable and clearable registers converted to equivalent circuits with latches. registers power-up to an undefined state, and devclrn places the registers in an undefined state."
Basically, what I did is that using "assign" statement to do some arithmetic calculations based on the current states of the registers. Then, at the next posedge of clock, update the same group of registers using these computational results. Therefore, there are some feedback loops controlled by the clock. I have carefully checked all the used registers have initial states via a reset signal. Initialization via "initial" block didn't help.