Forum Discussion
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- THere are no latches in an FPGA, only LUTs and registers. A synchronous register can hold the value for you. Latches are prone to glitching and cannot be analysed for timing, so are heavily discouraged in an FPGA (and you will get warnings when they are created in the synthesisor. --- Quote End --- ok thanks Tricky, so you're saying that I should put the if inc=1 condition under the event clock condition, correct?