data/full_repos/permissive/487568919/basic_verilog/clogb2.svh
data/verilator_xmls/e3ca5ce6-5371-4950-af1c-1e3a827d4265.xml
function integer clogb2;
  input integer depth;

  for( clogb2=0; depth>0; clogb2=clogb2+1 ) begin
    depth = depth >> 1;
  end
endfunction
function integer clogb2;

  input integer depth;

  for( clogb2=0; depth>0; clogb2=clogb2+1 ) begin
    depth = depth >> 1;
  end
endfunction