没有这样的电路,改成下面的就没事了:
Process (RST)
Begin
if RST = '0' then
RSTY <= '1'; --2010/11/29
else
RSTY<= CFRESET;
end if;
end process;
不就是要在rst信号的上升沿让RSTY输出CFRESET吗。你原先的语句根本就没有那样的电路。
Process (RST)
Begin
if( RST'event and RST = '0') then RSTY <= '1'; --2010/11/29
ELSIf RST'event and RST='1' then RSTY<= CFRESET;
end if;
end process;
我这是 上升沿有效或者下降沿有效