data/full_repos/permissive/486954482/TinyGarble/circuit_synthesis/argmax/argmax.v
data/verilator_xmls/38b62cd9-73e7-42b5-b9aa-fd397523535a.xml
function integer log2;
    input [31:0] value;
    reg [31:0] temp;
  begin
    temp = value;
    for (log2=0; temp>0; log2=log2+1)
      temp = temp>>1;
  end
  endfunction
function integer log2;

    input [31:0] value;
    reg [31:0] temp;
  begin
    temp = value;
    for (log2=0; temp>0; log2=log2+1)
      temp = temp>>1;
  end
  endfunction