You are on page 1of 1

%macro HIGHTIME_SQ 'prm0'.

%entry name = INIT_SQ; start_address *; disable_match;


cond hsr1=1, hsr0=1, lsr=x, m/tsr=x, flag0=x, pin=x:
ram p <- @HIGHTIME_SQ.
chan tbs := out_m1_c1,
pin := low,
pac := toggle,
enable_mtsr.
au ert:= tcr1 + p;
chan neg_mrl, net_tdl, neg_lsl,
write_mer.
end.
%entry name = TRANSITION_SQ; start_address *; disable_match;
cond hsr1=x, lsr=x, m/tsr = 1, flag0 = x, pin =x:
ram p <- @HIGHTIME_SQ.
au ert:= ert + p;
chan neg_mlr,
write_mer.
end.
%entry name = UNUSED_SQ; start_address *; disable_match;
cond hsr1 = x, lsr = x, m/tsr = 0, flag0 = x, pin = x:
chan neg_lsl;
end.