Forum Discussion
Altera_Forum
Honored Contributor
8 years agoSimulation 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 f...
Altera_Forum
Honored Contributor
8 years agoI solved the problem, i just made a beginner failure. My problem was that i didnt know how to depict a negativ binary representation right.
For example the input value above representing -pi is wrong, the right representation for -pi is: 1001101101111000000100101100 (1 sign bit, two integer bits, 25 fractional bits) Therefore i wasn't able to evaluate the simulation right. So everything is working fine.