data/full_repos/permissive/146479393/RTL/Baud_rate_gen.v
 line:5: before: "M"
1: b'%Warning-WIDTH: data/full_repos/permissive/146479393/RTL/Baud_rate_gen.v:27: Operator COND expects 9 bits on the Conditional True, but Conditional True\'s CONST \'1\'h0\' generates 1 bits.\n                                                                           : ... In instance Baud_rate_gen\n  assign r_next = (r_reg==(M-1)) ? 1\'b0 : r_reg+1\'b1;\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'
function integer log2(input integer n);
    integer i;
    begin
      log2=1;
      for (i=0; 2**i < n; i=i+1)
        log2=i+1;
    end
  endfunction
function integer log2(input integer n);

    integer i;
    begin
      log2=1;
      for (i=0; 2**i < n; i=i+1)
        log2=i+1;
    end
  endfunction