Forum Discussion
Altera_Forum
Honored Contributor
10 years agoNios II freezes when printing double values/ does not print float values
Hi there, I´m using the MAX10 Eval Board with a 10M08SAE144C8GES FPGA and an Nios II/f processor. But when i try to print a float value the JTAG output just skips the value. I´m using th...
Altera_Forum
Honored Contributor
10 years agoIs your Nios CPU compiled with the floating point custom instructions? If not you need to use software emulation. I think there is a compiler flag for it.
Second, __uint64_t sounds more like a integer type, and using it with a %f in printf may lead to undefined behaviour.