data/full_repos/permissive/42434302/ivltests/pr923.v
1: b'%Error: data/full_repos/permissive/42434302/ivltests/pr923.v:62: Unsupported or unknown PLI call: $monitor\n    $monitor("%t p1=%b p2=%v",$time,p1,p2);\n    ^~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/42434302/ivltests/pr923.v:63: Unsupported: Ignoring delay on this delayed statement.\n    #101 $finish;\n    ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/42434302/ivltests/pr923.v:70: Unsupported: Ignoring delay on this delayed statement.\n      #5 p1=1\'b1;\n      ^\n%Warning-STMTDLY: data/full_repos/permissive/42434302/ivltests/pr923.v:71: Unsupported: Ignoring delay on this delayed statement.\n      #5 p1=1\'b0;\n      ^\n%Warning-STMTDLY: data/full_repos/permissive/42434302/ivltests/pr923.v:82: Unsupported: Ignoring delay on this delayed statement.\n    #5 p=1\'b1;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/42434302/ivltests/pr923.v:83: Unsupported: Ignoring delay on this delayed statement.\n    #5 p=1\'b0;\n    ^\n%Error: Exiting due to 1 error(s), 5 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module pulse;
reg p1,p2;


  initial
  begin
    $monitor("%t p1=%b p2=%v",$time,p1,p2);
    #101 $finish;
  end


  initial
    repeat(10)
    begin
      #5 p1=1'b1;
      #5 p1=1'b0;
    end


  initial
    repeat(10) single_pulse(p2);


  task single_pulse;
  output p;
  begin
    #5 p=1'b1;
    #5 p=1'b0;
  end
  endtask

endmodule
module pulse;

reg p1,p2;


  initial
  begin
    $monitor("%t p1=%b p2=%v",$time,p1,p2);
    #101 $finish;
  end


  initial
    repeat(10)
    begin
      #5 p1=1'b1;
      #5 p1=1'b0;
    end


  initial
    repeat(10) single_pulse(p2);


  task single_pulse;
  output p;
  begin
    #5 p=1'b1;
    #5 p=1'b0;
  end
  endtask

endmodule