data/full_repos/permissive/143278/ivltests/concat2.v
1: b'%Error: data/full_repos/permissive/143278/ivltests/concat2.v:39: Unsupported or unknown PLI call: $sizeof\n   $display("x=%b, $sizeof(x)=%d", x, $sizeof(x));\n                                      ^~~~~~~\n%Error: data/full_repos/permissive/143278/ivltests/concat2.v:45: Unsupported or unknown PLI call: $sizeof\n   if ($sizeof(x) != 13) begin\n       ^~~~~~~\n%Error: data/full_repos/permissive/143278/ivltests/concat2.v:46: Unsupported or unknown PLI call: $sizeof\n      $display("FAILED -- x is %d\'b%b", $sizeof(x), x);\n                                        ^~~~~~~\n%Error: Exiting due to 3 error(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module t;

parameter
  SET  = 1'b1,
  CLR  = 1'b0,
  S1   = 2'd1,
  HINC = 3'd4;


parameter
            x = {S1,CLR,CLR,CLR,CLR,SET,SET,CLR,CLR,HINC };

initial begin
   $display("x=%b, $sizeof(x)=%d", x, $sizeof(x));
   if (x !== 13'b0100001100100) begin
      $display("FAILED -- x is %b", x);
      $finish;
   end

   if ($sizeof(x) != 13) begin
      $display("FAILED -- x is %d'b%b", $sizeof(x), x);
      $finish;
   end

   $display("PASSED");

end

endmodule
module t;


parameter
  SET  = 1'b1,
  CLR  = 1'b0,
  S1   = 2'd1,
  HINC = 3'd4;


parameter
            x = {S1,CLR,CLR,CLR,CLR,SET,SET,CLR,CLR,HINC };

initial begin
   $display("x=%b, $sizeof(x)=%d", x, $sizeof(x));
   if (x !== 13'b0100001100100) begin
      $display("FAILED -- x is %b", x);
      $finish;
   end

   if ($sizeof(x) != 13) begin
      $display("FAILED -- x is %d'b%b", $sizeof(x), x);
      $finish;
   end

   $display("PASSED");

end

endmodule