// Copyright lowRISC contributors (OpenTitan project).
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
{
  // Additional build-time options needed to compile C++ sources in
  // simulators such as VCS and Xcelium for anything that uses
  // crypto_prince_ref.
  crypto_prince_ref_core: "lowrisc:dv:crypto_prince_ref:0.1"
  crypto_prince_ref_src_dir: "{eval_cmd} echo \"{crypto_prince_ref_core}\" | tr ':' '_'"

  build_modes: [
    {
      name: vcs_crypto_dpi_prince_build_opts
      build_opts: ["-CFLAGS -I{build_dir}/fusesoc-work/src/{crypto_prince_ref_src_dir}"]
    }

    {
      name: xcelium_crypto_dpi_prince_build_opts
      build_opts: ["-I{build_dir}/fusesoc-work/src/{crypto_prince_ref_src_dir}"]
    }
  ]
}
