data/full_repos/permissive/143278/ivltests/pr1898293.v
 line:10: before: "real"
1: b'%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/pr1898293.v:13: Unsupported: Ignoring delay on this delayed statement.\n    #1;\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/pr1898293.v:29: Unsupported: Ignoring delay on this delayed statement.\n    #1 assign rval = (rval > 0) ? 2\'b01 : 2\'b00;\n    ^\n%Error: Exiting due to 2 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module top;
  reg pass = 1'b1;

  reg [1:0] rval = 2'b10;
  wire [1:0] wval = (wval > 0) ? 2'b01 : 2'b00;




  wire real rlval = (rlval > 0.0) ? 1.0 : 2.0;

  initial begin
    #1;
    if (rval != 2'b10) begin
      $display("FAILED initial value expected 2'b10, got %b.", rval);
      pass = 1'b0;
    end

    if (wval !== 2'b0x) begin
      $display("FAILED net value expected 2'b0x, got %b.", wval);
      pass = 1'b0;
    end

    if (rlval != 1.0) begin
      $display("FAILED net real value expected 1.0, got %f.", rlval);
      pass = 1'b0;
    end

    #1 assign rval = (rval > 0) ? 2'b01 : 2'b00;
    if (rval != 2'b01) begin
      $display("FAILED forced value expected 2'b01, got %b.", rval);
      pass = 1'b0;
    end

    if (pass) $display("PASSED");
  end
endmodule
module top;

  reg pass = 1'b1;

  reg [1:0] rval = 2'b10;
  wire [1:0] wval = (wval > 0) ? 2'b01 : 2'b00;




  wire real rlval = (rlval > 0.0) ? 1.0 : 2.0;

  initial begin
    #1;
    if (rval != 2'b10) begin
      $display("FAILED initial value expected 2'b10, got %b.", rval);
      pass = 1'b0;
    end

    if (wval !== 2'b0x) begin
      $display("FAILED net value expected 2'b0x, got %b.", wval);
      pass = 1'b0;
    end

    if (rlval != 1.0) begin
      $display("FAILED net real value expected 1.0, got %f.", rlval);
      pass = 1'b0;
    end

    #1 assign rval = (rval > 0) ? 2'b01 : 2'b00;
    if (rval != 2'b01) begin
      $display("FAILED forced value expected 2'b01, got %b.", rval);
      pass = 1'b0;
    end

    if (pass) $display("PASSED");
  end
endmodule