blob: f275b4457f0f3227f5bb23647f36bd3de0670399 [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:ip:edn:0.1"
description: "edn"
filesets:
files_rtl:
depend:
- lowrisc:constants:top_pkg
- lowrisc:prim:all
- lowrisc:prim:count
- lowrisc:prim:assert
- lowrisc:prim:sparse_fsm
- lowrisc:ip:tlul
- lowrisc:ip:edn_pkg
files:
- rtl/edn_reg_top.sv
- rtl/edn_ack_sm.sv
- rtl/edn_main_sm.sv
- rtl/edn_core.sv
- rtl/edn.sv
file_type: systemVerilogSource
files_verilator_waiver:
depend:
# common waivers
- lowrisc:lint:common
- lowrisc:lint:comportable
files:
- lint/edn.vlt
file_type: vlt
files_ascentlint_waiver:
depend:
# common waivers
- lowrisc:lint:common
- lowrisc:lint:comportable
files:
- lint/edn.waiver
file_type: waiver
parameters:
SYNTHESIS:
datatype: bool
paramtype: vlogdefine
targets:
default: &default_target
filesets:
- tool_verilator ? (files_verilator_waiver)
- tool_ascentlint ? (files_ascentlint_waiver)
- files_rtl
toplevel: edn
lint:
<<: *default_target
default_tool: verilator
parameters:
- SYNTHESIS=true
tools:
verilator:
mode: lint-only
verilator_options:
- "-Wall"