Forum Discussion
JEL_W
New Contributor
7 years agoFloats number nios
hi all, I want to implement this operation, in NIOS II : float a,b,c,registre; clock_t temps_initial,temps_final; float temps_cpu; a=2.45; b=3.48; temps_initial =clock(); registre=a/...
Abe
Frequent Contributor
7 years agoHave you included the NIOS2 floating point hardware modules along with the timer mentioned in the prev post? If not, you need to add these two modules to perform floating point calculations as well as to calculate clock ticks/cycles.
Post a screenshot of your Qsys system setup here . We maybe able to help you after checking that.
- JEL_W7 years ago
New Contributor
No , I did it with an other example but it didn't work, I don't know exactly how to use it, and which libraries we have to include ?