Forum Discussion
Altera_Forum
Honored Contributor
16 years agoBasically there are 2 problems:
1. It thinks "load" is a clock. On the edge of load, Q_int is updated along with Q1_int and Q2_int 2. Now that Q_int has changed, it changes Q1 and Q2 int to fixed values, so now these things that were clocked, are no longer clocked. Now, because you dont have a clock - you dont have to do your logic inside a process. But I think you really could use a clock, like Daixiwen suggests. One big issue though, appears to be that you're trying to write the code without understanding the hardware that you're describing.