data/full_repos/permissive/143278/vpi/br_gh184.v
[Errno 2] No such file or directory: 'preprocess.output'
1: b'%Warning-STMTDLY: data/full_repos/permissive/143278/vpi/br_gh184.v:13: Unsupported: Ignoring delay on this delayed statement.\n      #1;\n      ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Error: data/full_repos/permissive/143278/vpi/br_gh184.v:14: Unsupported or unknown PLI call: $poke_at_simtime\n      $poke_at_simtime(val1, 1, 10);\n      ^~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/143278/vpi/br_gh184.v:15: Unsupported or unknown PLI call: $poke_at_simtime\n      $poke_at_simtime(val2, 2, 10);\n      ^~~~~~~~~~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/143278/vpi/br_gh184.v:20: Unsupported: Ignoring delay on this delayed statement.\n      #8;\n      ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/vpi/br_gh184.v:30: Unsupported: Ignoring delay on this delayed statement.\n      #1;\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 main;

   integer val1, val2;

   initial begin
      val1 = 0;
      val2 = 1;
      #1;
      $poke_at_simtime(val1, 1, 10);
      $poke_at_simtime(val2, 2, 10);

`ifdef CB_TIME_IS_RELATIVE
      #1;
`endif
      #8;
      if (val1 !== 0) begin
	 $display("FAILED -- val1==%0d before delayed poke", val1);
	 $finish;
      end
      if (val2 !== 1) begin
	 $display("FAILED -- val2==%0d before delayed poke", val2);
	 $finish;
      end

      #1;
      if (val1 !== 1) begin
	 $display("FAILED -- val1==%0d: poke didn't happen", val1);
	 $finish;
      end
      if (val2 !== 2) begin
	 $display("FAILED -- val2==%0d: poke didn't happen", val2);
	 $finish;
      end

      $display("PASSED");
      $finish(0);
   end

endmodule
module main;


   integer val1, val2;

   initial begin
      val1 = 0;
      val2 = 1;
      #1;
      $poke_at_simtime(val1, 1, 10);
      $poke_at_simtime(val2, 2, 10);

`ifdef CB_TIME_IS_RELATIVE
      #1;
`endif
      #8;
      if (val1 !== 0) begin
	 $display("FAILED -- val1==%0d before delayed poke", val1);
	 $finish;
      end
      if (val2 !== 1) begin
	 $display("FAILED -- val2==%0d before delayed poke", val2);
	 $finish;
      end

      #1;
      if (val1 !== 1) begin
	 $display("FAILED -- val1==%0d: poke didn't happen", val1);
	 $finish;
      end
      if (val2 !== 2) begin
	 $display("FAILED -- val2==%0d: poke didn't happen", val2);
	 $finish;
      end

      $display("PASSED");
      $finish(0);
   end

endmodule