data/full_repos/permissive/205055389/vlib/timer.v
 line:94: before: "."
1: b"%Error: data/full_repos/permissive/205055389/vlib/timer.v:94: syntax error, unexpected '.', expecting '['\nmodule OSCILLATOR #(.HZ(1000)) (Z);\n                    ^\n%Error: data/full_repos/permissive/205055389/vlib/timer.v:97: syntax error, unexpected output\n  output Z;\n  ^~~~~~\n%Error: data/full_repos/permissive/205055389/vlib/timer.v:101: syntax error, unexpected initial\n  initial\n  ^~~~~~~\n%Error: data/full_repos/permissive/205055389/vlib/timer.v:107: Unsupported or unknown PLI call: $tkg$systime\n      if (t == 0) t = $tkg$systime;\n                      ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/205055389/vlib/timer.v:109: Unsupported or unknown PLI call: $tkg$waituntil\n      $tkg$waituntil(t);\n      ^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/205055389/vlib/timer.v:112: Unsupported or unknown PLI call: $tkg$waituntil\n      $tkg$waituntil(t);\n      ^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/205055389/vlib/timer.v:126: syntax error, unexpected '.', expecting '['\nmodule ONESHOT #(.HZ(1000)) (I,Z);\n                 ^\n%Error: data/full_repos/permissive/205055389/vlib/timer.v:131: syntax error, unexpected always\n  always\n  ^~~~~~\n%Error: data/full_repos/permissive/205055389/vlib/timer.v:135: Unsupported or unknown PLI call: $tkg$wait\n      $tkg$wait(HZ);\n      ^~~~~~~~~\n%Error: Exiting due to 9 error(s)\n"
module OSCILLATOR #(.HZ(1000)) (Z);
  parameter HZ0 = HZ/2;
  parameter HZ1 = HZ - HZ0;
  output Z;
  reg Z;
  time t;

  initial
    t = 0;

  always
    begin
      Z = 1'b0;
      if (t == 0) t = $tkg$systime;
      t = t + HZ0;
      $tkg$waituntil(t);
      Z = 1'b1;
      t = t + HZ1;
      $tkg$waituntil(t);
    end
  

endmodule
module OSCILLATOR #(.HZ(1000)) (Z);

  parameter HZ0 = HZ/2;
  parameter HZ1 = HZ - HZ0;
  output Z;
  reg Z;
  time t;

  initial
    t = 0;

  always
    begin
      Z = 1'b0;
      if (t == 0) t = $tkg$systime;
      t = t + HZ0;
      $tkg$waituntil(t);
      Z = 1'b1;
      t = t + HZ1;
      $tkg$waituntil(t);
    end
  

endmodule