Forum Discussion
Altera_Forum
Honored Contributor
13 years agoYour statement:
fourth = 1; fourth = 2; etc does not implement fourth to be 1 then 2. It is compile time settled to fourth = 2 as it updates the sequential statement on same node. you need to create logic for that using a flag: 0 to assign 1, 1 to assign 2 to same signal.