Quantcast
Channel: Altera Forums
Viewing all articles
Browse latest Browse all 19390

CORDIC vs. Matlab results

$
0
0
Hello,
I am using Altera CORDIC for ATan2 and SinCos functions. I am applying the same test vectors to the CORDIC ATan2 and SinCos functions testbench and to the ATan2 and SinCos Matlab Models. I see about 10% of samples don’t match between CORDIC functions and Matlab outputs. For both Matlab and CORDIC I use the same S18,17 inputs for ATan2; S11,8 output for ATan2; S11,8 input for SinCos; S10,8 output for SinCos.
Any idea why it happens?
Thanks,
Mike

Viewing all articles
Browse latest Browse all 19390

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>