data/full_repos/permissive/143278/ivltests/port-test6.v
 line:62: before: "nput"
1: b'%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/port-test6.v:30: Unsupported: Ignoring delay on this delayed statement.\n      #1 $display("has_ports (%b, %b, %b)", res, a, b);\n      ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/port-test6.v:37: Unsupported: Ignoring delay on this delayed statement.\n      #1 $display("has_ports (%b, %b, %b)", res, a, b);\n      ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/port-test6.v:44: Unsupported: Ignoring delay on this delayed statement.\n      #1 $display("has_ports (%b, %b, %b)", res, a, b);\n      ^\n%Error: Exiting due to 3 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module main;

   reg [7:0] a, b;
   wire [8:0] res;

   has_ports test(res, a, b);

   initial begin
      a = 0;
      b = 0;
      #1 $display("has_ports (%b, %b, %b)", res, a, b);
      if (res !== (a + b)) begin
	 $display("FAILED");
	 $finish;
      end

      a = 10;
      #1 $display("has_ports (%b, %b, %b)", res, a, b);
      if (res !== (a + b)) begin
	 $display("FAILED");
	 $finish;
      end

      b = 11;
      #1 $display("has_ports (%b, %b, %b)", res, a, b);
      if (res !== (a + b)) begin
	 $display("FAILED");
	 $finish;
      end

      $display("PASSED");
   end

endmodule
module main;


   reg [7:0] a, b;
   wire [8:0] res;

   has_ports test(res, a, b);

   initial begin
      a = 0;
      b = 0;
      #1 $display("has_ports (%b, %b, %b)", res, a, b);
      if (res !== (a + b)) begin
	 $display("FAILED");
	 $finish;
      end

      a = 10;
      #1 $display("has_ports (%b, %b, %b)", res, a, b);
      if (res !== (a + b)) begin
	 $display("FAILED");
	 $finish;
      end

      b = 11;
      #1 $display("has_ports (%b, %b, %b)", res, a, b);
      if (res !== (a + b)) begin
	 $display("FAILED");
	 $finish;
      end

      $display("PASSED");
   end

endmodule