data/full_repos/permissive/143278/vpi/putp2.v
None: at end of input
1: b'%Error: data/full_repos/permissive/143278/vpi/putp2.v:6: Unsupported or unknown PLI call: $copy_test\n      x = $copy_test(1);\n          ^~~~~~~~~~\n%Error: data/full_repos/permissive/143278/vpi/putp2.v:12: Unsupported or unknown PLI call: $copy_test\n      x = $copy_test(8);\n          ^~~~~~~~~~\n%Error: Exiting due to 2 error(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module main;

   integer x;

   initial begin
      x = $copy_test(1);
      if (x !== 1) begin
	 $display("FAILED -- x == %b (should be 1)", x);
	 $finish;
      end

      x = $copy_test(8);
      if (x !== 8) begin
	 $display("FAILED -- x == %b (should be 8)", x);
	 $finish;
      end

      $display("PASSED");
   end

endmodule
module main;


   integer x;

   initial begin
      x = $copy_test(1);
      if (x !== 1) begin
	 $display("FAILED -- x == %b (should be 1)", x);
	 $finish;
      end

      x = $copy_test(8);
      if (x !== 8) begin
	 $display("FAILED -- x == %b (should be 8)", x);
	 $finish;
      end

      $display("PASSED");
   end

endmodule