[an error occurred while processing this directive]
[an error occurred while processing this directive]
|
вот так.
if (clk'event and clk = '1') then
if (UP='1' and cnt=0xFFFFFFFF) then upover <='1' else upover<='0'; end if;
if (DOWN ='1' and cnt=0x00000000) then downover <='1' else downover <='0'; end if;
end if;
Соответсвенно сигналы upover и downover - разрешающие сигналы к "повесить к чего-нить".
E-mail: info@telesys.ru