Hello
I am doing some simulations with the C6000 DSP family. I am using the simulator CCS V4 (C674x CPU Cycle Accurate Simulator, Little Endian).
I am using the library "FastMath” (c67xmathlib_2_01_00_00) function “rsqrtsp_c()" to make the calculations of square roots. But the calculations are incorrect.
The result of √100 = 10. Using the "rsqrtsp_c ()" the result is: √100 = 0.1.
The result of √625 = 25. Using the "rsqrtsp_c ()" the result is: √625 = 0.04.
Am I doing something wrong?
Attached there is a design example where this error happens.
Thanks
Rafael.