Forum Discussion
Altera_Forum
Honored Contributor
16 years agoIn every language, if the condition is true then action1 else action2.
you are free to use if only or add else or else if depending on what you want to do in each case. If a variable is not assigned in a construct then it retains its value. In synthesisable HDL, this means a latch or register(if clked).