blob: 2abd6aff632cdff34bd308ccf79f0394daf4a0de [file] [log] [blame]
lowRISC Contributors802543a2019-08-31 12:12:56 +01001// Copyright lowRISC contributors.
2// Licensed under the Apache License, Version 2.0, see LICENSE for details.
3// SPDX-License-Identifier: Apache-2.0
4//
5// ------------------- W A R N I N G: A U T O - G E N E R A T E D C O D E !! -------------------//
6// PLEASE DO NOT HAND-EDIT THIS FILE. IT HAS BEEN AUTO-GENERATED WITH THE FOLLOWING COMMAND:
Michael Schaffner7f134962019-11-03 12:44:50 -08007// util/topgen.py -t hw/top_earlgrey/data/top_earlgrey.hjson --hjson-only -o hw/top_earlgrey/
lowRISC Contributors802543a2019-08-31 12:12:56 +01008{
9 name: earlgrey
10 type: top
11 datawidth: "32"
12 clocks:
13 [
14 {
15 name: main
16 freq: "100000000"
17 }
Timothy Chen65d74252019-11-08 14:03:35 -080018 {
19 name: fixed
20 freq: "100000000"
21 }
Pirmin Vogelea91b302020-01-14 18:53:01 +000022 {
23 name: usb
24 freq: "48000000"
25 }
lowRISC Contributors802543a2019-08-31 12:12:56 +010026 ]
Timothy Chen3193b002019-10-04 16:56:05 -070027 resets:
28 [
29 {
30 name: lc
31 type: root
Timothy Chene8cb3bd2020-04-14 16:12:26 -070032 root: lc
33 clk: fixed
Timothy Chen3193b002019-10-04 16:56:05 -070034 }
35 {
36 name: sys
37 type: root
Timothy Chene8cb3bd2020-04-14 16:12:26 -070038 root: sys
Timothy Chen3193b002019-10-04 16:56:05 -070039 clk: main
40 }
41 {
Timothy Chen65d74252019-11-08 14:03:35 -080042 name: sys_fixed
Timothy Chene8cb3bd2020-04-14 16:12:26 -070043 type: gen
Timothy Chen65d74252019-11-08 14:03:35 -080044 root: sys
45 clk: fixed
46 }
47 {
Timothy Chen3193b002019-10-04 16:56:05 -070048 name: spi_device
Timothy Chene8cb3bd2020-04-14 16:12:26 -070049 type: gen
Timothy Chen3193b002019-10-04 16:56:05 -070050 root: sys
Timothy Chen65d74252019-11-08 14:03:35 -080051 clk: fixed
Timothy Chene8cb3bd2020-04-14 16:12:26 -070052 sw: 1
Timothy Chen3193b002019-10-04 16:56:05 -070053 }
Pirmin Vogelea91b302020-01-14 18:53:01 +000054 {
55 name: usb
Timothy Chene8cb3bd2020-04-14 16:12:26 -070056 type: gen
Pirmin Vogelea91b302020-01-14 18:53:01 +000057 root: sys
58 clk: usb
Timothy Chene8cb3bd2020-04-14 16:12:26 -070059 sw: 1
Pirmin Vogelea91b302020-01-14 18:53:01 +000060 }
Timothy Chen3193b002019-10-04 16:56:05 -070061 ]
lowRISC Contributors802543a2019-08-31 12:12:56 +010062 num_cores: "1"
63 module:
64 [
65 {
66 name: uart
67 type: uart
Timothy Chen80bd8aa2019-10-04 15:57:11 -070068 clock_connections:
69 {
Timothy Chen65d74252019-11-08 14:03:35 -080070 clk_i: fixed
Timothy Chen80bd8aa2019-10-04 15:57:11 -070071 }
Timothy Chen3193b002019-10-04 16:56:05 -070072 reset_connections:
73 {
Timothy Chen65d74252019-11-08 14:03:35 -080074 rst_ni: sys_fixed
Timothy Chen3193b002019-10-04 16:56:05 -070075 }
lowRISC Contributors802543a2019-08-31 12:12:56 +010076 base_addr: 0x40000000
77 size: 0x1000
lowRISC Contributors802543a2019-08-31 12:12:56 +010078 bus_device: tlul
79 bus_host: none
80 available_input_list:
81 [
82 {
Eunchan Kimfd4bb812020-02-14 14:53:57 -080083 name: rx
lowRISC Contributors802543a2019-08-31 12:12:56 +010084 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -070085 type: input
lowRISC Contributors802543a2019-08-31 12:12:56 +010086 }
87 ]
88 available_output_list:
89 [
90 {
Eunchan Kimfd4bb812020-02-14 14:53:57 -080091 name: tx
lowRISC Contributors802543a2019-08-31 12:12:56 +010092 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -070093 type: output
lowRISC Contributors802543a2019-08-31 12:12:56 +010094 }
95 ]
96 available_inout_list: []
97 interrupt_list:
98 [
99 {
100 name: tx_watermark
Eunchan Kime4a85072020-02-05 16:00:00 -0800101 width: 1
102 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800103 }
104 {
lowRISC Contributors802543a2019-08-31 12:12:56 +0100105 name: rx_watermark
Eunchan Kime4a85072020-02-05 16:00:00 -0800106 width: 1
107 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800108 }
109 {
Timothy Chen087d4f42019-12-27 16:04:46 -0800110 name: tx_empty
Eunchan Kime4a85072020-02-05 16:00:00 -0800111 width: 1
112 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800113 }
114 {
lowRISC Contributors802543a2019-08-31 12:12:56 +0100115 name: rx_overflow
Eunchan Kime4a85072020-02-05 16:00:00 -0800116 width: 1
117 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800118 }
119 {
lowRISC Contributors802543a2019-08-31 12:12:56 +0100120 name: rx_frame_err
Eunchan Kime4a85072020-02-05 16:00:00 -0800121 width: 1
122 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800123 }
124 {
lowRISC Contributors802543a2019-08-31 12:12:56 +0100125 name: rx_break_err
Eunchan Kime4a85072020-02-05 16:00:00 -0800126 width: 1
127 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800128 }
129 {
lowRISC Contributors802543a2019-08-31 12:12:56 +0100130 name: rx_timeout
lowRISC Contributors802543a2019-08-31 12:12:56 +0100131 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700132 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800133 }
134 {
Eunchan Kime4a85072020-02-05 16:00:00 -0800135 name: rx_parity_err
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800136 width: 1
137 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100138 }
139 ]
Michael Schaffner666dde12019-10-25 11:57:54 -0700140 alert_list: []
Eunchan Kim2cfadab2019-10-02 12:41:11 -0700141 scan: "false"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100142 }
143 {
144 name: gpio
145 type: gpio
Timothy Chen80bd8aa2019-10-04 15:57:11 -0700146 clock_connections:
147 {
Timothy Chen65d74252019-11-08 14:03:35 -0800148 clk_i: fixed
Timothy Chen80bd8aa2019-10-04 15:57:11 -0700149 }
Timothy Chen3193b002019-10-04 16:56:05 -0700150 reset_connections:
151 {
Timothy Chen65d74252019-11-08 14:03:35 -0800152 rst_ni: sys_fixed
Timothy Chen3193b002019-10-04 16:56:05 -0700153 }
lowRISC Contributors802543a2019-08-31 12:12:56 +0100154 base_addr: 0x40010000
155 size: 0x1000
lowRISC Contributors802543a2019-08-31 12:12:56 +0100156 bus_device: tlul
157 bus_host: none
158 available_input_list: []
159 available_output_list: []
160 available_inout_list:
161 [
162 {
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800163 name: gpio
lowRISC Contributors802543a2019-08-31 12:12:56 +0100164 width: 32
Eunchan Kim632c6f72019-09-30 11:11:51 -0700165 type: inout
lowRISC Contributors802543a2019-08-31 12:12:56 +0100166 }
167 ]
168 interrupt_list:
169 [
170 {
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800171 name: gpio
lowRISC Contributors802543a2019-08-31 12:12:56 +0100172 width: 32
Eunchan Kim632c6f72019-09-30 11:11:51 -0700173 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100174 }
175 ]
Michael Schaffner666dde12019-10-25 11:57:54 -0700176 alert_list: []
Eunchan Kim2cfadab2019-10-02 12:41:11 -0700177 scan: "false"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100178 }
179 {
180 name: spi_device
181 type: spi_device
Timothy Chen80bd8aa2019-10-04 15:57:11 -0700182 clock_connections:
183 {
Timothy Chen65d74252019-11-08 14:03:35 -0800184 clk_i: fixed
Timothy Chen80bd8aa2019-10-04 15:57:11 -0700185 }
Timothy Chen3193b002019-10-04 16:56:05 -0700186 reset_connections:
187 {
188 rst_ni: spi_device
189 }
lowRISC Contributors802543a2019-08-31 12:12:56 +0100190 base_addr: 0x40020000
191 size: 0x1000
lowRISC Contributors802543a2019-08-31 12:12:56 +0100192 bus_device: tlul
193 bus_host: none
194 available_input_list:
195 [
196 {
197 name: sck
Eunchan Kime4a85072020-02-05 16:00:00 -0800198 width: 1
199 type: input
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800200 }
201 {
lowRISC Contributors802543a2019-08-31 12:12:56 +0100202 name: csb
lowRISC Contributors802543a2019-08-31 12:12:56 +0100203 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700204 type: input
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800205 }
206 {
Eunchan Kime4a85072020-02-05 16:00:00 -0800207 name: mosi
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800208 width: 1
209 type: input
lowRISC Contributors802543a2019-08-31 12:12:56 +0100210 }
211 ]
212 available_output_list:
213 [
214 {
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800215 name: miso
lowRISC Contributors802543a2019-08-31 12:12:56 +0100216 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700217 type: output
lowRISC Contributors802543a2019-08-31 12:12:56 +0100218 }
219 ]
220 available_inout_list: []
221 interrupt_list:
222 [
223 {
Eunchan Kim8c57fe32019-09-02 21:14:24 -0700224 name: rxf
Eunchan Kime4a85072020-02-05 16:00:00 -0800225 width: 1
226 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800227 }
228 {
lowRISC Contributors802543a2019-08-31 12:12:56 +0100229 name: rxlvl
Eunchan Kime4a85072020-02-05 16:00:00 -0800230 width: 1
231 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800232 }
233 {
lowRISC Contributors802543a2019-08-31 12:12:56 +0100234 name: txlvl
Eunchan Kime4a85072020-02-05 16:00:00 -0800235 width: 1
236 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800237 }
238 {
lowRISC Contributors802543a2019-08-31 12:12:56 +0100239 name: rxerr
Eunchan Kime4a85072020-02-05 16:00:00 -0800240 width: 1
241 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800242 }
243 {
Eunchan Kim546c0d42019-09-24 15:07:06 -0700244 name: rxoverflow
Eunchan Kim546c0d42019-09-24 15:07:06 -0700245 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700246 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800247 }
248 {
Eunchan Kime4a85072020-02-05 16:00:00 -0800249 name: txunderflow
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800250 width: 1
251 type: interrupt
Eunchan Kim546c0d42019-09-24 15:07:06 -0700252 }
lowRISC Contributors802543a2019-08-31 12:12:56 +0100253 ]
Michael Schaffner666dde12019-10-25 11:57:54 -0700254 alert_list: []
Eunchan Kim2cfadab2019-10-02 12:41:11 -0700255 scan: "true"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100256 }
257 {
258 name: flash_ctrl
259 type: flash_ctrl
Timothy Chen80bd8aa2019-10-04 15:57:11 -0700260 clock_connections:
261 {
262 clk_i: main
263 }
Timothy Chen3193b002019-10-04 16:56:05 -0700264 reset_connections:
265 {
266 rst_ni: lc
267 }
lowRISC Contributors802543a2019-08-31 12:12:56 +0100268 base_addr: 0x40030000
269 size: 0x1000
lowRISC Contributors802543a2019-08-31 12:12:56 +0100270 bus_device: tlul
271 bus_host: none
272 available_input_list: []
273 available_output_list: []
274 available_inout_list: []
275 interrupt_list:
276 [
277 {
278 name: prog_empty
Eunchan Kime4a85072020-02-05 16:00:00 -0800279 width: 1
280 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800281 }
282 {
lowRISC Contributors802543a2019-08-31 12:12:56 +0100283 name: prog_lvl
Eunchan Kime4a85072020-02-05 16:00:00 -0800284 width: 1
285 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800286 }
287 {
lowRISC Contributors802543a2019-08-31 12:12:56 +0100288 name: rd_full
Eunchan Kime4a85072020-02-05 16:00:00 -0800289 width: 1
290 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800291 }
292 {
lowRISC Contributors802543a2019-08-31 12:12:56 +0100293 name: rd_lvl
Eunchan Kime4a85072020-02-05 16:00:00 -0800294 width: 1
295 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800296 }
297 {
lowRISC Contributors802543a2019-08-31 12:12:56 +0100298 name: op_done
lowRISC Contributors802543a2019-08-31 12:12:56 +0100299 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700300 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800301 }
302 {
Eunchan Kime4a85072020-02-05 16:00:00 -0800303 name: op_error
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800304 width: 1
305 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100306 }
307 ]
Michael Schaffner666dde12019-10-25 11:57:54 -0700308 alert_list: []
Eunchan Kim2cfadab2019-10-02 12:41:11 -0700309 scan: "false"
Eunchan Kime4a85072020-02-05 16:00:00 -0800310 inter_signal_list:
311 [
312 {
Eunchan Kime4a85072020-02-05 16:00:00 -0800313 struct: flash
314 type: req_rsp
315 name: flash
Eunchan Kim40098a92020-04-17 12:22:36 -0700316 act: req
Eunchan Kime4a85072020-02-05 16:00:00 -0800317 package: flash_ctrl_pkg
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800318 inst_name: flash_ctrl
Eunchan Kim91b58ba2020-04-07 08:19:54 -0700319 width: 1
Eunchan Kim6599ba92020-04-13 15:27:16 -0700320 top_signame: flash_ctrl_flash
321 index: -1
Eunchan Kime4a85072020-02-05 16:00:00 -0800322 }
323 ]
lowRISC Contributors802543a2019-08-31 12:12:56 +0100324 }
325 {
326 name: rv_timer
327 type: rv_timer
Timothy Chen80bd8aa2019-10-04 15:57:11 -0700328 clock_connections:
329 {
Timothy Chen65d74252019-11-08 14:03:35 -0800330 clk_i: fixed
Timothy Chen80bd8aa2019-10-04 15:57:11 -0700331 }
Timothy Chen3193b002019-10-04 16:56:05 -0700332 reset_connections:
333 {
Timothy Chen65d74252019-11-08 14:03:35 -0800334 rst_ni: sys_fixed
Timothy Chen3193b002019-10-04 16:56:05 -0700335 }
lowRISC Contributors802543a2019-08-31 12:12:56 +0100336 base_addr: 0x40080000
337 size: 0x1000
lowRISC Contributors802543a2019-08-31 12:12:56 +0100338 bus_device: tlul
339 bus_host: none
340 available_input_list: []
341 available_output_list: []
342 available_inout_list: []
343 interrupt_list:
344 [
345 {
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800346 name: timer_expired_0_0
lowRISC Contributors802543a2019-08-31 12:12:56 +0100347 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700348 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100349 }
350 ]
Michael Schaffner666dde12019-10-25 11:57:54 -0700351 alert_list: []
Eunchan Kim2cfadab2019-10-02 12:41:11 -0700352 scan: "false"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100353 }
354 {
Pirmin Vogeld4534382019-10-17 13:18:31 +0100355 name: aes
356 type: aes
357 clock_connections:
358 {
359 clk_i: main
360 }
361 reset_connections:
362 {
363 rst_ni: sys
364 }
365 base_addr: 0x40110000
366 size: 0x1000
367 bus_device: tlul
368 bus_host: none
369 available_input_list: []
370 available_output_list: []
371 available_inout_list: []
372 interrupt_list: []
Michael Schaffner666dde12019-10-25 11:57:54 -0700373 alert_list: []
Pirmin Vogeld4534382019-10-17 13:18:31 +0100374 scan: "false"
375 }
376 {
lowRISC Contributors802543a2019-08-31 12:12:56 +0100377 name: hmac
378 type: hmac
Timothy Chen80bd8aa2019-10-04 15:57:11 -0700379 clock_connections:
380 {
381 clk_i: main
382 }
Timothy Chen3193b002019-10-04 16:56:05 -0700383 reset_connections:
384 {
385 rst_ni: sys
386 }
lowRISC Contributors802543a2019-08-31 12:12:56 +0100387 base_addr: 0x40120000
388 size: 0x1000
lowRISC Contributors802543a2019-08-31 12:12:56 +0100389 bus_device: tlul
390 bus_host: none
391 available_input_list: []
392 available_output_list: []
393 available_inout_list: []
394 interrupt_list:
395 [
396 {
397 name: hmac_done
Eunchan Kime4a85072020-02-05 16:00:00 -0800398 width: 1
399 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800400 }
401 {
Eunchan Kimd9d69aa2020-03-20 10:21:11 -0700402 name: fifo_empty
Eunchan Kim226eab62019-10-18 14:11:29 -0700403 width: 1
404 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800405 }
406 {
Eunchan Kime4a85072020-02-05 16:00:00 -0800407 name: hmac_err
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800408 width: 1
409 type: interrupt
Eunchan Kim226eab62019-10-18 14:11:29 -0700410 }
lowRISC Contributors802543a2019-08-31 12:12:56 +0100411 ]
Michael Schaffner666dde12019-10-25 11:57:54 -0700412 alert_list:
413 [
414 {
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800415 name: msg_push_sha_disabled
Michael Schaffner666dde12019-10-25 11:57:54 -0700416 width: 1
417 type: alert
418 async: 0
419 }
420 ]
Eunchan Kim2cfadab2019-10-02 12:41:11 -0700421 scan: "false"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100422 }
423 {
424 name: rv_plic
425 type: rv_plic
Timothy Chen80bd8aa2019-10-04 15:57:11 -0700426 clock_connections:
427 {
428 clk_i: main
429 }
Timothy Chen3193b002019-10-04 16:56:05 -0700430 reset_connections:
431 {
432 rst_ni: sys
433 }
lowRISC Contributors802543a2019-08-31 12:12:56 +0100434 base_addr: 0x40090000
435 generated: "true"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100436 size: 0x1000
lowRISC Contributors802543a2019-08-31 12:12:56 +0100437 bus_device: tlul
438 bus_host: none
439 available_input_list: []
440 available_output_list: []
441 available_inout_list: []
442 interrupt_list: []
Michael Schaffner666dde12019-10-25 11:57:54 -0700443 alert_list: []
Eunchan Kim2cfadab2019-10-02 12:41:11 -0700444 scan: "false"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100445 }
Eunchan Kim769065e2019-10-29 17:29:26 -0700446 {
447 name: pinmux
448 type: pinmux
449 clock: main
450 clock_connections:
451 {
452 clk_i: main
453 }
454 reset_connections:
455 {
456 rst_ni: sys
457 }
458 base_addr: 0x40070000
459 generated: "true"
460 size: 0x1000
461 bus_device: tlul
462 bus_host: none
463 available_input_list: []
464 available_output_list: []
465 available_inout_list: []
466 interrupt_list: []
Michael Schaffner666dde12019-10-25 11:57:54 -0700467 alert_list: []
468 scan: "false"
469 }
470 {
471 name: alert_handler
472 type: alert_handler
473 clock_connections:
474 {
475 clk_i: main
476 }
477 reset_connections:
478 {
479 rst_ni: sys
480 }
481 base_addr: 0x40130000
482 generated: "true"
483 localparam:
484 {
485 EscCntDw: 32
486 AccuCntDw: 16
487 LfsrSeed: 0x7FFFFFFF
488 }
489 size: 0x1000
490 bus_device: tlul
491 bus_host: none
492 available_input_list: []
493 available_output_list: []
494 available_inout_list: []
495 interrupt_list:
496 [
497 {
498 name: classa
Eunchan Kime4a85072020-02-05 16:00:00 -0800499 width: 1
500 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800501 }
502 {
Michael Schaffner666dde12019-10-25 11:57:54 -0700503 name: classb
Eunchan Kime4a85072020-02-05 16:00:00 -0800504 width: 1
505 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800506 }
507 {
Michael Schaffner666dde12019-10-25 11:57:54 -0700508 name: classc
Michael Schaffner666dde12019-10-25 11:57:54 -0700509 width: 1
510 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800511 }
512 {
Eunchan Kime4a85072020-02-05 16:00:00 -0800513 name: classd
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800514 width: 1
515 type: interrupt
Michael Schaffner666dde12019-10-25 11:57:54 -0700516 }
517 ]
518 alert_list: []
519 scan: "false"
520 }
521 {
522 name: nmi_gen
523 type: nmi_gen
524 clock_connections:
525 {
526 clk_i: main
527 }
528 reset_connections:
529 {
530 rst_ni: sys
531 }
532 base_addr: 0x40140000
533 size: 0x1000
534 bus_device: tlul
535 bus_host: none
536 available_input_list: []
537 available_output_list: []
538 available_inout_list: []
539 interrupt_list:
540 [
541 {
542 name: esc0
Eunchan Kime4a85072020-02-05 16:00:00 -0800543 width: 1
544 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800545 }
546 {
Michael Schaffner666dde12019-10-25 11:57:54 -0700547 name: esc1
Eunchan Kime4a85072020-02-05 16:00:00 -0800548 width: 1
549 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800550 }
551 {
Michael Schaffner666dde12019-10-25 11:57:54 -0700552 name: esc2
Michael Schaffner666dde12019-10-25 11:57:54 -0700553 width: 1
554 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800555 }
556 {
Eunchan Kime4a85072020-02-05 16:00:00 -0800557 name: esc3
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800558 width: 1
559 type: interrupt
Michael Schaffner666dde12019-10-25 11:57:54 -0700560 }
561 ]
562 alert_list: []
Eunchan Kim769065e2019-10-29 17:29:26 -0700563 scan: "false"
564 }
Pirmin Vogelea91b302020-01-14 18:53:01 +0000565 {
566 name: usbdev
567 type: usbdev
568 clock_connections:
569 {
570 clk_i: fixed
571 clk_usb_48mhz_i: usb
572 }
573 reset_connections:
574 {
575 rst_ni: sys_fixed
576 rst_usb_48mhz_ni: usb
577 }
578 base_addr: 0x40150000
579 size: 0x1000
580 bus_device: tlul
581 bus_host: none
582 available_input_list:
583 [
584 {
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800585 name: sense
Pirmin Vogelea91b302020-01-14 18:53:01 +0000586 width: 1
587 type: input
588 }
589 ]
590 available_output_list:
591 [
592 {
Pirmin Vogelb054fc02020-03-11 11:23:03 +0100593 name: se0
594 width: 1
595 type: output
596 }
597 {
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800598 name: pullup
Pirmin Vogelea91b302020-01-14 18:53:01 +0000599 width: 1
600 type: output
601 }
Pirmin Vogelb054fc02020-03-11 11:23:03 +0100602 {
603 name: tx_mode_se
604 width: 1
605 type: output
606 }
607 {
608 name: suspend
609 width: 1
610 type: output
611 }
Pirmin Vogelea91b302020-01-14 18:53:01 +0000612 ]
613 available_inout_list:
614 [
615 {
Pirmin Vogelb054fc02020-03-11 11:23:03 +0100616 name: d
617 width: 1
618 type: inout
619 }
620 {
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800621 name: dp
Pirmin Vogelea91b302020-01-14 18:53:01 +0000622 width: 1
623 type: inout
624 }
625 {
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800626 name: dn
Pirmin Vogelea91b302020-01-14 18:53:01 +0000627 width: 1
628 type: inout
629 }
630 ]
631 interrupt_list:
632 [
633 {
634 name: pkt_received
Eunchan Kime4a85072020-02-05 16:00:00 -0800635 width: 1
636 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800637 }
638 {
Pirmin Vogelea91b302020-01-14 18:53:01 +0000639 name: pkt_sent
Eunchan Kime4a85072020-02-05 16:00:00 -0800640 width: 1
641 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800642 }
643 {
Pirmin Vogelea91b302020-01-14 18:53:01 +0000644 name: disconnected
Eunchan Kime4a85072020-02-05 16:00:00 -0800645 width: 1
646 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800647 }
648 {
Pirmin Vogelea91b302020-01-14 18:53:01 +0000649 name: host_lost
Eunchan Kime4a85072020-02-05 16:00:00 -0800650 width: 1
651 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800652 }
653 {
Pirmin Vogelea91b302020-01-14 18:53:01 +0000654 name: link_reset
Eunchan Kime4a85072020-02-05 16:00:00 -0800655 width: 1
656 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800657 }
658 {
Pirmin Vogelea91b302020-01-14 18:53:01 +0000659 name: link_suspend
Eunchan Kime4a85072020-02-05 16:00:00 -0800660 width: 1
661 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800662 }
663 {
Pirmin Vogelea91b302020-01-14 18:53:01 +0000664 name: link_resume
Eunchan Kime4a85072020-02-05 16:00:00 -0800665 width: 1
666 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800667 }
668 {
Pirmin Vogelea91b302020-01-14 18:53:01 +0000669 name: av_empty
Eunchan Kime4a85072020-02-05 16:00:00 -0800670 width: 1
671 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800672 }
673 {
Pirmin Vogelea91b302020-01-14 18:53:01 +0000674 name: rx_full
Eunchan Kime4a85072020-02-05 16:00:00 -0800675 width: 1
676 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800677 }
678 {
Pirmin Vogelea91b302020-01-14 18:53:01 +0000679 name: av_overflow
Eunchan Kime4a85072020-02-05 16:00:00 -0800680 width: 1
681 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800682 }
683 {
Pirmin Vogelea91b302020-01-14 18:53:01 +0000684 name: link_in_err
Eunchan Kime4a85072020-02-05 16:00:00 -0800685 width: 1
686 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800687 }
688 {
Pirmin Vogelea91b302020-01-14 18:53:01 +0000689 name: rx_crc_err
Eunchan Kime4a85072020-02-05 16:00:00 -0800690 width: 1
691 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800692 }
693 {
Pirmin Vogelea91b302020-01-14 18:53:01 +0000694 name: rx_pid_err
Eunchan Kime4a85072020-02-05 16:00:00 -0800695 width: 1
696 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800697 }
698 {
Pirmin Vogelea91b302020-01-14 18:53:01 +0000699 name: rx_bitstuff_err
Eunchan Kime4a85072020-02-05 16:00:00 -0800700 width: 1
701 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800702 }
703 {
Pirmin Vogelea91b302020-01-14 18:53:01 +0000704 name: frame
Pirmin Vogelea91b302020-01-14 18:53:01 +0000705 width: 1
706 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800707 }
708 {
Eunchan Kime4a85072020-02-05 16:00:00 -0800709 name: connected
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800710 width: 1
711 type: interrupt
Pirmin Vogelea91b302020-01-14 18:53:01 +0000712 }
713 ]
714 alert_list: []
715 scan: "false"
716 }
lowRISC Contributors802543a2019-08-31 12:12:56 +0100717 ]
718 memory:
719 [
720 {
721 name: rom
Timothy Chen80bd8aa2019-10-04 15:57:11 -0700722 clock_connections:
723 {
724 clk_i: main
725 }
Timothy Chen3193b002019-10-04 16:56:05 -0700726 reset_connections:
727 {
728 rst_ni: sys
729 }
Timothy Chen44461032019-09-20 15:35:20 -0700730 type: rom
lowRISC Contributors802543a2019-08-31 12:12:56 +0100731 base_addr: 0x00008000
Timothy Chenda2e3442020-02-24 21:37:47 -0800732 size: 0x4000
lowRISC Contributors802543a2019-08-31 12:12:56 +0100733 }
734 {
735 name: ram_main
Timothy Chen80bd8aa2019-10-04 15:57:11 -0700736 clock_connections:
737 {
738 clk_i: main
739 }
Timothy Chen3193b002019-10-04 16:56:05 -0700740 reset_connections:
741 {
742 rst_ni: sys
743 }
lowRISC Contributors802543a2019-08-31 12:12:56 +0100744 type: ram_1p
745 base_addr: 0x10000000
746 size: 0x10000
747 }
748 {
749 name: eflash
Timothy Chen80bd8aa2019-10-04 15:57:11 -0700750 clock_connections:
751 {
752 clk_i: main
753 }
Timothy Chen3193b002019-10-04 16:56:05 -0700754 reset_connections:
755 {
756 rst_ni: lc
757 }
lowRISC Contributors802543a2019-08-31 12:12:56 +0100758 type: eflash
759 base_addr: 0x20000000
760 size: 0x80000
Eunchan Kime4a85072020-02-05 16:00:00 -0800761 inter_signal_list:
762 [
763 {
764 struct: flash
765 type: req_rsp
766 name: flash_ctrl
Eunchan Kim40098a92020-04-17 12:22:36 -0700767 act: rsp
Eunchan Kime4a85072020-02-05 16:00:00 -0800768 inst_name: eflash
Eunchan Kim91b58ba2020-04-07 08:19:54 -0700769 width: 1
Eunchan Kim40098a92020-04-17 12:22:36 -0700770 package: flash_ctrl_pkg
Eunchan Kim6599ba92020-04-13 15:27:16 -0700771 top_signame: flash_ctrl_flash
772 index: -1
Eunchan Kime4a85072020-02-05 16:00:00 -0800773 }
774 ]
lowRISC Contributors802543a2019-08-31 12:12:56 +0100775 }
776 ]
Eunchan Kime4a85072020-02-05 16:00:00 -0800777 inter_module:
778 {
Eunchan Kim40098a92020-04-17 12:22:36 -0700779 connect:
780 {
781 flash_ctrl.flash:
782 [
783 eflash.flash_ctrl
784 ]
785 }
786 top: []
787 ext: []
Eunchan Kime4a85072020-02-05 16:00:00 -0800788 }
lowRISC Contributors802543a2019-08-31 12:12:56 +0100789 xbar:
790 [
791 {
792 name: main
Timothy Chen80bd8aa2019-10-04 15:57:11 -0700793 clock_connections:
794 {
795 clk_main_i: main
Timothy Chen65d74252019-11-08 14:03:35 -0800796 clk_fixed_i: fixed
Timothy Chen80bd8aa2019-10-04 15:57:11 -0700797 }
Timothy Chen65d74252019-11-08 14:03:35 -0800798 reset: rst_main_ni
Timothy Chen3193b002019-10-04 16:56:05 -0700799 reset_connections:
800 {
801 rst_main_ni: sys
Timothy Chen65d74252019-11-08 14:03:35 -0800802 rst_fixed_ni: sys_fixed
Timothy Chen3193b002019-10-04 16:56:05 -0700803 }
lowRISC Contributors802543a2019-08-31 12:12:56 +0100804 connections:
805 {
806 corei:
807 [
808 rom
809 debug_mem
810 ram_main
811 eflash
812 ]
813 cored:
814 [
815 rom
816 debug_mem
817 ram_main
818 eflash
Eunchan Kim55d7ae82019-12-19 17:08:35 -0800819 peri
lowRISC Contributors802543a2019-08-31 12:12:56 +0100820 flash_ctrl
Pirmin Vogeld4534382019-10-17 13:18:31 +0100821 aes
lowRISC Contributors802543a2019-08-31 12:12:56 +0100822 hmac
823 rv_plic
Eunchan Kim769065e2019-10-29 17:29:26 -0700824 pinmux
Michael Schaffner666dde12019-10-25 11:57:54 -0700825 alert_handler
826 nmi_gen
lowRISC Contributors802543a2019-08-31 12:12:56 +0100827 ]
828 dm_sba:
829 [
830 rom
831 ram_main
832 eflash
Eunchan Kim55d7ae82019-12-19 17:08:35 -0800833 peri
lowRISC Contributors802543a2019-08-31 12:12:56 +0100834 flash_ctrl
Pirmin Vogeld4534382019-10-17 13:18:31 +0100835 aes
lowRISC Contributors802543a2019-08-31 12:12:56 +0100836 hmac
837 rv_plic
Eunchan Kim769065e2019-10-29 17:29:26 -0700838 pinmux
Michael Schaffner666dde12019-10-25 11:57:54 -0700839 alert_handler
840 nmi_gen
lowRISC Contributors802543a2019-08-31 12:12:56 +0100841 ]
842 }
843 nodes:
844 [
845 {
846 name: corei
847 type: host
Timothy Chen65d74252019-11-08 14:03:35 -0800848 clock: clk_main_i
849 reset: rst_main_ni
Timothy Chen61e25e82019-09-13 14:04:10 -0700850 pipeline: "false"
Eunchan Kim55d7ae82019-12-19 17:08:35 -0800851 xbar: false
lowRISC Contributors802543a2019-08-31 12:12:56 +0100852 inst_type: rv_core_ibex
Timothy Chen61e25e82019-09-13 14:04:10 -0700853 pipeline_byp: "true"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100854 }
855 {
856 name: cored
857 type: host
Timothy Chen65d74252019-11-08 14:03:35 -0800858 clock: clk_main_i
859 reset: rst_main_ni
Timothy Chen61e25e82019-09-13 14:04:10 -0700860 pipeline: "false"
Eunchan Kim55d7ae82019-12-19 17:08:35 -0800861 xbar: false
lowRISC Contributors802543a2019-08-31 12:12:56 +0100862 inst_type: rv_core_ibex
Timothy Chen61e25e82019-09-13 14:04:10 -0700863 pipeline_byp: "true"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100864 }
865 {
866 name: dm_sba
867 type: host
Timothy Chen65d74252019-11-08 14:03:35 -0800868 clock: clk_main_i
869 reset: rst_main_ni
Timothy Chen61e25e82019-09-13 14:04:10 -0700870 pipeline_byp: "false"
Eunchan Kim55d7ae82019-12-19 17:08:35 -0800871 xbar: false
lowRISC Contributors802543a2019-08-31 12:12:56 +0100872 inst_type: rv_dm
Timothy Chen61e25e82019-09-13 14:04:10 -0700873 pipeline: "true"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100874 }
875 {
876 name: rom
877 type: device
Timothy Chen65d74252019-11-08 14:03:35 -0800878 clock: clk_main_i
879 reset: rst_main_ni
Timothy Chen61e25e82019-09-13 14:04:10 -0700880 pipeline: "false"
Timothy Chen44461032019-09-20 15:35:20 -0700881 inst_type: rom
Eunchan Kim0491ada2019-12-26 12:26:31 -0800882 addr_range:
883 [
884 {
Eunchan Kime4a85072020-02-05 16:00:00 -0800885 base_addr: 0x00008000
Timothy Chenda2e3442020-02-24 21:37:47 -0800886 size_byte: 0x4000
Eunchan Kim0491ada2019-12-26 12:26:31 -0800887 }
888 ]
Eunchan Kim55d7ae82019-12-19 17:08:35 -0800889 xbar: false
Timothy Chen61e25e82019-09-13 14:04:10 -0700890 pipeline_byp: "true"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100891 }
892 {
893 name: debug_mem
894 type: device
Timothy Chen65d74252019-11-08 14:03:35 -0800895 clock: clk_main_i
896 reset: rst_main_ni
Timothy Chen61e25e82019-09-13 14:04:10 -0700897 pipeline_byp: "false"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100898 inst_type: rv_dm
Eunchan Kim0491ada2019-12-26 12:26:31 -0800899 addr_range:
900 [
901 {
Eunchan Kime4a85072020-02-05 16:00:00 -0800902 base_addr: 0x1A110000
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800903 size_byte: 0x1000
Eunchan Kim0491ada2019-12-26 12:26:31 -0800904 }
905 ]
Eunchan Kim55d7ae82019-12-19 17:08:35 -0800906 xbar: false
Timothy Chen61e25e82019-09-13 14:04:10 -0700907 pipeline: "true"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100908 }
909 {
910 name: ram_main
911 type: device
Timothy Chen65d74252019-11-08 14:03:35 -0800912 clock: clk_main_i
913 reset: rst_main_ni
Timothy Chen61e25e82019-09-13 14:04:10 -0700914 pipeline: "false"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100915 inst_type: ram_1p
Eunchan Kim0491ada2019-12-26 12:26:31 -0800916 addr_range:
917 [
918 {
Eunchan Kime4a85072020-02-05 16:00:00 -0800919 base_addr: 0x10000000
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800920 size_byte: 0x10000
Eunchan Kim0491ada2019-12-26 12:26:31 -0800921 }
922 ]
Eunchan Kim55d7ae82019-12-19 17:08:35 -0800923 xbar: false
Timothy Chen61e25e82019-09-13 14:04:10 -0700924 pipeline_byp: "true"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100925 }
926 {
927 name: eflash
928 type: device
Timothy Chen65d74252019-11-08 14:03:35 -0800929 clock: clk_main_i
930 reset: rst_main_ni
Timothy Chen61e25e82019-09-13 14:04:10 -0700931 pipeline: "false"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100932 inst_type: eflash
Eunchan Kim0491ada2019-12-26 12:26:31 -0800933 addr_range:
934 [
935 {
Eunchan Kime4a85072020-02-05 16:00:00 -0800936 base_addr: 0x20000000
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800937 size_byte: 0x80000
Eunchan Kim0491ada2019-12-26 12:26:31 -0800938 }
939 ]
Eunchan Kim55d7ae82019-12-19 17:08:35 -0800940 xbar: false
Timothy Chen61e25e82019-09-13 14:04:10 -0700941 pipeline_byp: "true"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100942 }
943 {
Eunchan Kim55d7ae82019-12-19 17:08:35 -0800944 name: peri
lowRISC Contributors802543a2019-08-31 12:12:56 +0100945 type: device
Timothy Chen65d74252019-11-08 14:03:35 -0800946 clock: clk_fixed_i
947 reset: rst_fixed_ni
Timothy Chen61e25e82019-09-13 14:04:10 -0700948 pipeline_byp: "false"
Eunchan Kim55d7ae82019-12-19 17:08:35 -0800949 xbar: true
Timothy Chen61e25e82019-09-13 14:04:10 -0700950 pipeline: "true"
Eunchan Kim0491ada2019-12-26 12:26:31 -0800951 addr_range:
Eunchan Kim55d7ae82019-12-19 17:08:35 -0800952 [
953 {
954 base_addr: 0x40000000
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800955 size_byte: 0x1000
Eunchan Kimeeea1f42020-01-13 10:26:10 -0800956 }
957 {
958 base_addr: 0x40010000
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800959 size_byte: 0x1000
Eunchan Kimeeea1f42020-01-13 10:26:10 -0800960 }
961 {
962 base_addr: 0x40020000
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800963 size_byte: 0x1000
Eunchan Kim55d7ae82019-12-19 17:08:35 -0800964 }
965 {
966 base_addr: 0x40080000
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800967 size_byte: 0x1000
Eunchan Kim55d7ae82019-12-19 17:08:35 -0800968 }
Pirmin Vogelea91b302020-01-14 18:53:01 +0000969 {
Eunchan Kime4a85072020-02-05 16:00:00 -0800970 base_addr: 0x40150000
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800971 size_byte: 0x1000
Pirmin Vogelea91b302020-01-14 18:53:01 +0000972 }
Eunchan Kim55d7ae82019-12-19 17:08:35 -0800973 ]
lowRISC Contributors802543a2019-08-31 12:12:56 +0100974 }
975 {
976 name: flash_ctrl
977 type: device
Timothy Chen65d74252019-11-08 14:03:35 -0800978 clock: clk_main_i
979 reset: rst_main_ni
Timothy Chen61e25e82019-09-13 14:04:10 -0700980 pipeline_byp: "false"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100981 inst_type: flash_ctrl
Eunchan Kim0491ada2019-12-26 12:26:31 -0800982 addr_range:
983 [
984 {
Eunchan Kime4a85072020-02-05 16:00:00 -0800985 base_addr: 0x40030000
Eunchan Kimfd4bb812020-02-14 14:53:57 -0800986 size_byte: 0x1000
Eunchan Kim0491ada2019-12-26 12:26:31 -0800987 }
988 ]
Eunchan Kim55d7ae82019-12-19 17:08:35 -0800989 xbar: false
Timothy Chen61e25e82019-09-13 14:04:10 -0700990 pipeline: "true"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100991 }
992 {
993 name: hmac
994 type: device
Timothy Chen65d74252019-11-08 14:03:35 -0800995 clock: clk_main_i
996 reset: rst_main_ni
Timothy Chen61e25e82019-09-13 14:04:10 -0700997 pipeline_byp: "false"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100998 inst_type: hmac
Eunchan Kim0491ada2019-12-26 12:26:31 -0800999 addr_range:
1000 [
1001 {
Eunchan Kime4a85072020-02-05 16:00:00 -08001002 base_addr: 0x40120000
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001003 size_byte: 0x1000
Eunchan Kim0491ada2019-12-26 12:26:31 -08001004 }
1005 ]
Eunchan Kim55d7ae82019-12-19 17:08:35 -08001006 xbar: false
Timothy Chen61e25e82019-09-13 14:04:10 -07001007 pipeline: "true"
lowRISC Contributors802543a2019-08-31 12:12:56 +01001008 }
1009 {
Pirmin Vogeld4534382019-10-17 13:18:31 +01001010 name: aes
1011 type: device
Timothy Chen65d74252019-11-08 14:03:35 -08001012 clock: clk_main_i
1013 reset: rst_main_ni
Pirmin Vogeld4534382019-10-17 13:18:31 +01001014 pipeline_byp: "false"
1015 inst_type: aes
Eunchan Kim0491ada2019-12-26 12:26:31 -08001016 addr_range:
1017 [
1018 {
Eunchan Kime4a85072020-02-05 16:00:00 -08001019 base_addr: 0x40110000
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001020 size_byte: 0x1000
Eunchan Kim0491ada2019-12-26 12:26:31 -08001021 }
1022 ]
Eunchan Kim55d7ae82019-12-19 17:08:35 -08001023 xbar: false
Pirmin Vogeld4534382019-10-17 13:18:31 +01001024 pipeline: "true"
1025 }
1026 {
lowRISC Contributors802543a2019-08-31 12:12:56 +01001027 name: rv_plic
1028 type: device
Timothy Chen65d74252019-11-08 14:03:35 -08001029 clock: clk_main_i
1030 reset: rst_main_ni
lowRISC Contributors802543a2019-08-31 12:12:56 +01001031 inst_type: rv_plic
Eunchan Kim0491ada2019-12-26 12:26:31 -08001032 addr_range:
1033 [
1034 {
Eunchan Kime4a85072020-02-05 16:00:00 -08001035 base_addr: 0x40090000
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001036 size_byte: 0x1000
Eunchan Kim0491ada2019-12-26 12:26:31 -08001037 }
1038 ]
Timothy Chen61e25e82019-09-13 14:04:10 -07001039 pipeline_byp: "false"
Eunchan Kim55d7ae82019-12-19 17:08:35 -08001040 xbar: false
Timothy Chen61e25e82019-09-13 14:04:10 -07001041 pipeline: "true"
lowRISC Contributors802543a2019-08-31 12:12:56 +01001042 }
Eunchan Kim769065e2019-10-29 17:29:26 -07001043 {
1044 name: pinmux
1045 type: device
Timothy Chen65d74252019-11-08 14:03:35 -08001046 clock: clk_main_i
1047 reset: rst_fixed_ni
Eunchan Kim769065e2019-10-29 17:29:26 -07001048 inst_type: pinmux
Eunchan Kim0491ada2019-12-26 12:26:31 -08001049 addr_range:
1050 [
1051 {
Eunchan Kime4a85072020-02-05 16:00:00 -08001052 base_addr: 0x40070000
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001053 size_byte: 0x1000
Eunchan Kim0491ada2019-12-26 12:26:31 -08001054 }
1055 ]
Eunchan Kim769065e2019-10-29 17:29:26 -07001056 pipeline_byp: "false"
Eunchan Kim55d7ae82019-12-19 17:08:35 -08001057 xbar: false
Eunchan Kim769065e2019-10-29 17:29:26 -07001058 pipeline: "true"
1059 }
Michael Schaffner666dde12019-10-25 11:57:54 -07001060 {
1061 name: alert_handler
1062 type: device
Timothy Chen65d74252019-11-08 14:03:35 -08001063 clock: clk_main_i
Michael Schaffner666dde12019-10-25 11:57:54 -07001064 inst_type: alert_handler
1065 pipeline_byp: "false"
Eunchan Kim0491ada2019-12-26 12:26:31 -08001066 addr_range:
1067 [
1068 {
Eunchan Kime4a85072020-02-05 16:00:00 -08001069 base_addr: 0x40130000
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001070 size_byte: 0x1000
Eunchan Kim0491ada2019-12-26 12:26:31 -08001071 }
1072 ]
Eunchan Kim55d7ae82019-12-19 17:08:35 -08001073 xbar: false
Michael Schaffner666dde12019-10-25 11:57:54 -07001074 pipeline: "true"
1075 }
1076 {
1077 name: nmi_gen
1078 type: device
Timothy Chen65d74252019-11-08 14:03:35 -08001079 clock: clk_main_i
Michael Schaffner666dde12019-10-25 11:57:54 -07001080 inst_type: nmi_gen
1081 pipeline_byp: "false"
Eunchan Kim0491ada2019-12-26 12:26:31 -08001082 addr_range:
1083 [
1084 {
Eunchan Kime4a85072020-02-05 16:00:00 -08001085 base_addr: 0x40140000
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001086 size_byte: 0x1000
Eunchan Kim0491ada2019-12-26 12:26:31 -08001087 }
1088 ]
Eunchan Kim55d7ae82019-12-19 17:08:35 -08001089 xbar: false
Michael Schaffner666dde12019-10-25 11:57:54 -07001090 pipeline: "true"
1091 }
lowRISC Contributors802543a2019-08-31 12:12:56 +01001092 ]
Timothy Chen65d74252019-11-08 14:03:35 -08001093 clock: clk_main_i
lowRISC Contributors802543a2019-08-31 12:12:56 +01001094 }
Eunchan Kim55d7ae82019-12-19 17:08:35 -08001095 {
1096 name: peri
1097 clock_connections:
1098 {
1099 clk_peri_i: fixed
1100 }
1101 reset: rst_peri_ni
1102 reset_connections:
1103 {
1104 rst_peri_ni: sys_fixed
1105 }
1106 connections:
1107 {
1108 main:
1109 [
1110 uart
1111 gpio
1112 spi_device
1113 rv_timer
Pirmin Vogelea91b302020-01-14 18:53:01 +00001114 usbdev
Eunchan Kim55d7ae82019-12-19 17:08:35 -08001115 ]
1116 }
1117 nodes:
1118 [
1119 {
1120 name: main
1121 type: host
1122 clock: clk_peri_i
1123 reset: rst_peri_ni
1124 xbar: true
1125 pipeline: "false"
1126 inst_type: ""
1127 pipeline_byp: "true"
1128 }
1129 {
1130 name: uart
1131 type: device
1132 clock: clk_peri_i
1133 reset: rst_peri_ni
1134 pipeline: "false"
1135 inst_type: uart
Eunchan Kim0491ada2019-12-26 12:26:31 -08001136 addr_range:
1137 [
1138 {
Eunchan Kime4a85072020-02-05 16:00:00 -08001139 base_addr: 0x40000000
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001140 size_byte: 0x1000
Eunchan Kim0491ada2019-12-26 12:26:31 -08001141 }
1142 ]
Eunchan Kim55d7ae82019-12-19 17:08:35 -08001143 xbar: false
1144 pipeline_byp: "true"
1145 }
1146 {
1147 name: gpio
1148 type: device
1149 clock: clk_peri_i
1150 reset: rst_peri_ni
1151 pipeline: "false"
1152 inst_type: gpio
Eunchan Kim0491ada2019-12-26 12:26:31 -08001153 addr_range:
1154 [
1155 {
Eunchan Kime4a85072020-02-05 16:00:00 -08001156 base_addr: 0x40010000
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001157 size_byte: 0x1000
Eunchan Kim0491ada2019-12-26 12:26:31 -08001158 }
1159 ]
Eunchan Kim55d7ae82019-12-19 17:08:35 -08001160 xbar: false
1161 pipeline_byp: "true"
1162 }
1163 {
1164 name: spi_device
1165 type: device
1166 clock: clk_peri_i
1167 reset: rst_peri_ni
1168 pipeline: "false"
1169 inst_type: spi_device
Eunchan Kim0491ada2019-12-26 12:26:31 -08001170 addr_range:
1171 [
1172 {
Eunchan Kime4a85072020-02-05 16:00:00 -08001173 base_addr: 0x40020000
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001174 size_byte: 0x1000
Eunchan Kim0491ada2019-12-26 12:26:31 -08001175 }
1176 ]
Eunchan Kim55d7ae82019-12-19 17:08:35 -08001177 xbar: false
1178 pipeline_byp: "true"
1179 }
1180 {
1181 name: rv_timer
1182 type: device
1183 clock: clk_peri_i
1184 reset: rst_peri_ni
1185 pipeline: "false"
1186 inst_type: rv_timer
Eunchan Kim0491ada2019-12-26 12:26:31 -08001187 addr_range:
1188 [
1189 {
Eunchan Kime4a85072020-02-05 16:00:00 -08001190 base_addr: 0x40080000
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001191 size_byte: 0x1000
Eunchan Kim0491ada2019-12-26 12:26:31 -08001192 }
1193 ]
Eunchan Kim55d7ae82019-12-19 17:08:35 -08001194 xbar: false
1195 pipeline_byp: "true"
1196 }
Pirmin Vogelea91b302020-01-14 18:53:01 +00001197 {
1198 name: usbdev
1199 type: device
1200 clock: clk_peri_i
1201 reset: rst_peri_ni
1202 pipeline: "false"
1203 inst_type: usbdev
1204 addr_range:
1205 [
1206 {
Eunchan Kime4a85072020-02-05 16:00:00 -08001207 base_addr: 0x40150000
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001208 size_byte: 0x1000
Pirmin Vogelea91b302020-01-14 18:53:01 +00001209 }
1210 ]
1211 xbar: false
1212 pipeline_byp: "true"
1213 }
Eunchan Kim55d7ae82019-12-19 17:08:35 -08001214 ]
1215 clock: clk_peri_i
1216 }
lowRISC Contributors802543a2019-08-31 12:12:56 +01001217 ]
1218 interrupt_module:
1219 [
1220 gpio
1221 uart
1222 spi_device
1223 flash_ctrl
1224 hmac
Michael Schaffner666dde12019-10-25 11:57:54 -07001225 alert_handler
1226 nmi_gen
Pirmin Vogelea91b302020-01-14 18:53:01 +00001227 usbdev
lowRISC Contributors802543a2019-08-31 12:12:56 +01001228 ]
1229 interrupt:
1230 [
1231 {
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001232 name: gpio_gpio
lowRISC Contributors802543a2019-08-31 12:12:56 +01001233 width: 32
Eunchan Kim632c6f72019-09-30 11:11:51 -07001234 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +01001235 }
1236 {
1237 name: uart_tx_watermark
Eunchan Kime4a85072020-02-05 16:00:00 -08001238 width: 1
1239 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001240 }
1241 {
lowRISC Contributors802543a2019-08-31 12:12:56 +01001242 name: uart_rx_watermark
Eunchan Kime4a85072020-02-05 16:00:00 -08001243 width: 1
1244 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001245 }
1246 {
Timothy Chen087d4f42019-12-27 16:04:46 -08001247 name: uart_tx_empty
Eunchan Kime4a85072020-02-05 16:00:00 -08001248 width: 1
1249 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001250 }
1251 {
lowRISC Contributors802543a2019-08-31 12:12:56 +01001252 name: uart_rx_overflow
Eunchan Kime4a85072020-02-05 16:00:00 -08001253 width: 1
1254 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001255 }
1256 {
lowRISC Contributors802543a2019-08-31 12:12:56 +01001257 name: uart_rx_frame_err
Eunchan Kime4a85072020-02-05 16:00:00 -08001258 width: 1
1259 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001260 }
1261 {
lowRISC Contributors802543a2019-08-31 12:12:56 +01001262 name: uart_rx_break_err
Eunchan Kime4a85072020-02-05 16:00:00 -08001263 width: 1
1264 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001265 }
1266 {
lowRISC Contributors802543a2019-08-31 12:12:56 +01001267 name: uart_rx_timeout
Eunchan Kime4a85072020-02-05 16:00:00 -08001268 width: 1
1269 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001270 }
1271 {
lowRISC Contributors802543a2019-08-31 12:12:56 +01001272 name: uart_rx_parity_err
Eunchan Kime4a85072020-02-05 16:00:00 -08001273 width: 1
1274 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001275 }
1276 {
Eunchan Kim8c57fe32019-09-02 21:14:24 -07001277 name: spi_device_rxf
Eunchan Kime4a85072020-02-05 16:00:00 -08001278 width: 1
1279 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001280 }
1281 {
lowRISC Contributors802543a2019-08-31 12:12:56 +01001282 name: spi_device_rxlvl
Eunchan Kime4a85072020-02-05 16:00:00 -08001283 width: 1
1284 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001285 }
1286 {
lowRISC Contributors802543a2019-08-31 12:12:56 +01001287 name: spi_device_txlvl
Eunchan Kime4a85072020-02-05 16:00:00 -08001288 width: 1
1289 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001290 }
1291 {
lowRISC Contributors802543a2019-08-31 12:12:56 +01001292 name: spi_device_rxerr
Eunchan Kime4a85072020-02-05 16:00:00 -08001293 width: 1
1294 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001295 }
1296 {
Eunchan Kim546c0d42019-09-24 15:07:06 -07001297 name: spi_device_rxoverflow
Eunchan Kime4a85072020-02-05 16:00:00 -08001298 width: 1
1299 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001300 }
1301 {
Eunchan Kim546c0d42019-09-24 15:07:06 -07001302 name: spi_device_txunderflow
Eunchan Kime4a85072020-02-05 16:00:00 -08001303 width: 1
1304 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001305 }
1306 {
lowRISC Contributors802543a2019-08-31 12:12:56 +01001307 name: flash_ctrl_prog_empty
Eunchan Kime4a85072020-02-05 16:00:00 -08001308 width: 1
1309 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001310 }
1311 {
lowRISC Contributors802543a2019-08-31 12:12:56 +01001312 name: flash_ctrl_prog_lvl
Eunchan Kime4a85072020-02-05 16:00:00 -08001313 width: 1
1314 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001315 }
1316 {
lowRISC Contributors802543a2019-08-31 12:12:56 +01001317 name: flash_ctrl_rd_full
Eunchan Kime4a85072020-02-05 16:00:00 -08001318 width: 1
1319 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001320 }
1321 {
lowRISC Contributors802543a2019-08-31 12:12:56 +01001322 name: flash_ctrl_rd_lvl
Eunchan Kime4a85072020-02-05 16:00:00 -08001323 width: 1
1324 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001325 }
1326 {
lowRISC Contributors802543a2019-08-31 12:12:56 +01001327 name: flash_ctrl_op_done
Eunchan Kime4a85072020-02-05 16:00:00 -08001328 width: 1
1329 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001330 }
1331 {
lowRISC Contributors802543a2019-08-31 12:12:56 +01001332 name: flash_ctrl_op_error
Eunchan Kime4a85072020-02-05 16:00:00 -08001333 width: 1
1334 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001335 }
1336 {
lowRISC Contributors802543a2019-08-31 12:12:56 +01001337 name: hmac_hmac_done
Eunchan Kime4a85072020-02-05 16:00:00 -08001338 width: 1
1339 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001340 }
1341 {
Eunchan Kimd9d69aa2020-03-20 10:21:11 -07001342 name: hmac_fifo_empty
Eunchan Kime4a85072020-02-05 16:00:00 -08001343 width: 1
1344 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001345 }
1346 {
Eunchan Kim226eab62019-10-18 14:11:29 -07001347 name: hmac_hmac_err
Eunchan Kime4a85072020-02-05 16:00:00 -08001348 width: 1
1349 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001350 }
1351 {
Michael Schaffner666dde12019-10-25 11:57:54 -07001352 name: alert_handler_classa
Eunchan Kime4a85072020-02-05 16:00:00 -08001353 width: 1
1354 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001355 }
1356 {
Michael Schaffner666dde12019-10-25 11:57:54 -07001357 name: alert_handler_classb
Eunchan Kime4a85072020-02-05 16:00:00 -08001358 width: 1
1359 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001360 }
1361 {
Michael Schaffner666dde12019-10-25 11:57:54 -07001362 name: alert_handler_classc
Eunchan Kime4a85072020-02-05 16:00:00 -08001363 width: 1
1364 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001365 }
1366 {
Michael Schaffner666dde12019-10-25 11:57:54 -07001367 name: alert_handler_classd
Eunchan Kime4a85072020-02-05 16:00:00 -08001368 width: 1
1369 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001370 }
1371 {
Michael Schaffner666dde12019-10-25 11:57:54 -07001372 name: nmi_gen_esc0
Eunchan Kime4a85072020-02-05 16:00:00 -08001373 width: 1
1374 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001375 }
1376 {
Michael Schaffner666dde12019-10-25 11:57:54 -07001377 name: nmi_gen_esc1
Eunchan Kime4a85072020-02-05 16:00:00 -08001378 width: 1
1379 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001380 }
1381 {
Michael Schaffner666dde12019-10-25 11:57:54 -07001382 name: nmi_gen_esc2
Eunchan Kime4a85072020-02-05 16:00:00 -08001383 width: 1
1384 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001385 }
1386 {
Michael Schaffner666dde12019-10-25 11:57:54 -07001387 name: nmi_gen_esc3
Eunchan Kime4a85072020-02-05 16:00:00 -08001388 width: 1
1389 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001390 }
1391 {
Pirmin Vogelea91b302020-01-14 18:53:01 +00001392 name: usbdev_pkt_received
Eunchan Kime4a85072020-02-05 16:00:00 -08001393 width: 1
1394 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001395 }
1396 {
Pirmin Vogelea91b302020-01-14 18:53:01 +00001397 name: usbdev_pkt_sent
Eunchan Kime4a85072020-02-05 16:00:00 -08001398 width: 1
1399 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001400 }
1401 {
Pirmin Vogelea91b302020-01-14 18:53:01 +00001402 name: usbdev_disconnected
Eunchan Kime4a85072020-02-05 16:00:00 -08001403 width: 1
1404 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001405 }
1406 {
Pirmin Vogelea91b302020-01-14 18:53:01 +00001407 name: usbdev_host_lost
Eunchan Kime4a85072020-02-05 16:00:00 -08001408 width: 1
1409 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001410 }
1411 {
Pirmin Vogelea91b302020-01-14 18:53:01 +00001412 name: usbdev_link_reset
Eunchan Kime4a85072020-02-05 16:00:00 -08001413 width: 1
1414 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001415 }
1416 {
Pirmin Vogelea91b302020-01-14 18:53:01 +00001417 name: usbdev_link_suspend
Eunchan Kime4a85072020-02-05 16:00:00 -08001418 width: 1
1419 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001420 }
1421 {
Pirmin Vogelea91b302020-01-14 18:53:01 +00001422 name: usbdev_link_resume
Eunchan Kime4a85072020-02-05 16:00:00 -08001423 width: 1
1424 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001425 }
1426 {
Pirmin Vogelea91b302020-01-14 18:53:01 +00001427 name: usbdev_av_empty
Eunchan Kime4a85072020-02-05 16:00:00 -08001428 width: 1
1429 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001430 }
1431 {
Pirmin Vogelea91b302020-01-14 18:53:01 +00001432 name: usbdev_rx_full
Eunchan Kime4a85072020-02-05 16:00:00 -08001433 width: 1
1434 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001435 }
1436 {
Pirmin Vogelea91b302020-01-14 18:53:01 +00001437 name: usbdev_av_overflow
Eunchan Kime4a85072020-02-05 16:00:00 -08001438 width: 1
1439 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001440 }
1441 {
Pirmin Vogelea91b302020-01-14 18:53:01 +00001442 name: usbdev_link_in_err
Eunchan Kime4a85072020-02-05 16:00:00 -08001443 width: 1
1444 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001445 }
1446 {
Pirmin Vogelea91b302020-01-14 18:53:01 +00001447 name: usbdev_rx_crc_err
Eunchan Kime4a85072020-02-05 16:00:00 -08001448 width: 1
1449 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001450 }
1451 {
Pirmin Vogelea91b302020-01-14 18:53:01 +00001452 name: usbdev_rx_pid_err
Eunchan Kime4a85072020-02-05 16:00:00 -08001453 width: 1
1454 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001455 }
1456 {
Pirmin Vogelea91b302020-01-14 18:53:01 +00001457 name: usbdev_rx_bitstuff_err
Eunchan Kime4a85072020-02-05 16:00:00 -08001458 width: 1
1459 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001460 }
1461 {
Pirmin Vogelea91b302020-01-14 18:53:01 +00001462 name: usbdev_frame
Pirmin Vogelea91b302020-01-14 18:53:01 +00001463 width: 1
1464 type: interrupt
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001465 }
1466 {
Eunchan Kime4a85072020-02-05 16:00:00 -08001467 name: usbdev_connected
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001468 width: 1
1469 type: interrupt
Pirmin Vogelea91b302020-01-14 18:53:01 +00001470 }
Michael Schaffner666dde12019-10-25 11:57:54 -07001471 ]
1472 alert_module:
1473 [
1474 hmac
1475 ]
1476 alert:
1477 [
1478 {
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001479 name: hmac_msg_push_sha_disabled
Michael Schaffner666dde12019-10-25 11:57:54 -07001480 width: 1
1481 type: alert
1482 async: 0
1483 }
lowRISC Contributors802543a2019-08-31 12:12:56 +01001484 ]
Eunchan Kim632c6f72019-09-30 11:11:51 -07001485 pinmux:
1486 {
Eunchan Kim769065e2019-10-29 17:29:26 -07001487 num_mio: 32
Eunchan Kim632c6f72019-09-30 11:11:51 -07001488 dio_modules:
1489 [
1490 {
1491 name: spi_device
1492 pad:
1493 [
1494 ChB[0..3]
1495 ]
1496 }
1497 {
Eunchan Kim769065e2019-10-29 17:29:26 -07001498 name: uart
Eunchan Kim632c6f72019-09-30 11:11:51 -07001499 pad:
1500 [
Eunchan Kim769065e2019-10-29 17:29:26 -07001501 ChA[0..1]
Eunchan Kim632c6f72019-09-30 11:11:51 -07001502 ]
1503 }
Pirmin Vogelea91b302020-01-14 18:53:01 +00001504 {
1505 name: usbdev
1506 pad:
1507 [
Pirmin Vogelb054fc02020-03-11 11:23:03 +01001508 ChC[0..7]
Pirmin Vogelea91b302020-01-14 18:53:01 +00001509 ]
1510 }
Eunchan Kim632c6f72019-09-30 11:11:51 -07001511 ]
1512 mio_modules:
1513 [
1514 uart
1515 gpio
1516 ]
1517 nc_modules:
1518 [
1519 rv_timer
1520 hmac
1521 ]
1522 dio:
1523 [
1524 {
1525 name: spi_device_sck
1526 width: 1
1527 type: input
1528 pad:
1529 [
1530 {
1531 name: ChB
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001532 index: 0
Eunchan Kim632c6f72019-09-30 11:11:51 -07001533 }
1534 ]
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001535 }
1536 {
Eunchan Kim632c6f72019-09-30 11:11:51 -07001537 name: spi_device_csb
1538 width: 1
1539 type: input
1540 pad:
1541 [
1542 {
1543 name: ChB
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001544 index: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -07001545 }
1546 ]
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001547 }
1548 {
Eunchan Kim632c6f72019-09-30 11:11:51 -07001549 name: spi_device_mosi
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001550 width: 1
1551 type: input
1552 pad:
1553 [
1554 {
1555 name: ChB
1556 index: 2
1557 }
1558 ]
Eunchan Kime4a85072020-02-05 16:00:00 -08001559 }
1560 {
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001561 name: spi_device_miso
Eunchan Kim632c6f72019-09-30 11:11:51 -07001562 width: 1
Eunchan Kime4a85072020-02-05 16:00:00 -08001563 type: output
Eunchan Kim632c6f72019-09-30 11:11:51 -07001564 pad:
1565 [
1566 {
1567 name: ChB
Eunchan Kime4a85072020-02-05 16:00:00 -08001568 index: 3
Eunchan Kim632c6f72019-09-30 11:11:51 -07001569 }
1570 ]
Eunchan Kime4a85072020-02-05 16:00:00 -08001571 }
1572 {
Eunchan Kim769065e2019-10-29 17:29:26 -07001573 name: uart_rx
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001574 width: 1
1575 type: input
1576 pad:
1577 [
1578 {
1579 name: ChA
1580 index: 0
1581 }
1582 ]
Eunchan Kime4a85072020-02-05 16:00:00 -08001583 }
1584 {
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001585 name: uart_tx
Eunchan Kim632c6f72019-09-30 11:11:51 -07001586 width: 1
Eunchan Kime4a85072020-02-05 16:00:00 -08001587 type: output
Eunchan Kim632c6f72019-09-30 11:11:51 -07001588 pad:
1589 [
1590 {
1591 name: ChA
Eunchan Kime4a85072020-02-05 16:00:00 -08001592 index: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -07001593 }
1594 ]
Eunchan Kim632c6f72019-09-30 11:11:51 -07001595 }
Pirmin Vogelea91b302020-01-14 18:53:01 +00001596 {
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001597 name: usbdev_sense
Pirmin Vogelea91b302020-01-14 18:53:01 +00001598 width: 1
1599 type: input
1600 pad:
1601 [
1602 {
1603 name: ChC
1604 index: 0
1605 }
1606 ]
1607 }
1608 {
Pirmin Vogelb054fc02020-03-11 11:23:03 +01001609 name: usbdev_se0
Pirmin Vogelea91b302020-01-14 18:53:01 +00001610 width: 1
1611 type: output
1612 pad:
1613 [
1614 {
1615 name: ChC
1616 index: 1
1617 }
1618 ]
1619 }
1620 {
Pirmin Vogelb054fc02020-03-11 11:23:03 +01001621 name: usbdev_pullup
1622 width: 1
1623 type: output
1624 pad:
1625 [
1626 {
1627 name: ChC
1628 index: 2
1629 }
1630 ]
1631 }
1632 {
1633 name: usbdev_tx_mode_se
1634 width: 1
1635 type: output
1636 pad:
1637 [
1638 {
1639 name: ChC
1640 index: 3
1641 }
1642 ]
1643 }
1644 {
1645 name: usbdev_suspend
1646 width: 1
1647 type: output
1648 pad:
1649 [
1650 {
1651 name: ChC
1652 index: 4
1653 }
1654 ]
1655 }
1656 {
1657 name: usbdev_d
1658 width: 1
1659 type: inout
1660 pad:
1661 [
1662 {
1663 name: ChC
1664 index: 5
1665 }
1666 ]
1667 }
1668 {
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001669 name: usbdev_dp
Pirmin Vogelea91b302020-01-14 18:53:01 +00001670 width: 1
1671 type: inout
1672 pad:
1673 [
1674 {
1675 name: ChC
Pirmin Vogelb054fc02020-03-11 11:23:03 +01001676 index: 6
Pirmin Vogelea91b302020-01-14 18:53:01 +00001677 }
1678 ]
1679 }
1680 {
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001681 name: usbdev_dn
Pirmin Vogelea91b302020-01-14 18:53:01 +00001682 width: 1
1683 type: inout
1684 pad:
1685 [
1686 {
1687 name: ChC
Pirmin Vogelb054fc02020-03-11 11:23:03 +01001688 index: 7
Pirmin Vogelea91b302020-01-14 18:53:01 +00001689 }
1690 ]
1691 }
Eunchan Kim632c6f72019-09-30 11:11:51 -07001692 ]
Eunchan Kim769065e2019-10-29 17:29:26 -07001693 inputs: []
Eunchan Kim632c6f72019-09-30 11:11:51 -07001694 outputs: []
1695 inouts:
1696 [
1697 {
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001698 name: gpio_gpio
Eunchan Kim632c6f72019-09-30 11:11:51 -07001699 width: 32
1700 type: inout
1701 }
1702 ]
1703 }
1704 padctrl:
1705 {
1706 attr_default:
1707 [
1708 STRONG
1709 ]
1710 pads:
1711 [
1712 {
1713 name: ChA
1714 type: IO_33V
1715 count: 32
1716 }
1717 {
1718 name: ChB
1719 type: IO_33V
1720 count: 4
1721 attr:
1722 [
1723 KEEP
1724 WEAK
1725 ]
1726 }
Pirmin Vogelea91b302020-01-14 18:53:01 +00001727 {
1728 name: ChC
1729 type: IO_33V
1730 count: 4
1731 attr:
1732 [
1733 KEEP
1734 STRONG
1735 ]
1736 }
Eunchan Kim632c6f72019-09-30 11:11:51 -07001737 ]
1738 }
Timothy Chene8cb3bd2020-04-14 16:12:26 -07001739 reset_paths:
1740 {
1741 lc: lc_rst_n
1742 sys: sys_rst_n
1743 sys_fixed: sys_fixed_rst_n
1744 spi_device: spi_device_rst_n
1745 usb: usb_rst_n
1746 }
Eunchan Kime4a85072020-02-05 16:00:00 -08001747 inter_signal:
1748 {
1749 signals:
1750 [
1751 {
Eunchan Kime4a85072020-02-05 16:00:00 -08001752 struct: flash
1753 type: req_rsp
1754 name: flash
Eunchan Kim40098a92020-04-17 12:22:36 -07001755 act: req
Eunchan Kime4a85072020-02-05 16:00:00 -08001756 package: flash_ctrl_pkg
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001757 inst_name: flash_ctrl
Eunchan Kim91b58ba2020-04-07 08:19:54 -07001758 width: 1
Eunchan Kim6599ba92020-04-13 15:27:16 -07001759 top_signame: flash_ctrl_flash
1760 index: -1
Eunchan Kime4a85072020-02-05 16:00:00 -08001761 }
1762 {
1763 struct: flash
1764 type: req_rsp
1765 name: flash_ctrl
Eunchan Kim40098a92020-04-17 12:22:36 -07001766 act: rsp
Eunchan Kime4a85072020-02-05 16:00:00 -08001767 inst_name: eflash
Eunchan Kim91b58ba2020-04-07 08:19:54 -07001768 width: 1
Eunchan Kim40098a92020-04-17 12:22:36 -07001769 package: flash_ctrl_pkg
Eunchan Kim6599ba92020-04-13 15:27:16 -07001770 top_signame: flash_ctrl_flash
1771 index: -1
Eunchan Kime4a85072020-02-05 16:00:00 -08001772 }
1773 ]
1774 definitions:
1775 [
1776 {
Eunchan Kime4a85072020-02-05 16:00:00 -08001777 package: flash_ctrl_pkg
Eunchan Kim40098a92020-04-17 12:22:36 -07001778 struct: flash_req
1779 signame: flash_ctrl_flash_req
1780 width: 1
1781 type: req_rsp
1782 }
1783 {
1784 package: flash_ctrl_pkg
1785 struct: flash_rsp
1786 signame: flash_ctrl_flash_rsp
Eunchan Kimc24934f2020-04-10 09:29:26 -07001787 width: 1
Eunchan Kimfd4bb812020-02-14 14:53:57 -08001788 type: req_rsp
Eunchan Kime4a85072020-02-05 16:00:00 -08001789 }
1790 ]
1791 }
lowRISC Contributors802543a2019-08-31 12:12:56 +01001792}