[an error occurred while processing this directive]
|
constant MAX_COUNT: integer :=759;
constant SET_BIT: integer :=400;
signal Count: integer range 0 to MAX_COUNT;
signal Strobe: std_logic;
SYNC:process(Reset,Clk)
begin
if Reset='0' then
Count<=0;
elsif rising_edge(Clk) then
if Count=MAX_COUNT then Count<=0;
else Count<=Count + 1;
end if;
end if;
end process SYNC;
Strobe<='1' when Count=SET_BIT else '0';
E-mail: info@telesys.ru