[an error occurred while processing this directive]
|
делаю так ->
process(X)
variable CONT:INTEGER range 0 to 3 := 0;
variable a: std_logic := '0';
begin
if X'event then
if CONT = 3 then CONT:=0; a:=not a;
else CONT:=CONT+1;
end if;
end if;
Y <= a;
end process;
при симуляции в Active-HDL всё нормально, после синтеза в Leonardo, и последующей симуляции в MAX plus фигня какая-то, на выходе 'X'-undefined.
E-mail: info@telesys.ru