data/full_repos/permissive/487568919/SvLibDR/ReceiverUART/RxUART_timeout.sv
1: b'%Warning-REALCVT: data/full_repos/permissive/487568919/SvLibDR/ReceiverUART/RxUART_timeout.sv:39: Implicit conversion of real to integer\nlocalparam int factor_int = factor_real;\n                            ^~~~~~~~~~~\n                  ... Use "/* verilator lint_off REALCVT */" and lint_on around source to disable this message.\n%Warning-WIDTH: data/full_repos/permissive/487568919/SvLibDR/ReceiverUART/RxUART_timeout.sv:53: Operator EQ expects 32 bits on the LHS, but LHS\'s VARREF \'len_bit\' generates 4 bits.\n                                                                                              : ... In instance RxUART_timeout\nwire clr_len_bit = (len_bit == factor_int-1);\n                            ^~\n%Error: Exiting due to 2 warning(s)\n'
function automatic int clogb2 (input int number);
    int calc;
    begin
      for (int i = 0; 2**i < number; i++)
        calc = i + 1;
        clogb2 = (number == 0) ? 0 :
                  (number == 1) ? 1 : calc;
    end
endfunction
function automatic int clogb2 (input int number);

    int calc;
    begin
      for (int i = 0; 2**i < number; i++)
        calc = i + 1;
        clogb2 = (number == 0) ? 0 :
                  (number == 1) ? 1 : calc;
    end
endfunction