| // Copyright lowRISC contributors. |
| // Licensed under the Apache License, Version 2.0, see LICENSE for details. |
| // SPDX-License-Identifier: Apache-2.0 |
| { |
| // Additional build-time options for enabling the compilation of the C sources |
| // with DV simulators such as VCS and Xcelium. |
| aes_model_core: "lowrisc:model:aes:1.0" |
| aes_model_src_dir: "{eval_cmd} echo \"{aes_model_core}\" | tr ':' '_'" |
| |
| build_modes: [ |
| { |
| name: vcs_aes_model_build_opts |
| build_opts: ["-CFLAGS -I{build_dir}/src/{aes_model_src_dir}", "-lcrypto"] |
| } |
| |
| { |
| name: xcelium_aes_model_build_opts |
| build_opts: ["-I{build_dir}/src/{aes_model_src_dir}", "-lcrypto"] |
| } |
| ] |
| } |