data/full_repos/permissive/138961980/powlib_std.vh
 line:10: before: "function"
1: b"%Error: data/full_repos/permissive/138961980/powlib_std.vh:59: Unsupported: Parameters in functions.\n  parameter                      BASE = 10;          \n                                 ^~~~\n%Error: data/full_repos/permissive/138961980/powlib_std.vh:60: Unsupported: Parameters in functions.\n  parameter                      CW   = 8;  \n                                 ^~\n%Error: data/full_repos/permissive/138961980/powlib_std.vh:68: Unsupported: Parameters in functions.\n  parameter                      BASE = 10;          \n                                 ^~~~\n%Error: data/full_repos/permissive/138961980/powlib_std.vh:69: Unsupported: Parameters in functions.\n  parameter                      CW   = 8;  \n                                 ^~\n%Error: data/full_repos/permissive/138961980/powlib_std.vh:63: Can't find definition of variable: 'BASE'\n    powlib_itoaw = (powlib_digits(value,BASE)+1)*CW;\n                                        ^~~~\n%Error: data/full_repos/permissive/138961980/powlib_std.vh:63: Can't find definition of variable: 'CW'\n    powlib_itoaw = (powlib_digits(value,BASE)+1)*CW;\n                                                 ^~\n%Error: Exiting due to 6 error(s)\n        ... See the manual and https://verilator.org for more assistance.\n"
function integer powlib_clogb2;
  input reg [`POWLIB_DW-1:0] value;
  begin
    value = value - 1;
    for (powlib_clogb2=0; value>0; powlib_clogb2=powlib_clogb2+1) begin
      value = value >> 1;
    end
  end
endfunction
function integer powlib_clogb2;

  input reg [`POWLIB_DW-1:0] value;
  begin
    value = value - 1;
    for (powlib_clogb2=0; value>0; powlib_clogb2=powlib_clogb2+1) begin
      value = value >> 1;
    end
  end
endfunction