Forum Discussion
Altera_Forum
Honored Contributor
11 years agoYou are right but I think it's a matter of readibility and avoiding mistakes.
I find it more easy to read splitting the RTL into a combination process and a sequential process. So, no need for variable. when you need the _next value(comb) right away in the sequential process just use the LVALUE (next) in the decision making. It's always harder to spot errors in simulation using Variables and simulation/synthesis mismatch ocurrs more. YMMV