Timothy Chen | 3525aa8 | 2020-04-23 23:23:18 -0700 | [diff] [blame] | 1 | CAPI=2: |
| 2 | # Copyright lowRISC contributors. |
| 3 | # Licensed under the Apache License, Version 2.0, see LICENSE for details. |
| 4 | # SPDX-License-Identifier: Apache-2.0 |
| 5 | name: "lowrisc:ip:clkmgr:0.1" |
| 6 | description: "Clock manager component without the generated portions" |
| 7 | |
| 8 | filesets: |
| 9 | files_rtl: |
| 10 | depend: |
| 11 | - lowrisc:ip:tlul |
| 12 | - lowrisc:prim:all |
| 13 | - lowrisc:prim:clock_gating |
| 14 | - lowrisc:ip:pwrmgr |
| 15 | - lowrisc:ip:clkmgr_reg |
| 16 | files: |
| 17 | - rtl/clkmgr_pkg.sv |
| 18 | - rtl/clkmgr.sv |
| 19 | file_type: systemVerilogSource |
| 20 | |
| 21 | files_verilator_waiver: |
| 22 | depend: |
| 23 | # common waivers |
| 24 | - lowrisc:lint:common |
| 25 | - lowrisc:lint:comportable |
| 26 | files: |
| 27 | file_type: vlt |
| 28 | |
| 29 | files_ascentlint_waiver: |
| 30 | depend: |
| 31 | # common waivers |
| 32 | - lowrisc:lint:common |
| 33 | - lowrisc:lint:comportable |
| 34 | files: |
| 35 | - lint/clkmgr.waiver |
| 36 | file_type: waiver |
| 37 | |
| 38 | parameters: |
| 39 | SYNTHESIS: |
| 40 | datatype: bool |
| 41 | paramtype: vlogdefine |
| 42 | |
| 43 | |
| 44 | targets: |
| 45 | default: &default_target |
| 46 | filesets: |
| 47 | - tool_verilator ? (files_verilator_waiver) |
| 48 | - tool_ascentlint ? (files_ascentlint_waiver) |
| 49 | - files_rtl |
| 50 | toplevel: clkmgr |
| 51 | |
| 52 | lint: |
| 53 | <<: *default_target |
| 54 | default_tool: verilator |
| 55 | parameters: |
| 56 | - SYNTHESIS=true |
| 57 | tools: |
Michael Schaffner | ccab645 | 2020-07-16 10:50:59 -0700 | [diff] [blame] | 58 | ascentlint: |
| 59 | ascentlint_options: |
| 60 | - "-wait_license" |
Timothy Chen | 3525aa8 | 2020-04-23 23:23:18 -0700 | [diff] [blame] | 61 | verilator: |
| 62 | mode: lint-only |
| 63 | verilator_options: |
| 64 | - "-Wall" |