data/full_repos/permissive/19340845/test/SignExtensionTest.v
'utf-8' codec can't decode byte 0x8b in position 0: invalid start byte
1: b'%Error: data/full_repos/permissive/19340845/test/SignExtensionTest.v:9: Unsupported or unknown PLI call: $dumpfile\n      $dumpfile("singextensionTest.vcd");\n      ^~~~~~~~~\n%Error: data/full_repos/permissive/19340845/test/SignExtensionTest.v:10: Unsupported or unknown PLI call: $dumpvars\n      $dumpvars(0, SIGNEXTENSIONTEST);\n      ^~~~~~~~~\n%Error: data/full_repos/permissive/19340845/test/SignExtensionTest.v:12: Unsupported or unknown PLI call: $monitor\n      $monitor ("%t: a = %b, out = %b", $time, a, out);      \n      ^~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/19340845/test/SignExtensionTest.v:15: Unsupported: Ignoring delay on this delayed statement.\n      #10 a = 8\'b1000_0000;\n      ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/19340845/test/SignExtensionTest.v:16: Unsupported: Ignoring delay on this delayed statement.\n      #10 a = 8\'b0101_0000;\n      ^\n%Warning-STMTDLY: data/full_repos/permissive/19340845/test/SignExtensionTest.v:17: Unsupported: Ignoring delay on this delayed statement.\n      #10\n      ^\n%Error: data/full_repos/permissive/19340845/test/SignExtensionTest.v:19: Unsupported or unknown PLI call: $monitor\n      $monitor ("%t: a = %b, out = %b", $time, b, nout);      \n      ^~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/19340845/test/SignExtensionTest.v:22: Unsupported: Ignoring delay on this delayed statement.\n      #10 b = 8\'b1100_0000;\n      ^\n%Warning-STMTDLY: data/full_repos/permissive/19340845/test/SignExtensionTest.v:23: Unsupported: Ignoring delay on this delayed statement.\n      #10 b = 8\'b0101_0000;\n      ^\n%Warning-STMTDLY: data/full_repos/permissive/19340845/test/SignExtensionTest.v:24: Unsupported: Ignoring delay on this delayed statement.\n      #10 $finish;\n      ^\n%Error: Exiting due to 4 error(s), 6 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module SIGNEXTENSIONTEST;
   reg [7:0] a, b;
   wire [15:0] out, nout;
   
   SignExtension se (a, 0, out);
   NotSignExtension nse (b, 0, nout);

   initial begin
      $dumpfile("singextensionTest.vcd");
      $dumpvars(0, SIGNEXTENSIONTEST);
      $display("SignExtension");
      $monitor ("%t: a = %b, out = %b", $time, a, out);      

      a = 8'b0011_0000;
      #10 a = 8'b1000_0000;
      #10 a = 8'b0101_0000;
      #10
      $display("NotSignExtension");
      $monitor ("%t: a = %b, out = %b", $time, b, nout);      

      b = 8'b0011_0000;
      #10 b = 8'b1100_0000;
      #10 b = 8'b0101_0000;
      #10 $finish;
   end
endmodule
module SIGNEXTENSIONTEST;

   reg [7:0] a, b;
   wire [15:0] out, nout;
   
   SignExtension se (a, 0, out);
   NotSignExtension nse (b, 0, nout);

   initial begin
      $dumpfile("singextensionTest.vcd");
      $dumpvars(0, SIGNEXTENSIONTEST);
      $display("SignExtension");
      $monitor ("%t: a = %b, out = %b", $time, a, out);      

      a = 8'b0011_0000;
      #10 a = 8'b1000_0000;
      #10 a = 8'b0101_0000;
      #10
      $display("NotSignExtension");
      $monitor ("%t: a = %b, out = %b", $time, b, nout);      

      b = 8'b0011_0000;
      #10 b = 8'b1100_0000;
      #10 b = 8'b0101_0000;
      #10 $finish;
   end
endmodule