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 agoThanks Daix. Now i understand.
However i can't multipliy a std_logic_vector (or a signed) for an integer. Can i? And does this := to_signed(integer(0.85*ScalingFactor),VectorsSize) ; work? Is it sinthetizable? I think i saw this on the fixed_point lib i tried the following:
constant um_terco : signed (40 downto 0) := to_signed(integer(0.3333),41);
signal Va1_real : std_logic_vector (117 downto 0);
signal temp_fasor_real8 : std_logic_vector (76 downto 0);
Va1_real = std_logic_vector(um_terco * signed(temp_fasor_real8))
where temp-fasor_real8 = 1773 in binary however the result was 0..