data/full_repos/permissive/520695407/sim/tb.sv
1: b'%Error: data/full_repos/permissive/520695407/sim/tb.sv:6: Unsupported: event data types\n  event tb1_start, tb1_done;\n  ^~~~~\n%Error: data/full_repos/permissive/520695407/sim/tb.sv:12: Unsupported: event data types\n  event tb2_start, tb2_done;\n  ^~~~~\n%Error: data/full_repos/permissive/520695407/sim/tb.sv:20: Unsupported or unknown PLI call: $timeformat\n    $timeformat(-9, 0, " ns");\n    ^~~~~~~~~~~\n%Error: data/full_repos/permissive/520695407/sim/tb.sv:21: syntax error, unexpected ->\n    ->tb1_start;\n    ^~\n%Error: data/full_repos/permissive/520695407/sim/tb.sv:22: Unsupported: wait statements\n    wait (tb1_done.triggered);\n    ^~~~\n%Error: data/full_repos/permissive/520695407/sim/tb.sv:23: syntax error, unexpected ->\n    ->tb2_start;\n    ^~\n%Error: data/full_repos/permissive/520695407/sim/tb.sv:24: Unsupported: wait statements\n    wait (tb2_done.triggered);\n    ^~~~\n%Error: Exiting due to 7 error(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module tb ();
  
  event tb1_start, tb1_done;
  tb_metaball tb1(
    .start(tb1_start),
    .done(tb1_done)
  );

  event tb2_start, tb2_done;
  tb_buffer tb2(
    .start(tb2_start),
    .done(tb2_done)
  );

  initial begin
    $display("=== SIMULATION STARTED ===");  
    $timeformat(-9, 0, " ns");
    ->tb1_start;
    wait (tb1_done.triggered);
    ->tb2_start;
    wait (tb2_done.triggered);
    $display("=== SIMULATION FINISHED ===");
    $finish;
  end
endmodule
module tb ();

  
  event tb1_start, tb1_done;
  tb_metaball tb1(
    .start(tb1_start),
    .done(tb1_done)
  );

  event tb2_start, tb2_done;
  tb_buffer tb2(
    .start(tb2_start),
    .done(tb2_done)
  );

  initial begin
    $display("=== SIMULATION STARTED ===");  
    $timeformat(-9, 0, " ns");
    ->tb1_start;
    wait (tb1_done.triggered);
    ->tb2_start;
    wait (tb2_done.triggered);
    $display("=== SIMULATION FINISHED ===");
    $finish;
  end
endmodule