CAPI=2:
# Copyright lowRISC contributors.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
name: "lowrisc:dv:ibex_icache_sim:0.1"
description: "IBEX_ICACHE DV sim target"
filesets:
  files_rtl:
    depend:
      - lowrisc:ibex:ibex_icache:0.1

  files_dv:
    depend:
      - lowrisc:dv:ibex_icache_test
      - lowrisc:dv:ibex_icache_fcov
      - lowrisc:prim:ram_1p_scr
    files:
      - tb/tb.sv
    file_type: systemVerilogSource

targets:
  sim:
    parameters:
      - PRIM_DEFAULT_IMPL=prim_pkg::ImplBadbit
    filesets:
      - files_rtl
      - files_dv
    toplevel: tb
    default_tool: vcs

parameters:
  PRIM_DEFAULT_IMPL:
    datatype: str
    paramtype: vlogdefine
    description: Primitives implementation to use, e.g. "prim_pkg::ImplGeneric".
    default: prim_pkg::ImplBadbit
