electronical
Advanced Member level 4
hello.how can I solve it?
I want when the process is started the signal "stop_internal='1' and when it finished signal "stop_internal ='0' ,but this error is occured?
Signal stop_internal cannot be synthesized, bad synchronous description
I want when the process is started the signal "stop_internal='1' and when it finished signal "stop_internal ='0' ,but this error is occured?
Signal stop_internal cannot be synthesized, bad synchronous description
Code:
process(clk,reset,clk_external,clr_in)
variable i:integer range 0 to 8;
variable col_index_nonzero_i:integer range 1 to 2304;
variable a:integer range 0 to 1;
variable stop_internal:bit;
begin
if reset ='1' then
i:=0;
else
if (clr_in'event and clr_in='1') then
stop_internal:='1';
end if;
if (clk'event and clk='1')and (stop_internal='1') then
if i=length_row then
i:=1;
stop_internal:='0';
i:=1;
else
i:=i+1;
end if;
if b>0 then
a:=1;
else
a:=0;
end if;
end if;
end if;
end process;