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/...
GuaBin_N_Intel
Contributor
7 years agoDo you include the timer in your Qsys platform system and connect to NIOS?https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/ug/ug_embedded_ip.pdf, 23 Interval Timer Core. It has to be done prior to using that HAL driver.
JEL_W
New Contributor
7 years agoYes I've included the timer in QSys platform,
- GuaBin_N_Intel7 years ago
Contributor
Have you selected any timer in "timestamp_timer" setting in your BSP editor?
- JEL_W7 years ago
New Contributor
thank youuu , yes I just do it right now, but even though i cannot visualize the time and the result, alt_timestamp_start is always <0 so I got this: