blob: e2e3536fcfaac461776ac64f5ebdd62f57a067a8 [file] [log] [blame]
lowRISC Contributors802543a2019-08-31 12:12:56 +01001CAPI=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:systems:top_earlgrey:0.1"
6description: "Technology-independent Earl Grey toplevel"
7filesets:
8 files_rtl_generic:
9 depend:
10 - lowrisc:ip:uart:0.1
Philipp Wagner0d7bd2c2021-03-19 10:33:52 +000011 - lowrisc:opentitan:top_earlgrey_alert_handler
lowRISC Contributors802543a2019-08-31 12:12:56 +010012 - lowrisc:ip:gpio
13 - lowrisc:ip:rv_core_ibex
14 - lowrisc:ip:rv_dm
Philipp Wagnerc720ac82021-03-03 15:34:53 +000015 - lowrisc:opentitan:top_earlgrey_rv_plic
Timothy Chen62ff8e12021-04-22 16:00:18 -070016 - lowrisc:ip:pinmux
lowRISC Contributors802543a2019-08-31 12:12:56 +010017 - lowrisc:ip:rv_timer
18 - lowrisc:ip:tlul
19 - lowrisc:ip:spi_device
Michael Schaffnerdbd087e2021-02-12 17:58:30 -080020 - lowrisc:ip:spi_host
Timothy Chenb0f55772021-02-01 15:43:47 -080021 - lowrisc:ip:i2c
22 - lowrisc:ip:pattgen
Martin Lueker-Boden0d63fe02021-03-10 17:30:37 -080023 - lowrisc:ip:pwm
Pirmin Vogeld4534382019-10-17 13:18:31 +010024 - lowrisc:ip:aes
Mark Branstadff807362020-11-16 07:56:15 -080025 - lowrisc:ip:entropy_src
26 - lowrisc:ip:csrng
27 - lowrisc:ip:edn
lowRISC Contributors802543a2019-08-31 12:12:56 +010028 - lowrisc:ip:hmac
Eunchan Kim97be1d02020-11-03 14:33:52 -080029 - lowrisc:ip:kmac
Philipp Wagnera4a9e402020-06-22 12:06:56 +010030 - lowrisc:ip:otbn
Michael Schaffnerbec47c72020-11-06 14:03:54 -080031 - lowrisc:prim:ram_1p_scr
lowRISC Contributors802543a2019-08-31 12:12:56 +010032 - lowrisc:prim:flash
Timothy Chen3c3f3482020-09-09 18:45:41 -070033 - lowrisc:ip:flash_ctrl
Michael Schaffnerbd9a3542020-12-21 13:08:32 -080034 - lowrisc:ip:sram_ctrl
Timothy Chen3c3f3482020-09-09 18:45:41 -070035 - lowrisc:ip:keymgr
lowRISC Contributors802543a2019-08-31 12:12:56 +010036 - lowrisc:constants:top_pkg
Timothy Chen70f726c2022-03-28 17:27:26 -070037 - lowrisc:constants:jtag_id_pkg
Michael Schaffner5ae4a232020-10-06 19:03:43 -070038 - lowrisc:ip:otp_ctrl
Michael Schaffner60aa10e2020-12-07 19:39:08 -080039 - lowrisc:ip:lc_ctrl
Pirmin Vogelea91b302020-01-14 18:53:01 +000040 - lowrisc:ip:usbdev
Eunchan Kim8f2cb382020-05-13 11:53:09 -070041 - lowrisc:top_earlgrey:xbar_main
42 - lowrisc:top_earlgrey:xbar_peri
Timothy Chenb8e92a92020-11-02 17:11:55 -080043 - lowrisc:ip:rstmgr
Timothy Chen98fcc6b2020-07-27 14:19:56 -070044 - lowrisc:ip:pwrmgr
Timothy Chen2b8ef762021-02-16 14:44:55 -080045 - lowrisc:ip:aon_timer
Eric Shiu5f1d3042021-03-17 17:24:11 -070046 - lowrisc:ip:adc_ctrl
Michael Schaffnere029a682021-04-06 16:21:30 -070047 - lowrisc:ip:sysrst_ctrl
Rupert Swarbrick9855d4b2020-12-02 08:41:35 +000048 - lowrisc:ip:rom_ctrl
Timothy Chen7ab5bb42021-01-07 12:32:01 -080049 - lowrisc:systems:clkmgr
Timothy Chendde68052020-08-05 16:29:35 -070050 - lowrisc:systems:sensor_ctrl
Philipp Wagnerf2a7a012020-03-03 23:39:42 +000051 - lowrisc:tlul:headers
Philipp Wagner79725e12020-03-03 23:34:38 +000052 - lowrisc:prim:all
Michael Schaffnerdbd087e2021-02-12 17:58:30 -080053 - lowrisc:prim:usb_diff_rx
Timothy Chen8661ac72021-10-12 11:40:18 -070054 - lowrisc:prim:mubi
Michael Schaffner74c4ff22021-03-30 15:43:46 -070055 - lowrisc:systems:top_earlgrey_pkg
Timothy Chen70f726c2022-03-28 17:27:26 -070056 - "fileset_partner ? (partner:systems:ast_pkg)"
57 - "!fileset_partner ? (lowrisc:systems:ast_pkg)"
lowRISC Contributors802543a2019-08-31 12:12:56 +010058 files:
Michael Schaffner7b0807d2020-10-27 19:54:52 -070059 - rtl/autogen/top_earlgrey_rnd_cnst_pkg.sv
Eunchan Kim1a95dd92019-10-11 11:18:13 -070060 - rtl/autogen/top_earlgrey.sv
lowRISC Contributors802543a2019-08-31 12:12:56 +010061 file_type: systemVerilogSource
62
Michael Schaffnerb4919e52020-01-10 11:11:49 -080063 files_verilator_waiver:
64 depend:
65 # common waivers
66 - lowrisc:lint:common
67 - lowrisc:lint:comportable
68 files:
69 - lint/top_earlgrey.vlt
70 file_type: vlt
71
72 files_ascentlint_waiver:
73 depend:
74 # common waivers
75 - lowrisc:lint:common
76 - lowrisc:lint:comportable
77 files:
78 - lint/top_earlgrey.waiver
79 file_type: waiver
80
Michael Schaffner4cc865a2020-04-17 15:44:20 -070081 files_veriblelint_waiver:
82 depend:
83 # common waivers
84 - lowrisc:lint:common
85 - lowrisc:lint:comportable
Timothy Chen1d8b9602021-07-08 19:58:08 -070086 files:
87 - lint/top_earlgrey.vbw
88 file_type: veribleLintWaiver
Michael Schaffner4cc865a2020-04-17 15:44:20 -070089
Michael Schaffnerb4919e52020-01-10 11:11:49 -080090
lowRISC Contributors802543a2019-08-31 12:12:56 +010091parameters:
92 SYNTHESIS:
93 datatype: bool
94 paramtype: vlogdefine
Timothy Chendcf14882022-02-10 12:31:53 -080095 IBEX_CUSTOM_PMP_RESET_VALUES:
Michael Schaffner2a46c202021-11-18 15:27:04 -080096 datatype: bool
Timothy Chendcf14882022-02-10 12:31:53 -080097 default: true
Michael Schaffner2a46c202021-11-18 15:27:04 -080098 paramtype: vlogdefine
Michael Schaffnerb4919e52020-01-10 11:11:49 -080099
lowRISC Contributors802543a2019-08-31 12:12:56 +0100100targets:
101 default: &default_target
102 filesets:
Michael Schaffner4cc865a2020-04-17 15:44:20 -0700103 - tool_verilator ? (files_verilator_waiver)
104 - tool_ascentlint ? (files_ascentlint_waiver)
105 - tool_veriblelint ? (files_veriblelint_waiver)
lowRISC Contributors802543a2019-08-31 12:12:56 +0100106 - files_rtl_generic
107 toplevel: top_earlgrey
Timothy Chendcf14882022-02-10 12:31:53 -0800108 parameters:
109 - IBEX_CUSTOM_PMP_RESET_VALUES
Michael Schaffnerb4919e52020-01-10 11:11:49 -0800110
lowRISC Contributors802543a2019-08-31 12:12:56 +0100111 sim:
112 default_tool: icarus
113 filesets:
114 - files_rtl_generic
lowRISC Contributors802543a2019-08-31 12:12:56 +0100115 toplevel: top_earlgrey
Michael Schaffnerb4919e52020-01-10 11:11:49 -0800116
117 lint:
118 <<: *default_target
119 default_tool: verilator
120 parameters:
121 - SYNTHESIS=true
122 tools:
123 verilator:
124 mode: lint-only
125 verilator_options:
126 - "-Wall"
Michael Schaffner17df5a22020-03-12 11:23:50 -0700127
128 syn:
129 <<: *default_target
Michael Schaffner3d160992020-03-31 18:37:53 -0700130 # TODO: set default to DC once
Michael Schaffner17df5a22020-03-12 11:23:50 -0700131 # this option is available
132 # olofk/edalize#89
133 default_tool: icarus
134 parameters:
135 - SYNTHESIS=true
136 toplevel: top_earlgrey
Cindy Chene89bc962020-04-27 21:18:15 -0700137
138 formal:
139 <<: *default_target
140 toplevel: top_earlgrey