|
Message
From: Tom Hawkins<tom@l...>
Date: Sat Mar 20 15:02:52 CET 2004
Subject: [oc] Re: CF_Cordic_v_8_8_8
Hi Sidd,The vectoring cordic, denoted by the "v" in filename, rotates a vector to the positive real axis. It is normally used to find a vector's phase or to get an estimation of the vector's magnitude.
The cordic inputs a vector's real component (x axis), imaginary component (y axis), and an initial phase (angle). Typically the input angle is set to zero. The cordic algorithm iteratively rotates the input vector to the positive real axis, accumulating the angle as it goes. At the output, the real component is the magnitude estimation, the imaginary component should be close to zero, and the angle is the accumulated angle of rotation (assuming it started at zero).
For example, if you input:
real_i = 0 imag_i = n ang_i = 0
after a few clock cycles, the outputs should approximate:
real_o = n * 1.647 (note the scale factor) imag_o = 0 ang_o = 90 (deg)
Ray Andraka describes the details of the cordic algorithm on his website:
http://www.andraka.com/cordic.htm
Hope this helps.
-Tom
On Wednesday 17 March 2004 10:23 am, you wrote: > Dr.Hawkins , > I am a Graduate Student at the University of Tennessee , Knoxville. > I was going through your cf_cordic_v_8_8_8.v program . > > I understand that it has 3 inputs and produces 3 outputs. What I > dont understand is that how is the input related to the output. I > know it is a cordic algorithm , but the cordic algorithm can be > used to do a lot of calculations .. I did not understand which task > was being implemented here . Please excuse me for this silly > question but I was unable to relate to the input and output. > > Could you please enlighten me with an example. > > Thanks a lot in advance > Sidd > > Sidd Devalapalli > Graduate Teaching Assistant > ECE, Univ. of Tennessee. > Tel : (865) 974 6537 (work) > http://web.utk.edu/~sdevalap/
-- Tom Hawkins Launchbird Design Systems, Inc. 952-200-3790 http://www.launchbird.com/
|
 |