data/full_repos/permissive/143278/ivltests/br_gh556.v
 line:3: before: "real"
1: b'%Warning-WIDTH: data/full_repos/permissive/143278/ivltests/br_gh556.v:11: Bit extraction of array[1:0] requires 1 bit index, not 8 bits.\n                                                                        : ... In instance test\n  value = array[index];\n               ^\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Error: Exiting due to 1 warning(s)\n'
module test;

wire real array[1:0];

reg [7:0] index;

real value;

initial begin
  index = 3;
  value = array[index];
  if (value == 0.0)
    $display("PASSED");
  else
    $display("FAILED");
end

endmodule
module test;


wire real array[1:0];

reg [7:0] index;

real value;

initial begin
  index = 3;
  value = array[index];
  if (value == 0.0)
    $display("PASSED");
  else
    $display("FAILED");
end

endmodule