[an error occurred while processing this directive]
|
process(clk,rst)
begin
if rst = '1' then
ce5 <= '0';
cnt <= x"0";
elsif clk = '1' and clk'event then
if ce = '1' then
cnt <= x"0";
elsif cnt(2) = '0' then
cnt <= cnt + 1;
end if;
if ce = '1' then
ce5 <= '1';
elsif cnt(2) = '1' then
ce5 <= '0';
end if;
end if;
end process;
process(clk,rst)
begin
if rst = '1' then
wr <= '0';
s0 <= '0';
elsif clk = '1' and clk'event then
s0 <= not nwe;
wr <= not (s0 or nwe);
end if;
end process;
E-mail: info@telesys.ru