Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
8 years ago

Simulation of Cordic sincos IP core: Wrong signals for negative input signals

Hi,

i have problems with the Cordic sincos IPcore (https://www.altera.com/en_US/pdfs/literature/ug/ug_cordic.pdf).

When i do the simulation, for positive signals i get the right signals but for negative input signals i receive wrong output signals and some of them are out of range. Am i doing a mistake?

Here is an example out of my simulation:

Input angle: 1110010010000111111011010100 (-3.14159265)

Output cosine: 001010011101010101001100000 (0,6523..)

Output sine: 110011111001000010001100001 (-1,242..)

Best regards

4 Replies