| // Copyright 2023 Google LLC |
| // Copyright lowRISC contributors. |
| // Licensed under the Apache License, Version 2.0, see LICENSE for details. |
| // SPDX-License-Identifier: Apache-2.0 |
| { |
| sv_flist_gen_cmd: fusesoc |
| fusesoc_core_: "{eval_cmd} echo \"{fusesoc_core}\" | tr ':' '_'" |
| sv_flist_gen_opts: ["{fusesoc_cores_root_dirs}", |
| "run", |
| "{sv_flist_gen_flags}", |
| "--target=sim", |
| "--build-root={build_dir}", |
| "--setup {fusesoc_core}"] |
| fusesoc_cores_root_dirs: ["--cores-root {titan_root}/hw/ip", |
| "--cores-root {proj_root}/bazel-bin/external/kelvin_hw/hdl/chisel", |
| "--cores-root {proj_root}/bazel-bin/hw/top_matcha/ip/dma/chisel", |
| "--cores-root {proj_root}/../../out/kelvin/hw/kelvin_core", |
| "--cores-root {proj_root}/../../out/matcha/hw/fastvdma_core", |
| "--cores-root {titan_root}/hw/dv/sv", |
| "--cores-root {titan_root}/hw/dv/verilator", |
| "--cores-root {titan_root}/hw/formal", |
| "--cores-root {titan_root}/hw/vendor", |
| "--cores-root {proj_root}/../ip/isp/ispyocto", |
| "--cores-root {proj_root}/../ip/isp/axi2sramcrs", |
| "--cores-root {proj_root}/hw"] |
| sv_flist_gen_dir: "{build_dir}/sim-vcs" |
| sv_flist: "{sv_flist_gen_dir}/{fusesoc_core_}.scr" |
| sv_flist_gen_flags: ["--flag=fileset_{design_level}"] |
| } |