blob: 6a3bbece47a119679988deb537e6ace0f19f6ac8 [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
<%
module_name = instance_vlnv("lowrisc:ip:" + module_instance_name)
%>\
name: ${module_name}
description: "RISC-V Platform Interrupt Controller (PLIC)"
filesets:
files_rtl:
depend:
- lowrisc:ip:${module_instance_name}_component
- lowrisc:ip:tlul
- lowrisc:prim:subreg
files:
- rtl/${module_instance_name}_reg_pkg.sv
- rtl/${module_instance_name}_reg_top.sv
- rtl/${module_instance_name}.sv
file_type: systemVerilogSource
parameters:
SYNTHESIS:
datatype: bool
paramtype: vlogdefine
targets:
default: &default_target
filesets:
- files_rtl
toplevel: ${module_instance_name}
lint:
<<: *default_target
default_tool: verilator
parameters:
- SYNTHESIS=true
tools:
verilator:
mode: lint-only
verilator_options:
- "-Wall"