cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Participant
Participant
3,555 Views
Registered: ‎11-27-2007

Trig functions via Power Series in the DSP48

Are there any examples of using DSP48s to compute sine and cosine using the power series?

 

Background: I have a very small logic footprint application that needs to compute a LOT (thousands) of sine/cosines, but not too terribly fast. I'll be using a 7-series part (looking like an Artix at this point) and didn't want to use CORDIC because of the large number of resources consumed and the fact that the DSP48s will be doing nothing else. Is this a good approach? Recommendations welcome, thanks.

0 Kudos
3 Replies
Highlighted
Scholar
Scholar
3,545 Views
Registered: ‎02-27-2008

Re: Trig functions via Power Series in the DSP48

0 Kudos
Highlighted
Scholar
Scholar
3,544 Views
Registered: ‎02-27-2008

Re: Trig functions via Power Series in the DSP48

Oh, you DON'T want to use cordic....


Well, then looks like you are on your own.

Austin Lesea
Principal Engineer
Xilinx San Jose
0 Kudos
Highlighted
Scholar
Scholar
3,522 Views
Registered: ‎09-16-2009

Re: Trig functions via Power Series in the DSP48

 

Cordic is still the probably the right answer.  "Huge resources"?  A few adder/subtractors (could use the DSP48s for this), a few registers and a small state machine.

 

Other options - depending on bit width requirements - stick the table in a Block RAM or two. 

 

Regards,

 

Mark

 

 

 

0 Kudos