- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
which Tools version, IP are you using?
Attach few Output images.
few of IP user guides which supports sin function.
https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/ug/archives/ug_nco_14.1.pdf
https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/ug/ug_cordic.pdf
https://www.intel.co.jp/content/dam/altera-www/global/ja_JP/pdfs/literature/ug/ug_altfp_mfug.pdf
Regards
Anand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please verify that your application is not working while you think it is not.
As a matter of fact lim(x->0) sin(x)=x, so for small angles the sine of an angle is the angle itself.
Do also note that calculations are in radians, not in degrees and that you are limited to -PI/PI or 0..PI/2 depending on your input parameter.
If you still fail, please provide reply and I will try to make an example (I am just in the middle of project with floating point calculations).
If you would like to use a lookup table, I provided an example where you can generate a .MIF using a .XLS spreadsheet (including VBA macro) and a demo project where the .mif is used to calculate a sine using the lookup table.
Best Regards,
Johi.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page