Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

CORDIC rotation mode

Status
Not open for further replies.

Vanitha Vani

Newbie level 5
Joined
Jul 15, 2015
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
49
while using cordic algorithm in rotation mode ,initial vector is (x,y) position .can we calcultate the final vector position (Xn,Yn) after 5 iterations.

because i tried manually to rotate (1,0) rotating for 45 deg, after 5 iterations i got (1.63,1.65).
but actually trignometic value after rotation is (0.7,0.7)
 

Your result looks okay to me. In CORDIC, there is a growth factor because the rotations are not unit norm. Under a normal implementation, you should be able to see that the overall growth will be:

\[\prod_{k=0}^{N-1}\sqrt{1 + \left(\frac{1}{2^k}\right)^2}\]​

after N iterations. As N gets larger, that value approaches approximately 1.647... which is pretty close to what you got. There may or may not be an extra factor of √2, depending on how you handle the first iteration.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top