Forum Discussion
Altera_Forum
Honored Contributor
18 years agoIn FPGA's defining a latch can give you infinite loop in simulation. Latches have combination feedback, in fpga's the timing is hard to define so it is recomended the you do I synchornous design and not I asynchornous design. Due to the nature of FPGA's I would start with a D-flip-flop. You could take a look Quartus II Handbook :recommended hdl coding styles (http://www.altera.com/literature/hb/qts/qts_qii51007.pdf) for more advice.