blob: 3c5a364215b972fba7ceadd2e8c866040e2e8784 [file] [log] [blame]
Michael Schaffnerf4d38362019-09-24 18:50:11 -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:pinmux:0.1"
Michael Schaffnerbaad36d2019-10-02 11:17:26 -07006description: "Pin Multiplexer"
Michael Schaffnerf4d38362019-09-24 18:50:11 -07007
8filesets:
9 files_rtl:
10 depend:
Srikrishna Iyer5f7f4ee2020-02-19 11:00:58 -080011 - lowrisc:ip:pinmux_reg
12 - lowrisc:ip:pinmux_component
Michael Schaffnerf4d38362019-09-24 18:50:11 -070013
Michael Schaffnerb4919e52020-01-10 11:11:49 -080014parameters:
15 SYNTHESIS:
16 datatype: bool
17 paramtype: vlogdefine
18
Michael Schaffnerf4d38362019-09-24 18:50:11 -070019
20targets:
21 default: &default_target
22 filesets:
23 - files_rtl
24 toplevel: pinmux
25
Michael Schaffnerb4919e52020-01-10 11:11:49 -080026 lint:
27 <<: *default_target
28 default_tool: verilator
29 parameters:
30 - SYNTHESIS=true
31 tools:
32 verilator:
33 mode: lint-only
34 verilator_options:
35 - "-Wall"
36
Timothy Chenb9f43fe2021-04-22 15:21:03 -070037 syn:
38 <<: *default_target
39 # TODO: set default to DC once
40 # this option is available
41 # olofk/edalize#89
42 default_tool: icarus
43 parameters:
44 - SYNTHESIS=true