data/full_repos/permissive/143278/ivltests/function5.v
1: b'%Warning-LITENDIAN: data/full_repos/permissive/143278/ivltests/function5.v:5: Little bit endian vector: MSB < LSB of bit range: 1:49\n   reg [1:49] bar;\n       ^\n                    ... Use "/* verilator lint_off LITENDIAN */" and lint_on around source to disable this message.\n%Warning-LITENDIAN: data/full_repos/permissive/143278/ivltests/function5.v:8: Little bit endian vector: MSB < LSB of bit range: 1:49\n   input  [1:49] a;\n          ^\n%Error: Exiting due to 2 warning(s)\n'
module test;

   wire       foo;
   reg [1:49] bar;

   function foobar;
   input  [1:49] a;
   begin
     foobar =  a[1]  &  a[2]  & a[3]  & a[4]  &  a[5] &
               a[6]  &  a[7]  & a[8]  & a[9]  &  a[10] &
               a[11] &  a[12] & a[13] & a[14] &  a[15] &
               a[16] &  a[17] & a[18] & a[19] &  a[20] &
               a[21] &  a[22] & a[23] & a[24] &  a[25] &
               a[26] &  a[27] & a[28] & a[29] &  a[30] &
               a[31] &  a[32] & a[33] & a[34] &  a[35] &
               a[36] &  a[37] & a[38] & a[39] &  a[40] &
               a[41] &  a[42] & a[43] & a[44] &  a[45] &
               a[46] &  a[47] & a[48] & a[49] ;
   end
   endfunction

   assign  foo  = foobar( bar  );

endmodule
module test;


   wire       foo;
   reg [1:49] bar;

   function foobar;
   input  [1:49] a;
   begin
     foobar =  a[1]  &  a[2]  & a[3]  & a[4]  &  a[5] &
               a[6]  &  a[7]  & a[8]  & a[9]  &  a[10] &
               a[11] &  a[12] & a[13] & a[14] &  a[15] &
               a[16] &  a[17] & a[18] & a[19] &  a[20] &
               a[21] &  a[22] & a[23] & a[24] &  a[25] &
               a[26] &  a[27] & a[28] & a[29] &  a[30] &
               a[31] &  a[32] & a[33] & a[34] &  a[35] &
               a[36] &  a[37] & a[38] & a[39] &  a[40] &
               a[41] &  a[42] & a[43] & a[44] &  a[45] &
               a[46] &  a[47] & a[48] & a[49] ;
   end
   endfunction

   assign  foo  = foobar( bar  );

endmodule