M
Mich
Guest
Hi
I 'm programming something and with this code I don't get any error
tel := tel +1;
if (tel = 4) then
tel := 0;
rico := rico + 20;
if (rico = 100) then
rico := 0;
som := 0;
end if;
end if;
som := som + rico;
klx := 170;
grx := 190;
if (x_pos > klx and x_pos < grx) then
if (y_pos > 240 and y_pos < 260) then
sec_tek <= '1';
else
sec_tek <= '0';
end if;
else
sec_tek <= '0';
end if;
but when I change
klx := 170;
grx := 190;
to
klx := 170 + som;
grx := 190 + som;
I get this error message
FATAL_ERROR:Xst:xstedge.c:128:1.4 - Signal tekensec_main_som<0> has no
source after simplification. This may be due to a non load
combinatorial loop. Process will terminate. To resolve this error,
please consult the Answers Database and other online resources at
http://support.xilinx.com. If you need further assistance, please open
a Webcase by clicking on the "WebCase" link at
http://support.xilinx.com
Can somebody help me?
Mich
I 'm programming something and with this code I don't get any error
tel := tel +1;
if (tel = 4) then
tel := 0;
rico := rico + 20;
if (rico = 100) then
rico := 0;
som := 0;
end if;
end if;
som := som + rico;
klx := 170;
grx := 190;
if (x_pos > klx and x_pos < grx) then
if (y_pos > 240 and y_pos < 260) then
sec_tek <= '1';
else
sec_tek <= '0';
end if;
else
sec_tek <= '0';
end if;
but when I change
klx := 170;
grx := 190;
to
klx := 170 + som;
grx := 190 + som;
I get this error message
FATAL_ERROR:Xst:xstedge.c:128:1.4 - Signal tekensec_main_som<0> has no
source after simplification. This may be due to a non load
combinatorial loop. Process will terminate. To resolve this error,
please consult the Answers Database and other online resources at
http://support.xilinx.com. If you need further assistance, please open
a Webcase by clicking on the "WebCase" link at
http://support.xilinx.com
Can somebody help me?
Mich