Forum Discussion
Altera_Forum
Honored Contributor
18 years agoIf you really do need an unclocked latch, refer to the coding styles in the Quartus handbook that rmorley pointed you to. The chapter includes information on how to code latches to get a hazard-free implementation and where to look in the Analysis & Synthesis compilation report to confirm that you did indeed get that kind of implementation. If a latch is not listed as free of timing hazards, then it can do strange things in simulation and in real hardware. It could have glitches, wind up at the wrong level, or even oscillate continuously.