Altera_Forum
Honored Contributor
13 years agointeger arithmetic
I'm getting weird results when I do integer division. Frequency is being read in as 60 but the result being stored in var_1b /= 1e9/60 (~1.6E7). Instead the result reported by temp2 is 20522. ...