**UPGRADE YOUR BROWSER**

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Community Forums
- :
- Forums
- :
- Hardware Development
- :
- AI Engine, DSP IP and Tools
- :
- Re: calculate arcsin using CORDIC 6.0

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

uzmeed

Adventurer

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

08-30-2019 11:19 AM

356 Views

Registered:
07-27-2010

calculate arcsin using CORDIC 6.0

Hi

I need to implement arcsin using Xilinx system generator

Can any body please help how can I do that using CORDIC 6.0 or any other method

Regards

Uzmeed

6 Replies

hermanfisher1994

Contributor

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

09-01-2019 04:01 AM

290 Views

Registered:
12-10-2018

Re: calculate arcsin using CORDIC 6.0

Hi!

As we know CORDIC IP-Core can calculate arctan, so it's enough to find arcsin(x) as a function of arctan(x). So let's do that!

* Assume t = arcsin(x)

sin(t) = x --> cos(t) = sqrt (1-x^2) --> tan(t) = x/(sqrt(1-x^2)) -->

t = arcsin(x) = arctan ( x / (sqrt (1-x^2) )

So you can use the above formula to find arcsin(x)!

I hope this be useful for you, Good luck.

** Please accept this as solution if it helped you to solve your problem. **

uzmeed

Adventurer

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

09-01-2019 11:14 AM

262 Views

Registered:
07-27-2010

Re: calculate arcsin using CORDIC 6.0

bruce_karaffa

Scholar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

09-01-2019 12:19 PM

254 Views

Registered:
06-21-2017

Re: calculate arcsin using CORDIC 6.0

dgisselq

Scholar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

09-01-2019 07:26 PM

229 Views

Registered:
05-21-2015

Re: calculate arcsin using CORDIC 6.0

- If you want low latency, use a table look up
- If you want better accuracy than the table lookup alone can achieve, then lookup polynomial coefficients and interpolate between the points
- While I don't have ARCSIN, I've done this using a quadratic polynomial and sin/cos. The result is cheaper and faster than CORDICs, but does require two multiplies.

Dan

Highlighted
##

Our friends mentioned important notes.

Just to confirm that, you can have a pipeline architecture and have one output at each clock edge after specific number of clocks. This is called latency, not delay. And it can be acceptable or not, it depends on your design requirements.

** Please accept this as solution if it helped you to solve your problem. **

hermanfisher1994

Contributor

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

09-02-2019 09:49 PM

204 Views

Registered:
12-10-2018

Re: calculate arcsin using CORDIC 6.0

Just to confirm that, you can have a pipeline architecture and have one output at each clock edge after specific number of clocks. This is called latency, not delay. And it can be acceptable or not, it depends on your design requirements.

** Please accept this as solution if it helped you to solve your problem. **

uzmeed

Adventurer

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

09-12-2019 11:12 AM

148 Views

Registered:
07-27-2010

Re: calculate arcsin using CORDIC 6.0

Hi

thank you all for your continous support . I had been implementing the arcsin and for that calculating the square root but the answer I am getting is wrong I tried alot but could not succeed

My design is as attached

Due to the reason that the cordic requires the input UFix48_47

I am not getting the output as needed

Another question is that what is the input range of CORDIC 6.0 to calculate the sqrt

Regards

Uzmeed