%type: module

module P():
output x;
begin
  t := 0;
  _tick := 0;
  z := 1;
  delay_state := 0;
  tt := 0;
  {
    x := delay_state;
    y := 1 - x;
    delay_state := y;
    {tt_dot = 1 & tt < 1}
    t := t + tt;
    _tick := _tick + 1;
    tt := 0;
  }*
end
endmodule
system
  P=P()
endsystem