data/full_repos/permissive/143278/ivltests/automatic_task3.v
 line:5: before: "fill_array"
1: b'%Error: data/full_repos/permissive/143278/ivltests/automatic_task3.v:11: Unsupported: fork statements\nfork\n^~~~\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/automatic_task3.v:13: Unsupported: Ignoring delay on this delayed statement.\n    #10 array[i] = value;\n    ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Error: data/full_repos/permissive/143278/ivltests/automatic_task3.v:16: syntax error, unexpected \'@\'\n    @(array[j]) $display(array[0], array[1], array[2], array[3]);\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/automatic_task3.v:23: Unsupported: Ignoring delay on this delayed statement.\ninitial #1 fill_array(1);\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/automatic_task3.v:24: Unsupported: Ignoring delay on this delayed statement.\ninitial #2 fill_array(2);\n        ^\n%Error: Exiting due to 2 error(s), 3 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module automatic_task();

reg [7:0] array[3:0];

task automatic fill_array;

input [7:0] value;

integer i, j;

fork
  for (i = 0; i < 4; i = i + 1) begin
    #10 array[i] = value;
  end
  for (j = 0; j < 4; j = j + 1) begin
    @(array[j]) $display(array[0], array[1], array[2], array[3]);
    @(array[j]) $display(array[0], array[1], array[2], array[3]);
  end
join

endtask

initial #1 fill_array(1);
initial #2 fill_array(2);

endmodule
module automatic_task();


reg [7:0] array[3:0];

task automatic fill_array;

input [7:0] value;

integer i, j;

fork
  for (i = 0; i < 4; i = i + 1) begin
    #10 array[i] = value;
  end
  for (j = 0; j < 4; j = j + 1) begin
    @(array[j]) $display(array[0], array[1], array[2], array[3]);
    @(array[j]) $display(array[0], array[1], array[2], array[3]);
  end
join

endtask

initial #1 fill_array(1);
initial #2 fill_array(2);

endmodule