data/full_repos/permissive/143278/ivltests/pr2428890c.v
1: b'%Error: data/full_repos/permissive/143278/ivltests/pr2428890c.v:22: Unsupported or unknown PLI call: $is_signed\n      if (! $is_signed(local_t1)) err = 1;\n            ^~~~~~~~~~\n%Error: data/full_repos/permissive/143278/ivltests/pr2428890c.v:23: Unsupported or unknown PLI call: $is_signed\n      if (! $is_signed(local_d1)) err = 1;\n            ^~~~~~~~~~\n%Error: data/full_repos/permissive/143278/ivltests/pr2428890c.v:24: Unsupported or unknown PLI call: $is_signed\n      if (! $is_signed(local1))   err = 1;\n            ^~~~~~~~~~\n%Error: Exiting due to 3 error(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module lower;
   parameter one = 1;
   parameter two = 2;
   parameter three = 0;
   parameter local1 = one - two;

   parameter local_t1 = local1 * 1;
   parameter local_d1 = local1 / 1;

   reg err;
   initial begin
      err = 0;
      if (local_t1 !== -1) err = 1;
      if (local_t1 > 0)    err = 1;
      if (local_d1 !== -1) err = 1;
      if (local_d1 > 0)    err = 1;

      if (! $is_signed(local_t1)) err = 1;
      if (! $is_signed(local_d1)) err = 1;
      if (! $is_signed(local1))   err = 1;

      if (err == 0) $display("PASSED");
      else $display("FAILED");
   end
endmodule
module lower;

   parameter one = 1;
   parameter two = 2;
   parameter three = 0;
   parameter local1 = one - two;

   parameter local_t1 = local1 * 1;
   parameter local_d1 = local1 / 1;

   reg err;
   initial begin
      err = 0;
      if (local_t1 !== -1) err = 1;
      if (local_t1 > 0)    err = 1;
      if (local_d1 !== -1) err = 1;
      if (local_d1 > 0)    err = 1;

      if (! $is_signed(local_t1)) err = 1;
      if (! $is_signed(local_d1)) err = 1;
      if (! $is_signed(local1))   err = 1;

      if (err == 0) $display("PASSED");
      else $display("FAILED");
   end
endmodule