- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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, MikeLink Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
cordic gives approximate result and its accuracy depends on number of internal iterations(rotations).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- cordic gives approximate result and its accuracy depends on number of internal iterations(rotations). --- Quote End --- Kaz, Thanks! Could you please recommend application notes or/and user manuals I could learn more how to increase CORDIC accuracy?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- Kaz, Thanks! Could you please recommend application notes or/and user manuals I could learn more how to increase CORDIC accuracy? --- Quote End --- I understand you are using Altera's cordic but can't find any link to its manual. Xilinx has cordic ip and its manual at: http://www.xilinx.com/support/documentation/ip_documentation/cordic/v6_0/pg105-cordic.pdf This should give you some idea about available settings. there is also a cordic ip at opencores. It is not difficult to write your own targeting specific trigonometric function. The following pdf provides a good basis: http://www.ee.ic.ac.uk/pcheung/teaching/ee3_dsd/crdcsrvy.pdf
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page