Forum Discussion
Altera_Forum
Honored Contributor
15 years agoThank you both for the replies, I can see now why the latches are created.
FvM: --- Quote Start --- It's the pure logic equations that actually matter. control_word_register and latch_counter are assigned in a combinational (or "level sensitive") process, so latches are created. The behaviour is unsafe, because logical combinations of the same signals are generating different latch states. Unavoidable glitches in the generated logic make the latch state possibly unpredictable. --- Quote End --- is there a way fix the unsafe behavior in the above code?