Forum Discussion
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- yup, you're right. I'm a bit old-fashioned ;-) But you must admit, this works too. --- Quote End --- Yes it does, and Im sure its how many started, but you can easily fall into the latch trap. As I understand the 2 process state machine is a throwback to very old compilers that could only cope with registers and logic in separate processes. But this hasnt been the case for a long time. For anyone starting, I would always recommend a single process (it reads better in my mind too - more like software!) To the OP - AFAIK, the same problems can also happen in verilog. So get googling.