Forum Discussion
Altera_Forum
Honored Contributor
15 years agoHow can i use CORDIC ?
Hello i am trying to use the cordic core { http://opencores.org/project,cordic } with no sucess. Say i have a complex number of 4 + 5i. I have inserted 1000 as the Xi input and 1001 as the Yi...
Altera_Forum
Honored Contributor
14 years agowith the fixed point library, you dont need to worry about scaling factors:
constant UM_TERCO : sfixed := to_sfixed(0.3333, N-1, -M); --N integer bits, M fractional
signal temp_fasor_real8 : sfixed(A downto 0)
signal Va_real : signed(N+A-1 downto -M);
Va_real <= temp_fasor_real8 * UM_TERCO;