Forum Discussion
Altera_Forum
Honored Contributor
15 years agoSOPC builder
hi, my problem is that i'm trying to get floating point numbers in nios; i had done my program yesterday and it was succesfull when it generated, but in nios it was giving 0 when i wrote numbers with...
Altera_Forum
Honored Contributor
15 years agoHi
I've done programs with NIOS II with FP custom instructions and they've work fine. Remember that in order to use printf you have to use something like %4.2 (4 integer digits and 2 decimal). Try to create a new C/C++ application with the program and the PTF file generated.