blob: 8ae8633aeec35f7fbb99aeba71e2b7f2df3a0a62 [file] [log] [blame]
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:systems:chip_matcha_verilator:0.1"
description: "Matcha toplevel for simulation with Verilator"
filesets:
files_sim_verilator:
depend:
- lowrisc:systems:top_matcha:0.1
- lowrisc:systems:top_matcha_pkg
- lowrisc:smc:smc_tracer
- lowrisc:ibex:ibex_tracer
- lowrisc:prim:clock_div
- google:systems:ast
- lowrisc:systems:scan_role_pkg
files:
- rtl/chip_matcha_verilator.sv: { file_type: systemVerilogSource }
parameters:
AST_BYPASS_CLK:
datatype: bool
paramtype: vlogdefine
IBEX_CUSTOM_PMP_RESET_VALUES:
datatype: bool
default: true
paramtype: vlogdefine
targets:
default: &default_target
filesets:
- files_sim_verilator
parameters:
- IBEX_CUSTOM_PMP_RESET_VALUES
- AST_BYPASS_CLK=true
toplevel: chip_matcha_verilator
lint:
<<: *default_target
default_tool: verilator
tools:
verilator:
mode: lint-only
verilator_options:
- "-Wall"