data/full_repos/permissive/487568919/SvLibDR/SingleSPIslave/SingleSPIslave.sv
data/verilator_xmls/f02974ca-1703-4f33-81d5-b6b51c64b6d2.xml
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