data/full_repos/permissive/143278/ivltests/time8.v
1: b'%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/time8.v:39: Unsupported: Ignoring delay on this delayed statement.\n      #4 if (out !== 2\'b0) begin\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/time8.v:44: Unsupported: Ignoring delay on this delayed statement.\n      #2 if (out !== 2\'b1) begin\n      ^\n%Error: Exiting due to 2 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module main;

   reg [1:0] out;

   initial begin
      out = 2'b0;

      if (out !== 2'b0) begin
	 $display("FAILED to initialize:  out == %b", out);
	 $finish;
      end

      out <= #5 2'b1;

      if (out !== 2'b0) begin
	 $display("FAILED -- changed immediately: out == %b", out);
	 $finish;
      end

      #4 if (out !== 2'b0) begin
	 $display("FAILED -- changed too soon: out == %b", out);
	 $finish;
      end

      #2 if (out !== 2'b1) begin
	 $display("FAILED to change after delay: out == %b", out);
	 $finish;
      end

      $display("PASSED");
   end

endmodule
module main;


   reg [1:0] out;

   initial begin
      out = 2'b0;

      if (out !== 2'b0) begin
	 $display("FAILED to initialize:  out == %b", out);
	 $finish;
      end

      out <= #5 2'b1;

      if (out !== 2'b0) begin
	 $display("FAILED -- changed immediately: out == %b", out);
	 $finish;
      end

      #4 if (out !== 2'b0) begin
	 $display("FAILED -- changed too soon: out == %b", out);
	 $finish;
      end

      #2 if (out !== 2'b1) begin
	 $display("FAILED to change after delay: out == %b", out);
	 $finish;
      end

      $display("PASSED");
   end

endmodule