![]() |
|
|
|
#1 |
|
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 |
|
|
|
|
#2 |
|
Posts: n/a
|
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 |
|
|
|
#3 |
|
Posts: n/a
|
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 |
|
![]() |
| Thread Tools | Search this Thread |
|
|
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 |