data/full_repos/permissive/151863926/src/auxilary_functions.v
 line:6: before: "function"
data/verilator_xmls/f9f3566e-fdd4-4c77-af62-2af66449ab68.xml
function automatic integer clogb2;
    input [31:0] value;
    reg [31:0] v;
    integer result;
begin
    v = value;
    for (result = 0; v > 0; result = result + 1) begin
        v = v >> 1;
    end
    clogb2 = result;
end
endfunction
function automatic integer clogb2;

    input [31:0] value;
    reg [31:0] v;
    integer result;
begin
    v = value;
    for (result = 0; v > 0; result = result + 1) begin
        v = v >> 1;
    end
    clogb2 = result;
end
endfunction