[an error occurred while processing this directive]
|
variable
coun[13..0] : dff;
eqaw : dff;
n1 : node;
tt : dff;
begin
n1 = coun[].q == B"00000000010000";
eqaw.clk = clk;
eqaw.d = n1;
tt.clk = clk;
tt.d = tt.q;
tt.prn = !eqaw.q;
tt.clrn = ti;
coun[].clk = clk;
if !ti then
coun[].d = B"11111111111111";
elsif tt.q then
coun[].d = B"00000000000000";
else coun[].d = coun[].q-1;
end if;
q[] = coun[].q;
end;
компилятор выдает предупреждение, но схема синхронна, и времянка то что надо.
E-mail: info@telesys.ru