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:pwrmgr:0.1" | |
description: "Power manager component without the generated portions" | |
filesets: | |
files_rtl: | |
depend: | |
- lowrisc:ip:tlul | |
- lowrisc:prim:esc | |
- lowrisc:prim:lc_sender | |
- lowrisc:prim:all | |
- lowrisc:ip:rom_ctrl_pkg | |
- lowrisc:ip:lc_ctrl_pkg | |
- lowrisc:ip:pwrmgr_pkg | |
- lowrisc:prim:sparse_fsm | |
- lowrisc:prim:mubi | |
- lowrisc:prim:clock_buf | |
- lowrisc:prim:measure | |
- lowrisc:ip_interfaces:alert_handler_reg | |
files: | |
- rtl/pwrmgr.sv | |
- rtl/pwrmgr_cdc.sv | |
- rtl/pwrmgr_slow_fsm.sv | |
- rtl/pwrmgr_fsm.sv | |
- rtl/pwrmgr_wake_info.sv | |
file_type: systemVerilogSource | |
files_verilator_waiver: | |
depend: | |
# common waivers | |
- lowrisc:lint:common | |
- lowrisc:lint:comportable | |
files: | |
- lint/pwrmgr.vlt | |
file_type: vlt | |
files_ascentlint_waiver: | |
depend: | |
# common waivers | |
- lowrisc:lint:common | |
- lowrisc:lint:comportable | |
files: | |
- lint/pwrmgr.waiver | |
file_type: waiver | |
files_veriblelint_waiver: | |
depend: | |
# common waivers | |
- lowrisc:lint:common | |
- lowrisc:lint:comportable | |
parameters: | |
SYNTHESIS: | |
datatype: bool | |
paramtype: vlogdefine | |
targets: | |
default: &default_target | |
filesets: | |
- tool_verilator ? (files_verilator_waiver) | |
- tool_ascentlint ? (files_ascentlint_waiver) | |
- tool_veriblelint ? (files_veriblelint_waiver) | |
- files_rtl | |
toplevel: pwrmgr | |
lint: | |
<<: *default_target | |
default_tool: verilator | |
parameters: | |
- SYNTHESIS=true | |
tools: | |
verilator: | |
mode: lint-only | |
verilator_options: | |
- "-Wall" |