Forum Discussion
Altera_Forum
Honored Contributor
15 years agohelp to correct error in program
sir/mam, part of my program is :## m_out1 : std_logic_vector(15 downto 0);qsin_out1 :std_logic_vector(14 downto 0); x_in1,f1 : integer,# ## error : Operator <DIVIDE> must have constant operand...
Altera_Forum
Honored Contributor
15 years agoSince it says something related to power of 2 error, try changing the "14 downto 0" to "15 downto 0" that might fix the problem