blob: 6acf12bfca2bc4630f7f9ffbc09e65d70f8d7e63 [file] [log] [blame]
Timothy Chen3525aa82020-04-23 23:23:18 -07001CAPI=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
5name: "lowrisc:ip:clkmgr:0.1"
6description: "Clock manager component without the generated portions"
7
8filesets:
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
38parameters:
39 SYNTHESIS:
40 datatype: bool
41 paramtype: vlogdefine
42
43
44targets:
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 Schaffnerccab6452020-07-16 10:50:59 -070058 ascentlint:
59 ascentlint_options:
60 - "-wait_license"
Timothy Chen3525aa82020-04-23 23:23:18 -070061 verilator:
62 mode: lint-only
63 verilator_options:
64 - "-Wall"