data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/ip/prim/rtl/prim_util_get_scramble_params.svh
1: b"%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/ip/prim/rtl/prim_util_get_scramble_params.svh:9: Can't find definition of variable: 'key_valid_i'\n    if (!key_valid_i) begin\n         ^~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/ip/prim/rtl/prim_util_get_scramble_params.svh:13: Can't find definition of variable: 'DataKeyWidth'\n    if (DataKeyWidth != 128) begin\n        ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/ip/prim/rtl/prim_util_get_scramble_params.svh:17: Can't find definition of variable: 'key_i'\n    val = key_i;\n          ^~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/ip/prim/rtl/prim_util_get_scramble_params.svh:28: Can't find definition of variable: 'NonceWidth'\n    if (NonceWidth > 320) begin\n        ^~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/vendor/lowrisc_ip/ip/prim/rtl/prim_util_get_scramble_params.svh:33: Can't find definition of variable: 'nonce_i'\n                                                                                                                                                            : ... Suggested alternative: 'nonce'\n    nonce[NonceWidth-1:0] = nonce_i;\n                            ^~~~~~~\n%Error: Exiting due to 5 error(s)\n"
function simutil_get_scramble_nonce;

  function int simutil_get_scramble_nonce(output bit [319:0] nonce);
    if (!key_valid_i) begin
      return 0;
    end

    if (NonceWidth > 320) begin
      return 0;
    end

    nonce = '0;
    nonce[NonceWidth-1:0] = nonce_i;
    return 1;
  endfunction
function simutil_get_scramble_nonce;


  function int simutil_get_scramble_nonce(output bit [319:0] nonce);
    if (!key_valid_i) begin
      return 0;
    end

    if (NonceWidth > 320) begin
      return 0;
    end

    nonce = '0;
    nonce[NonceWidth-1:0] = nonce_i;
    return 1;
  endfunction