rg350dxlover
Member level 1
Hi guys. Can anybody tell me what's wrong with this code? Is it because of the floating point? Because I tried changing it but I still get the same error. It says - can't determine definition of operator ""-"" -- found 0 possible definitions
Thanks.
Code:
process (timeSTP)
begin
if (timeSTP = '0') then
Np <= (1.00 + (Nin - Nout)*0.25);
else
P <= (1.50 + (Nin - Nout)*0.25);
end if;
Thanks.