Forum Discussion
Altera_Forum
Honored Contributor
9 years agovariable initialization help
Hi all, For a process, the variable only take the initial value at the first time the process is running, then it will take the last value of that variable. I am wondering how can I initial the...
Altera_Forum
Honored Contributor
9 years ago --- Quote Start --- Will the value of v1 be initialized to initval at every clock edge in this case? --- Quote End --- Yes. Is there any reason you are using variables rather than signals?