Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - atan in a FPGA

 
Thread Tools Search this Thread
Old 09-23-2003, 06:35 PM   #1
Default atan in a FPGA


Hi folks,

Could any one suggest me how to implemet an 'atan' function in a FPGA?
I've seen the Taylor polinomian but, is there any other way ?

rgds,

Bodhi




Andi
  Reply With Quote
Old 09-24-2003, 03:05 PM   #2
Ralf Hildebrandt
 
Posts: n/a
Default Re: atan in a FPGA
Hi Andi!


> Could any one suggest me how to implemet an 'atan' function in a FPGA?
> I've seen the Taylor polinomian but, is there any other way ?


What about a lookup-table (with linear/binomic/... interpolation)?

Ralf



Ralf Hildebrandt
  Reply With Quote
Old 09-25-2003, 09:58 AM   #3
Acciduzzu
 
Posts: n/a
Default Re: atan in a FPGA
Hi,

Another solution is to use a CORDIC rotator, working in the so-called
"vectoring mode". This allows you to get the phase and the amplitude
(polar coordinates) of an input vector specified in cartezian
coordinates (X and Y).
M = SQRT(X^2+Y^2);
A = ATAN(Y/X);
What you have to do now is to choose a convenient constant vaue for X
and use Y as your argument to ATAN.
Anyway, you cand find more info on the CORDIC algorithm on the net and
you will se you can do a lot more things with it than just compute
ATAN.
A pretty good example of synthesizable VHDL code can also be found on
www.opencores.org.

Hope this helps

Acciduzzu


Acciduzzu
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Connection of Camera With FPGA Saim General Help Related Topics 0 03-02-2009 03:40 PM
communication PowePC FPGA eiria Hardware 0 05-28-2008 08:10 PM
Interfacing intel IXP 2350 with FPGA as a crypto processor channakeshava Hardware 0 04-24-2008 08:50 AM
how to test FFT core on FPGA dinesh_14feb Hardware 0 08-03-2007 01:50 PM
how to test FFT core on FPGA dinesh_14feb General Help Related Topics 0 08-03-2007 01:48 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46