Forum Discussion
Altera_Forum
Honored Contributor
15 years agoOh yes now that I read again what I wrote, I realise I wasn't entirely clear in my explanation. ;)
In pure theory (and in simulation) the original code should work because the process is supposed to be only triggered when 'count' changes, and it will do a latch. In practise though, the synthesizer ignores the process sensitivity list and that's why we'll have the infinite loop.