Altera_Forum
Honored Contributor
14 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 operands or first operand must be power of 2 --> x_in1 <= 2*f1* conv_integer(signed(qsin_out1))/ conv_integer (signed (m_out1)); plz help me how i rectify this error. thanks in advance.