Forum Discussion
Altera_Forum
Honored Contributor
21 years agonew user needs help with var inits..
Hello, I have a NIOS-1 design that I am having some trouble with. My tools are a bit dated, because I had to use NIOS-1 (because of the older FPGA on the board that I was forced to ue) -- S...
Altera_Forum
Honored Contributor
21 years agoNaN is for Not a Number. It seems like you might have a memory corruption, like something is setting the Total_output value to something other than zero between the time you initialized the value and tried to print the value.
If you happen to have an FS/2 black box, you could set a trigger to go off when the memory location of Total_output is written. This could indicate what code is overwriting your value.