[an error occurred while processing this directive]
|
process(CLK_2, CLK_8)
variable cnt: integer range 0 to 10;
begin
if(rising_edge(CLK_2)) then
if(CLK_8='0') then cnt:=0; FSR<='0';
else
cnt:= cnt+1;
if(cnt=10) then cnt:=9;
end if;
if(cnt<9) then FSR <= '1';
else FSR<='0';
end if;
end if;
end if;
end process;
E-mail: info@telesys.ru