data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v
 line:17: before: "("
1: b'%Error: data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v:29: Unsupported or unknown PLI call: $monitor\n  #1 $monitor($time,,i,,o[1],,o[2],,o[3],,o[4],,o[5],,o[6]);\n     ^~~~~~~~\n%Error: data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v:29: syntax error, unexpected \',\', expecting TYPE-IDENTIFIER\n  #1 $monitor($time,,i,,o[1],,o[2],,o[3],,o[4],,o[5],,o[6]);\n                    ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v:29: Unsupported: Ignoring delay on this delayed statement.\n  #1 $monitor($time,,i,,o[1],,o[2],,o[3],,o[4],,o[5],,o[6]);\n  ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v:32: Unsupported: Ignoring delay on this delayed statement.\n  #0      if (!check(1\'bx, 1\'bx, 1\'bx, 1\'bx, 1\'bx, 1\'bx)) failed = 1;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v:33: Unsupported: Ignoring delay on this delayed statement.\n  #1;  #0 if (!check(1\'bx, 1\'bx, 1\'bx, 1\'bx, 1\'bx, 1\'bx)) failed = 1;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v:33: Unsupported: Ignoring delay on this delayed statement.\n  #1;  #0 if (!check(1\'bx, 1\'bx, 1\'bx, 1\'bx, 1\'bx, 1\'bx)) failed = 1;\n       ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v:34: Unsupported: Ignoring delay on this delayed statement.\n  #1;  #0 if (!check(1\'bx, 1\'bx, 1\'b1, 1\'b1, 1\'bx, 1\'bx)) failed = 1;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v:34: Unsupported: Ignoring delay on this delayed statement.\n  #1;  #0 if (!check(1\'bx, 1\'bx, 1\'b1, 1\'b1, 1\'bx, 1\'bx)) failed = 1;\n       ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v:35: Unsupported: Ignoring delay on this delayed statement.\n  #1;  #0 if (!check(1\'bx, 1\'b1, 1\'b1, 1\'b1, 1\'b1, 1\'bx)) failed = 1;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v:35: Unsupported: Ignoring delay on this delayed statement.\n  #1;  #0 if (!check(1\'bx, 1\'b1, 1\'b1, 1\'b1, 1\'b1, 1\'bx)) failed = 1;\n       ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v:36: Unsupported: Ignoring delay on this delayed statement.\n  #1;  #0 if (!check(1\'b1, 1\'b1, 1\'b1, 1\'b1, 1\'b1, 1\'b1)) failed = 1;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v:36: Unsupported: Ignoring delay on this delayed statement.\n  #1;  #0 if (!check(1\'b1, 1\'b1, 1\'b1, 1\'b1, 1\'b1, 1\'b1)) failed = 1;\n       ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v:39: Unsupported: Ignoring delay on this delayed statement.\n  #0      if (!check(1\'b1, 1\'b1, 1\'b1, 1\'b1, 1\'b1, 1\'b1)) failed = 1;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v:40: Unsupported: Ignoring delay on this delayed statement.\n  #1;  #0 if (!check(1\'b1, 1\'b1, 1\'b1, 1\'b0, 1\'b1, 1\'b1)) failed = 1;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v:40: Unsupported: Ignoring delay on this delayed statement.\n  #1;  #0 if (!check(1\'b1, 1\'b1, 1\'b1, 1\'b0, 1\'b1, 1\'b1)) failed = 1;\n       ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v:41: Unsupported: Ignoring delay on this delayed statement.\n  #1;  #0 if (!check(1\'b1, 1\'b0, 1\'b1, 1\'b0, 1\'b1, 1\'b1)) failed = 1;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v:41: Unsupported: Ignoring delay on this delayed statement.\n  #1;  #0 if (!check(1\'b1, 1\'b0, 1\'b1, 1\'b0, 1\'b1, 1\'b1)) failed = 1;\n       ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v:42: Unsupported: Ignoring delay on this delayed statement.\n  #1;  #0 if (!check(1\'b0, 1\'b0, 1\'b1, 1\'b0, 1\'b1, 1\'b0)) failed = 1;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v:42: Unsupported: Ignoring delay on this delayed statement.\n  #1;  #0 if (!check(1\'b0, 1\'b0, 1\'b1, 1\'b0, 1\'b1, 1\'b0)) failed = 1;\n       ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v:43: Unsupported: Ignoring delay on this delayed statement.\n  #1;  #0 if (!check(1\'b0, 1\'b0, 1\'b0, 1\'b0, 1\'b0, 1\'b0)) failed = 1;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v:43: Unsupported: Ignoring delay on this delayed statement.\n  #1;  #0 if (!check(1\'b0, 1\'b0, 1\'b0, 1\'b0, 1\'b0, 1\'b0)) failed = 1;\n       ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v:46: Unsupported: Ignoring delay on this delayed statement.\n  #0      if (!check(1\'b0, 1\'b0, 1\'b0, 1\'bx, 1\'b0, 1\'b0)) failed = 1;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v:47: Unsupported: Ignoring delay on this delayed statement.\n  #1;  #0 if (!check(1\'b0, 1\'b0, 1\'b0, 1\'bx, 1\'b0, 1\'b0)) failed = 1;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v:47: Unsupported: Ignoring delay on this delayed statement.\n  #1;  #0 if (!check(1\'b0, 1\'b0, 1\'b0, 1\'bx, 1\'b0, 1\'b0)) failed = 1;\n       ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v:48: Unsupported: Ignoring delay on this delayed statement.\n  #1;  #0 if (!check(1\'bx, 1\'bx, 1\'bx, 1\'bx, 1\'b0, 1\'bx)) failed = 1;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v:48: Unsupported: Ignoring delay on this delayed statement.\n  #1;  #0 if (!check(1\'bx, 1\'bx, 1\'bx, 1\'bx, 1\'b0, 1\'bx)) failed = 1;\n       ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v:49: Unsupported: Ignoring delay on this delayed statement.\n  #1;  #0 if (!check(1\'bx, 1\'bx, 1\'bx, 1\'bx, 1\'bx, 1\'bx)) failed = 1;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v:49: Unsupported: Ignoring delay on this delayed statement.\n  #1;  #0 if (!check(1\'bx, 1\'bx, 1\'bx, 1\'bx, 1\'bx, 1\'bx)) failed = 1;\n       ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v:52: Unsupported: Ignoring delay on this delayed statement.\n  #0      if (!check(1\'bx, 1\'bx, 1\'bx, 1\'bz, 1\'bx, 1\'bx)) failed = 1;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v:53: Unsupported: Ignoring delay on this delayed statement.\n  #1;  #0 if (!check(1\'bx, 1\'bx, 1\'bx, 1\'bz, 1\'bx, 1\'bx)) failed = 1;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v:53: Unsupported: Ignoring delay on this delayed statement.\n  #1;  #0 if (!check(1\'bx, 1\'bx, 1\'bx, 1\'bz, 1\'bx, 1\'bx)) failed = 1;\n       ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v:54: Unsupported: Ignoring delay on this delayed statement.\n  #1;  #0 if (!check(1\'bz, 1\'bx, 1\'bx, 1\'bx, 1\'bx, 1\'bx)) failed = 1;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v:54: Unsupported: Ignoring delay on this delayed statement.\n  #1;  #0 if (!check(1\'bz, 1\'bx, 1\'bx, 1\'bx, 1\'bx, 1\'bx)) failed = 1;\n       ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v:55: Unsupported: Ignoring delay on this delayed statement.\n  #1;  #0 if (!check(1\'bz, 1\'bx, 1\'bx, 1\'bz, 1\'bx, 1\'bz)) failed = 1;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v:55: Unsupported: Ignoring delay on this delayed statement.\n  #1;  #0 if (!check(1\'bz, 1\'bx, 1\'bx, 1\'bz, 1\'bx, 1\'bz)) failed = 1;\n       ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v:56: Unsupported: Ignoring delay on this delayed statement.\n  #1;  #0 if (!check(1\'bz, 1\'bz, 1\'bz, 1\'bz, 1\'bx, 1\'bz)) failed = 1;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v:56: Unsupported: Ignoring delay on this delayed statement.\n  #1;  #0 if (!check(1\'bz, 1\'bz, 1\'bz, 1\'bz, 1\'bx, 1\'bz)) failed = 1;\n       ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v:57: Unsupported: Ignoring delay on this delayed statement.\n  #1;  #0 if (!check(1\'bz, 1\'bz, 1\'bz, 1\'bz, 1\'bz, 1\'bz)) failed = 1;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v:57: Unsupported: Ignoring delay on this delayed statement.\n  #1;  #0 if (!check(1\'bz, 1\'bz, 1\'bz, 1\'bz, 1\'bz, 1\'bz)) failed = 1;\n       ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/rise_fall_decay2.v:59: Unsupported: Ignoring delay on this delayed statement.\n  #1;\n  ^\n%Error: Exiting due to 2 error(s), 38 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module test();

localparam [7:0] dly1 = 4;
wire       [7:0] dly2 = 3;
reg        [7:0] dly3 = 2;

reg        i;
wire [6:1] o;

nmos #(dly1,   dly2,   dly3)   buf1(o[1], i, 1'b1);
nmos #(dly2,   dly3,   dly1)   buf2(o[2], i, 1'b1);
nmos #(dly3,   dly1,   dly2)   buf3(o[3], i, 1'b1);
nmos #(dly2-1, dly2-2, dly2-3) buf4(o[4], i, 1'b1);
nmos #(dly3+1, dly3+2, dly3+3) buf5(o[5], i, 1'b1);
nmos #(4,      3,      2)      buf6(o[6], i, 1'b1);

function check(input o1, input o2, input o3, input o4, input o5, input o6);

begin
  check = (o[1] == o1) && (o[2] == o2) && (o[3] == o3)
       && (o[4] == o4) && (o[5] == o5) && (o[6] == o6);
end

endfunction

reg failed = 0;

initial begin
  #1 $monitor($time,,i,,o[1],,o[2],,o[3],,o[4],,o[5],,o[6]);

  i = 1'b1;
  #0      if (!check(1'bx, 1'bx, 1'bx, 1'bx, 1'bx, 1'bx)) failed = 1;
  #1;  #0 if (!check(1'bx, 1'bx, 1'bx, 1'bx, 1'bx, 1'bx)) failed = 1;
  #1;  #0 if (!check(1'bx, 1'bx, 1'b1, 1'b1, 1'bx, 1'bx)) failed = 1;
  #1;  #0 if (!check(1'bx, 1'b1, 1'b1, 1'b1, 1'b1, 1'bx)) failed = 1;
  #1;  #0 if (!check(1'b1, 1'b1, 1'b1, 1'b1, 1'b1, 1'b1)) failed = 1;

  i = 1'b0;
  #0      if (!check(1'b1, 1'b1, 1'b1, 1'b1, 1'b1, 1'b1)) failed = 1;
  #1;  #0 if (!check(1'b1, 1'b1, 1'b1, 1'b0, 1'b1, 1'b1)) failed = 1;
  #1;  #0 if (!check(1'b1, 1'b0, 1'b1, 1'b0, 1'b1, 1'b1)) failed = 1;
  #1;  #0 if (!check(1'b0, 1'b0, 1'b1, 1'b0, 1'b1, 1'b0)) failed = 1;
  #1;  #0 if (!check(1'b0, 1'b0, 1'b0, 1'b0, 1'b0, 1'b0)) failed = 1;

  i = 1'bx;
  #0      if (!check(1'b0, 1'b0, 1'b0, 1'bx, 1'b0, 1'b0)) failed = 1;
  #1;  #0 if (!check(1'b0, 1'b0, 1'b0, 1'bx, 1'b0, 1'b0)) failed = 1;
  #1;  #0 if (!check(1'bx, 1'bx, 1'bx, 1'bx, 1'b0, 1'bx)) failed = 1;
  #1;  #0 if (!check(1'bx, 1'bx, 1'bx, 1'bx, 1'bx, 1'bx)) failed = 1;

  i = 1'bz;
  #0      if (!check(1'bx, 1'bx, 1'bx, 1'bz, 1'bx, 1'bx)) failed = 1;
  #1;  #0 if (!check(1'bx, 1'bx, 1'bx, 1'bz, 1'bx, 1'bx)) failed = 1;
  #1;  #0 if (!check(1'bz, 1'bx, 1'bx, 1'bx, 1'bx, 1'bx)) failed = 1;
  #1;  #0 if (!check(1'bz, 1'bx, 1'bx, 1'bz, 1'bx, 1'bz)) failed = 1;
  #1;  #0 if (!check(1'bz, 1'bz, 1'bz, 1'bz, 1'bx, 1'bz)) failed = 1;
  #1;  #0 if (!check(1'bz, 1'bz, 1'bz, 1'bz, 1'bz, 1'bz)) failed = 1;

  #1;
  if (failed)
    $display("FAILED");
  else
    $display("PASSED");
end

endmodule
module test();


localparam [7:0] dly1 = 4;
wire       [7:0] dly2 = 3;
reg        [7:0] dly3 = 2;

reg        i;
wire [6:1] o;

nmos #(dly1,   dly2,   dly3)   buf1(o[1], i, 1'b1);
nmos #(dly2,   dly3,   dly1)   buf2(o[2], i, 1'b1);
nmos #(dly3,   dly1,   dly2)   buf3(o[3], i, 1'b1);
nmos #(dly2-1, dly2-2, dly2-3) buf4(o[4], i, 1'b1);
nmos #(dly3+1, dly3+2, dly3+3) buf5(o[5], i, 1'b1);
nmos #(4,      3,      2)      buf6(o[6], i, 1'b1);

function check(input o1, input o2, input o3, input o4, input o5, input o6);

begin
  check = (o[1] == o1) && (o[2] == o2) && (o[3] == o3)
       && (o[4] == o4) && (o[5] == o5) && (o[6] == o6);
end

endfunction

reg failed = 0;

initial begin
  #1 $monitor($time,,i,,o[1],,o[2],,o[3],,o[4],,o[5],,o[6]);

  i = 1'b1;
  #0      if (!check(1'bx, 1'bx, 1'bx, 1'bx, 1'bx, 1'bx)) failed = 1;
  #1;  #0 if (!check(1'bx, 1'bx, 1'bx, 1'bx, 1'bx, 1'bx)) failed = 1;
  #1;  #0 if (!check(1'bx, 1'bx, 1'b1, 1'b1, 1'bx, 1'bx)) failed = 1;
  #1;  #0 if (!check(1'bx, 1'b1, 1'b1, 1'b1, 1'b1, 1'bx)) failed = 1;
  #1;  #0 if (!check(1'b1, 1'b1, 1'b1, 1'b1, 1'b1, 1'b1)) failed = 1;

  i = 1'b0;
  #0      if (!check(1'b1, 1'b1, 1'b1, 1'b1, 1'b1, 1'b1)) failed = 1;
  #1;  #0 if (!check(1'b1, 1'b1, 1'b1, 1'b0, 1'b1, 1'b1)) failed = 1;
  #1;  #0 if (!check(1'b1, 1'b0, 1'b1, 1'b0, 1'b1, 1'b1)) failed = 1;
  #1;  #0 if (!check(1'b0, 1'b0, 1'b1, 1'b0, 1'b1, 1'b0)) failed = 1;
  #1;  #0 if (!check(1'b0, 1'b0, 1'b0, 1'b0, 1'b0, 1'b0)) failed = 1;

  i = 1'bx;
  #0      if (!check(1'b0, 1'b0, 1'b0, 1'bx, 1'b0, 1'b0)) failed = 1;
  #1;  #0 if (!check(1'b0, 1'b0, 1'b0, 1'bx, 1'b0, 1'b0)) failed = 1;
  #1;  #0 if (!check(1'bx, 1'bx, 1'bx, 1'bx, 1'b0, 1'bx)) failed = 1;
  #1;  #0 if (!check(1'bx, 1'bx, 1'bx, 1'bx, 1'bx, 1'bx)) failed = 1;

  i = 1'bz;
  #0      if (!check(1'bx, 1'bx, 1'bx, 1'bz, 1'bx, 1'bx)) failed = 1;
  #1;  #0 if (!check(1'bx, 1'bx, 1'bx, 1'bz, 1'bx, 1'bx)) failed = 1;
  #1;  #0 if (!check(1'bz, 1'bx, 1'bx, 1'bx, 1'bx, 1'bx)) failed = 1;
  #1;  #0 if (!check(1'bz, 1'bx, 1'bx, 1'bz, 1'bx, 1'bz)) failed = 1;
  #1;  #0 if (!check(1'bz, 1'bz, 1'bz, 1'bz, 1'bx, 1'bz)) failed = 1;
  #1;  #0 if (!check(1'bz, 1'bz, 1'bz, 1'bz, 1'bz, 1'bz)) failed = 1;

  #1;
  if (failed)
    $display("FAILED");
  else
    $display("PASSED");
end

endmodule