data/full_repos/permissive/143278/ivltests/pr1629683.v
None: at end of input
1: b'%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/pr1629683.v:12: Unsupported: Ignoring delay on this delayed statement.\n    #0 $display("Printing the byte %b with a header.", data);\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/pr1629683.v:22: Unsupported: Ignoring delay on this delayed statement.\n    #1 data = 0;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/pr1629683.v:23: Unsupported: Ignoring delay on this delayed statement.\n    #1 $finish(0);\n    ^\n%Error: Exiting due to 3 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module top;
  reg [7:0] data;
  reg [9:0] odata;
  reg sout, clk;
  integer lp;

  initial begin
    data = 8'h55;

    #0 $display("Printing the byte %b with a header.", data);
    $write("Bad - ");
    odata = 10'b1x00000000;
    odata[7:0] = data;
    send_byte(odata);

    $write(", ok - ");
    send_byte(odata);
    $display(".");

    #1 data = 0;
    #1 $finish(0);
  end


  task send_byte;
    input [9:0] sndbyte;

    begin
      $write("%b", sndbyte);
    end
  endtask

endmodule
module top;

  reg [7:0] data;
  reg [9:0] odata;
  reg sout, clk;
  integer lp;

  initial begin
    data = 8'h55;

    #0 $display("Printing the byte %b with a header.", data);
    $write("Bad - ");
    odata = 10'b1x00000000;
    odata[7:0] = data;
    send_byte(odata);

    $write(", ok - ");
    send_byte(odata);
    $display(".");

    #1 data = 0;
    #1 $finish(0);
  end


  task send_byte;
    input [9:0] sndbyte;

    begin
      $write("%b", sndbyte);
    end
  endtask

endmodule