Forum Discussion
Altera_Forum
Honored Contributor
9 years agoYou havent really said what you wanted to do. Even in the previous example, you code simply adds 1 to initval, so v1 is always initval + 1. It will not increment. You need some enable signal to mark when you actually want to assign the initval.