Forum Discussion
Altera_Forum
Honored Contributor
8 years agoIf loop with parameters.
I have this bothering me for quite some time now. I make a simple loop with ifs to create a state machine, where I just want stuff to happen in a certain order after some flags are activated. ...
Altera_Forum
Honored Contributor
8 years agoHave you tried using case statements instead of ifs? I can't see anything wrong with the way you've written the ifs but what you're describing would work equally well (if not better) with a case statement so it'd be worth seeing if the compiler behaves better with that...