lowRISC Contributors | 802543a | 2019-08-31 12:12:56 +0100 | [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:systems:top_earlgrey:0.1" |
| 6 | description: "Technology-independent Earl Grey toplevel" |
| 7 | filesets: |
| 8 | files_rtl_generic: |
| 9 | depend: |
| 10 | - lowrisc:ip:uart:0.1 |
Philipp Wagner | 0d7bd2c | 2021-03-19 10:33:52 +0000 | [diff] [blame] | 11 | - lowrisc:opentitan:top_earlgrey_alert_handler |
lowRISC Contributors | 802543a | 2019-08-31 12:12:56 +0100 | [diff] [blame] | 12 | - lowrisc:ip:gpio |
| 13 | - lowrisc:ip:rv_core_ibex |
| 14 | - lowrisc:ip:rv_dm |
Philipp Wagner | c720ac8 | 2021-03-03 15:34:53 +0000 | [diff] [blame] | 15 | - lowrisc:opentitan:top_earlgrey_rv_plic |
Timothy Chen | 62ff8e1 | 2021-04-22 16:00:18 -0700 | [diff] [blame] | 16 | - lowrisc:ip:pinmux |
lowRISC Contributors | 802543a | 2019-08-31 12:12:56 +0100 | [diff] [blame] | 17 | - lowrisc:ip:rv_timer |
| 18 | - lowrisc:ip:tlul |
| 19 | - lowrisc:ip:spi_device |
Michael Schaffner | dbd087e | 2021-02-12 17:58:30 -0800 | [diff] [blame] | 20 | - lowrisc:ip:spi_host |
Timothy Chen | b0f5577 | 2021-02-01 15:43:47 -0800 | [diff] [blame] | 21 | - lowrisc:ip:i2c |
| 22 | - lowrisc:ip:pattgen |
Martin Lueker-Boden | 0d63fe0 | 2021-03-10 17:30:37 -0800 | [diff] [blame] | 23 | - lowrisc:ip:pwm |
Pirmin Vogel | d453438 | 2019-10-17 13:18:31 +0100 | [diff] [blame] | 24 | - lowrisc:ip:aes |
Mark Branstad | ff80736 | 2020-11-16 07:56:15 -0800 | [diff] [blame] | 25 | - lowrisc:ip:entropy_src |
| 26 | - lowrisc:ip:csrng |
| 27 | - lowrisc:ip:edn |
lowRISC Contributors | 802543a | 2019-08-31 12:12:56 +0100 | [diff] [blame] | 28 | - lowrisc:ip:hmac |
Eunchan Kim | 97be1d0 | 2020-11-03 14:33:52 -0800 | [diff] [blame] | 29 | - lowrisc:ip:kmac |
Philipp Wagner | a4a9e40 | 2020-06-22 12:06:56 +0100 | [diff] [blame] | 30 | - lowrisc:ip:otbn |
Michael Schaffner | bec47c7 | 2020-11-06 14:03:54 -0800 | [diff] [blame] | 31 | - lowrisc:prim:ram_1p_scr |
lowRISC Contributors | 802543a | 2019-08-31 12:12:56 +0100 | [diff] [blame] | 32 | - lowrisc:prim:flash |
Timothy Chen | 3c3f348 | 2020-09-09 18:45:41 -0700 | [diff] [blame] | 33 | - lowrisc:ip:flash_ctrl |
Michael Schaffner | bd9a354 | 2020-12-21 13:08:32 -0800 | [diff] [blame] | 34 | - lowrisc:ip:sram_ctrl |
Timothy Chen | 3c3f348 | 2020-09-09 18:45:41 -0700 | [diff] [blame] | 35 | - lowrisc:ip:keymgr |
lowRISC Contributors | 802543a | 2019-08-31 12:12:56 +0100 | [diff] [blame] | 36 | - lowrisc:constants:top_pkg |
Timothy Chen | 70f726c | 2022-03-28 17:27:26 -0700 | [diff] [blame] | 37 | - lowrisc:constants:jtag_id_pkg |
Michael Schaffner | 5ae4a23 | 2020-10-06 19:03:43 -0700 | [diff] [blame] | 38 | - lowrisc:ip:otp_ctrl |
Michael Schaffner | 60aa10e | 2020-12-07 19:39:08 -0800 | [diff] [blame] | 39 | - lowrisc:ip:lc_ctrl |
Pirmin Vogel | ea91b30 | 2020-01-14 18:53:01 +0000 | [diff] [blame] | 40 | - lowrisc:ip:usbdev |
Eunchan Kim | 8f2cb38 | 2020-05-13 11:53:09 -0700 | [diff] [blame] | 41 | - lowrisc:top_earlgrey:xbar_main |
| 42 | - lowrisc:top_earlgrey:xbar_peri |
Timothy Chen | b8e92a9 | 2020-11-02 17:11:55 -0800 | [diff] [blame] | 43 | - lowrisc:ip:rstmgr |
Timothy Chen | 98fcc6b | 2020-07-27 14:19:56 -0700 | [diff] [blame] | 44 | - lowrisc:ip:pwrmgr |
Timothy Chen | 2b8ef76 | 2021-02-16 14:44:55 -0800 | [diff] [blame] | 45 | - lowrisc:ip:aon_timer |
Eric Shiu | 5f1d304 | 2021-03-17 17:24:11 -0700 | [diff] [blame] | 46 | - lowrisc:ip:adc_ctrl |
Michael Schaffner | e029a68 | 2021-04-06 16:21:30 -0700 | [diff] [blame] | 47 | - lowrisc:ip:sysrst_ctrl |
Rupert Swarbrick | 9855d4b | 2020-12-02 08:41:35 +0000 | [diff] [blame] | 48 | - lowrisc:ip:rom_ctrl |
Timothy Chen | 7ab5bb4 | 2021-01-07 12:32:01 -0800 | [diff] [blame] | 49 | - lowrisc:systems:clkmgr |
Timothy Chen | dde6805 | 2020-08-05 16:29:35 -0700 | [diff] [blame] | 50 | - lowrisc:systems:sensor_ctrl |
Philipp Wagner | f2a7a01 | 2020-03-03 23:39:42 +0000 | [diff] [blame] | 51 | - lowrisc:tlul:headers |
Philipp Wagner | 79725e1 | 2020-03-03 23:34:38 +0000 | [diff] [blame] | 52 | - lowrisc:prim:all |
Michael Schaffner | dbd087e | 2021-02-12 17:58:30 -0800 | [diff] [blame] | 53 | - lowrisc:prim:usb_diff_rx |
Timothy Chen | 8661ac7 | 2021-10-12 11:40:18 -0700 | [diff] [blame] | 54 | - lowrisc:prim:mubi |
Michael Schaffner | 74c4ff2 | 2021-03-30 15:43:46 -0700 | [diff] [blame] | 55 | - lowrisc:systems:top_earlgrey_pkg |
Timothy Chen | 70f726c | 2022-03-28 17:27:26 -0700 | [diff] [blame] | 56 | - "fileset_partner ? (partner:systems:ast_pkg)" |
| 57 | - "!fileset_partner ? (lowrisc:systems:ast_pkg)" |
lowRISC Contributors | 802543a | 2019-08-31 12:12:56 +0100 | [diff] [blame] | 58 | files: |
Michael Schaffner | 7b0807d | 2020-10-27 19:54:52 -0700 | [diff] [blame] | 59 | - rtl/autogen/top_earlgrey_rnd_cnst_pkg.sv |
Eunchan Kim | 1a95dd9 | 2019-10-11 11:18:13 -0700 | [diff] [blame] | 60 | - rtl/autogen/top_earlgrey.sv |
lowRISC Contributors | 802543a | 2019-08-31 12:12:56 +0100 | [diff] [blame] | 61 | file_type: systemVerilogSource |
| 62 | |
Michael Schaffner | b4919e5 | 2020-01-10 11:11:49 -0800 | [diff] [blame] | 63 | 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 Schaffner | 4cc865a | 2020-04-17 15:44:20 -0700 | [diff] [blame] | 81 | files_veriblelint_waiver: |
| 82 | depend: |
| 83 | # common waivers |
| 84 | - lowrisc:lint:common |
| 85 | - lowrisc:lint:comportable |
Timothy Chen | 1d8b960 | 2021-07-08 19:58:08 -0700 | [diff] [blame] | 86 | files: |
| 87 | - lint/top_earlgrey.vbw |
| 88 | file_type: veribleLintWaiver |
Michael Schaffner | 4cc865a | 2020-04-17 15:44:20 -0700 | [diff] [blame] | 89 | |
Michael Schaffner | b4919e5 | 2020-01-10 11:11:49 -0800 | [diff] [blame] | 90 | |
lowRISC Contributors | 802543a | 2019-08-31 12:12:56 +0100 | [diff] [blame] | 91 | parameters: |
| 92 | SYNTHESIS: |
| 93 | datatype: bool |
| 94 | paramtype: vlogdefine |
Timothy Chen | dcf1488 | 2022-02-10 12:31:53 -0800 | [diff] [blame] | 95 | IBEX_CUSTOM_PMP_RESET_VALUES: |
Michael Schaffner | 2a46c20 | 2021-11-18 15:27:04 -0800 | [diff] [blame] | 96 | datatype: bool |
Timothy Chen | dcf1488 | 2022-02-10 12:31:53 -0800 | [diff] [blame] | 97 | default: true |
Michael Schaffner | 2a46c20 | 2021-11-18 15:27:04 -0800 | [diff] [blame] | 98 | paramtype: vlogdefine |
Michael Schaffner | b4919e5 | 2020-01-10 11:11:49 -0800 | [diff] [blame] | 99 | |
lowRISC Contributors | 802543a | 2019-08-31 12:12:56 +0100 | [diff] [blame] | 100 | targets: |
| 101 | default: &default_target |
| 102 | filesets: |
Michael Schaffner | 4cc865a | 2020-04-17 15:44:20 -0700 | [diff] [blame] | 103 | - tool_verilator ? (files_verilator_waiver) |
| 104 | - tool_ascentlint ? (files_ascentlint_waiver) |
| 105 | - tool_veriblelint ? (files_veriblelint_waiver) |
lowRISC Contributors | 802543a | 2019-08-31 12:12:56 +0100 | [diff] [blame] | 106 | - files_rtl_generic |
| 107 | toplevel: top_earlgrey |
Timothy Chen | dcf1488 | 2022-02-10 12:31:53 -0800 | [diff] [blame] | 108 | parameters: |
| 109 | - IBEX_CUSTOM_PMP_RESET_VALUES |
Michael Schaffner | b4919e5 | 2020-01-10 11:11:49 -0800 | [diff] [blame] | 110 | |
lowRISC Contributors | 802543a | 2019-08-31 12:12:56 +0100 | [diff] [blame] | 111 | sim: |
| 112 | default_tool: icarus |
| 113 | filesets: |
| 114 | - files_rtl_generic |
lowRISC Contributors | 802543a | 2019-08-31 12:12:56 +0100 | [diff] [blame] | 115 | toplevel: top_earlgrey |
Michael Schaffner | b4919e5 | 2020-01-10 11:11:49 -0800 | [diff] [blame] | 116 | |
| 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 Schaffner | 17df5a2 | 2020-03-12 11:23:50 -0700 | [diff] [blame] | 127 | |
| 128 | syn: |
| 129 | <<: *default_target |
Michael Schaffner | 3d16099 | 2020-03-31 18:37:53 -0700 | [diff] [blame] | 130 | # TODO: set default to DC once |
Michael Schaffner | 17df5a2 | 2020-03-12 11:23:50 -0700 | [diff] [blame] | 131 | # this option is available |
| 132 | # olofk/edalize#89 |
| 133 | default_tool: icarus |
| 134 | parameters: |
| 135 | - SYNTHESIS=true |
| 136 | toplevel: top_earlgrey |
Cindy Chen | e89bc96 | 2020-04-27 21:18:15 -0700 | [diff] [blame] | 137 | |
| 138 | formal: |
| 139 | <<: *default_target |
| 140 | toplevel: top_earlgrey |