This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
resources:fpga:docs:arch [27 Sep 2022 15:03] – Add interrupts section. More details to gpios. Remove spi details Iulia Moldovan | resources:fpga:docs:arch [08 Apr 2024 14:37] (current) – Add documentation migration warning iulia Moldovan | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== HDL Architecture ====== | ====== HDL Architecture ====== | ||
+ | |||
+ | <note important> | ||
Every HDL design of a reference project can be divided into two subsystems: | Every HDL design of a reference project can be divided into two subsystems: | ||
Line 108: | Line 110: | ||
When developing the Linux software parts for an HDL project, the interrupts number to the PS have a different number in the software side. | When developing the Linux software parts for an HDL project, the interrupts number to the PS have a different number in the software side. | ||
+ | |||
+ | Not a rule, but in our designs we preffer to use firstly the interrupts from 15 and to go down to 0. Be careful when assigning one, because it might be used in the base design of the carrier! | ||
+ | |||
+ | Always check which are used (in /// | ||
++++ Click here to see the interrupts table | | ++++ Click here to see the interrupts table | | ||
^HDL interrupt ^Linux Zynq ^Actual Zynq ^Linux ZynqMP ^Actual ZynqMP ^ | ^HDL interrupt ^Linux Zynq ^Actual Zynq ^Linux ZynqMP ^Actual ZynqMP ^ | ||
- | | 0 | ||
- | | 1 | ||
- | | 2 | ||
- | | 3 | ||
- | | 4 | ||
- | | 5 | ||
- | | 6 | ||
- | | 7 | ||
- | | 8 | ||
- | | 9 | ||
- | | 10 | 54 | 86 | 106 | 138 | | ||
- | | 11 | 55 | 87 | 107 | 139 | | ||
- | | 12 | 56 | 88 | 108 | 140 | | ||
- | | 13 | 57 | 89 | 109 | 141 | | ||
- | | 14 | 58 | 90 | 110 | 142 | | ||
| 15 | 59 | 91 | 111 | 143 | | | 15 | 59 | 91 | 111 | 143 | | ||
+ | | 14 | 58 | 90 | 110 | 142 | | ||
+ | | 13 | 57 | 89 | 109 | 141 | | ||
+ | | 12 | 56 | 88 | 108 | 140 | | ||
+ | | 11 | 55 | 87 | 107 | 139 | | ||
+ | | 10 | 54 | 86 | 106 | 138 | | ||
+ | | 9 | ||
+ | | 8 | ||
+ | | 7 | ||
+ | | 6 | ||
+ | | 5 | ||
+ | | 4 | ||
+ | | 3 | ||
+ | | 2 | ||
+ | | 1 | ||
+ | | 0 | ||
++++ | ++++ | ||