Forum Discussion
Altera_Forum
Honored Contributor
17 years agoMaybe you can also just add a range to the integer declaration, this would tell quartus which values it can expect. It is always a good idea to constrain integers that way in a design if you want to use it in hardware.
variable num: INTEGER range 0 to 5 := 0; Lokla