mohit1108
Newbie level 2
I have made a program for PI controller and the excerpts are as follows-
v1<= v_prev + (k1*iq_error)+(k2*f_prev1)+(k3*f_prev2);
All the variables are std logic vector ( 7 downto 0)
but there is an error in execution of this code-
* can not have such operands in this context.
I have also included IEEE.NUMERIC_STD.ALL; but still error persists.
please help me out
v1<= v_prev + (k1*iq_error)+(k2*f_prev1)+(k3*f_prev2);
All the variables are std logic vector ( 7 downto 0)
but there is an error in execution of this code-
* can not have such operands in this context.
I have also included IEEE.NUMERIC_STD.ALL; but still error persists.
please help me out