FPGA Projektarbeit
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

board.xml 24KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <!--
  3. MIT License
  4. Copyright (c) 2021 Digilent, Inc.
  5. Permission is hereby granted, free of charge, to any person obtaining a copy
  6. of this software and associated documentation files (the "Software"), to deal
  7. in the Software without restriction, including without limitation the rights
  8. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  9. copies of the Software, and to permit persons to whom the Software is
  10. furnished to do so, subject to the following conditions:
  11. The above copyright notice and this permission notice shall be included in all
  12. copies or substantial portions of the Software.
  13. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  14. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  15. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  16. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  17. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  18. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  19. SOFTWARE.
  20. -->
  21. <board schema_version="2.0" vendor="digilentinc.com" name="cmod-s7-25" display_name="Cmod S7-25" url="https://digilent.com/reference/programmable-logic/cmod-s7/start" preset_file="preset.xml">
  22. <compatible_board_revisions>
  23. <revision id="0">B.0</revision>
  24. </compatible_board_revisions>
  25. <file_version>1.0</file_version>
  26. <description>Cmod S7-25</description>
  27. <components>
  28. <component name="part0" display_name="Cmod S7-25" type="fpga" part_name="xc7s25csga225-1" pin_map_file="part0_pins.xml" vendor="xilinx" spec_url="https://digilent.com/reference/programmable-logic/cmod-s7/start">
  29. <interfaces>
  30. <interface mode="slave" name="sys_clock" type="xilinx.com:signal:clock_rtl:1.0" of_component="sys_clock" preset_proc="sys_clock_preset">
  31. <description>12 MHz Single-Ended System Clock</description>
  32. <port_maps>
  33. <port_map logical_port="CLK" physical_port="clk" dir="in">
  34. <pin_maps>
  35. <pin_map port_index="0" component_pin="clk"/>
  36. </pin_maps>
  37. </port_map>
  38. </port_maps>
  39. <parameters>
  40. <parameter name="frequency" value="12000000"/>
  41. </parameters>
  42. </interface>
  43. <interface mode="slave" name="reset" type="xilinx.com:signal:reset_rtl:1.0" of_component="reset">
  44. <description>BTN0 used as Active High System Reset</description>
  45. <port_maps>
  46. <port_map logical_port="RST" physical_port="reset_btn0" dir="in">
  47. <pin_maps>
  48. <pin_map port_index="0" component_pin="push_buttons_2bits_tri_i_0"/>
  49. </pin_maps>
  50. </port_map>
  51. </port_maps>
  52. <parameters>
  53. <parameter name="rst_polarity" value="1"/>
  54. </parameters>
  55. </interface>
  56. <interface mode="master" name="led_4bits" type="xilinx.com:interface:gpio_rtl:1.0" of_component="led_4bits" preset_proc="output_4bits_preset">
  57. <description>4 LEDs</description>
  58. <port_maps>
  59. <port_map logical_port="TRI_O" physical_port="led_4bits_tri_io" dir="out" left="3" right="0">
  60. <pin_maps>
  61. <pin_map port_index="0" component_pin="led_4bits_tri_io_0"/>
  62. <pin_map port_index="1" component_pin="led_4bits_tri_io_1"/>
  63. <pin_map port_index="2" component_pin="led_4bits_tri_io_2"/>
  64. <pin_map port_index="3" component_pin="led_4bits_tri_io_3"/>
  65. </pin_maps>
  66. </port_map>
  67. </port_maps>
  68. </interface>
  69. <interface mode="master" name="rgb_led_3bits" type="xilinx.com:interface:gpio_rtl:1.0" of_component="rgb_led_3bits" preset_proc="rgb_led_3bits_preset">
  70. <description>RGB LED</description>
  71. <port_maps>
  72. <port_map logical_port="TRI_O" physical_port="rgb_led_3bits_tri_io" dir="out" left="2" right="0">
  73. <pin_maps>
  74. <pin_map port_index="0" component_pin="rgb_led_3bits_tri_io_0"/>
  75. <pin_map port_index="1" component_pin="rgb_led_3bits_tri_io_1"/>
  76. <pin_map port_index="2" component_pin="rgb_led_3bits_tri_io_2"/>
  77. </pin_maps>
  78. </port_map>
  79. </port_maps>
  80. </interface>
  81. <interface mode="master" name="push_buttons_2bits" type="xilinx.com:interface:gpio_rtl:1.0" of_component="push_buttons_2bits" preset_proc="input_2bits_preset">
  82. <description>2 Push Buttons</description>
  83. <port_maps>
  84. <port_map logical_port="TRI_I" physical_port="push_buttons_2bits_tri_i" dir="in" left="1" right="0">
  85. <pin_maps>
  86. <pin_map port_index="0" component_pin="push_buttons_2bits_tri_i_0"/>
  87. <pin_map port_index="1" component_pin="push_buttons_2bits_tri_i_1"/>
  88. </pin_maps>
  89. </port_map>
  90. </port_maps>
  91. </interface>
  92. <interface mode="master" name="push_buttons_1bit" type="xilinx.com:interface:gpio_rtl:1.0" of_component="push_buttons_2bits" preset_proc="input_1bit_preset">
  93. <description>Only BTN1</description>
  94. <port_maps>
  95. <port_map logical_port="TRI_I" physical_port="push_buttons_2bits_tri_i" dir="in">
  96. <pin_maps>
  97. <pin_map port_index="1" component_pin="push_buttons_2bits_tri_i_1"/>
  98. </pin_maps>
  99. </port_map>
  100. </port_maps>
  101. </interface>
  102. <!-- Add "pio_32bits" ? -->
  103. <interface mode="master" name="usb_uart" type="xilinx.com:interface:uart_rtl:1.0" of_component="usb_uart" preset_proc="usb_uart_preset">
  104. <description>USB-to-UART Bridge, which allows a connection to a host computer with a USB port</description>
  105. <port_maps>
  106. <port_map logical_port="TxD" physical_port="usb_uart_txd" dir="out">
  107. <pin_maps>
  108. <pin_map port_index="0" component_pin="usb_uart_txd"/>
  109. </pin_maps>
  110. </port_map>
  111. <port_map logical_port="RxD" physical_port="usb_uart_rxd" dir="in">
  112. <pin_maps>
  113. <pin_map port_index="0" component_pin="usb_uart_rxd"/>
  114. </pin_maps>
  115. </port_map>
  116. </port_maps>
  117. </interface>
  118. <interface mode="master" name="qspi_flash" type="xilinx.com:interface:spi_rtl:1.0" of_component="qspi_flash" preset_proc="qspi_flash_preset">
  119. <description>Quad SPI Flash</description>
  120. <preferred_ips>
  121. <preferred_ip vendor="xilinx.com" library="ip" name="axi_quad_spi" order="0"/>
  122. </preferred_ips>
  123. <port_maps>
  124. <port_map logical_port="IO0_I" physical_port="qspi_db0" dir="in">
  125. <pin_maps>
  126. <pin_map port_index="0" component_pin="qspi_db0"/>
  127. </pin_maps>
  128. </port_map>
  129. <port_map logical_port="IO0_O" physical_port="qspi_db0" dir="out">
  130. <pin_maps>
  131. <pin_map port_index="0" component_pin="qspi_db0"/>
  132. </pin_maps>
  133. </port_map>
  134. <port_map logical_port="IO0_T" physical_port="qspi_db0" dir="out">
  135. <pin_maps>
  136. <pin_map port_index="0" component_pin="qspi_db0"/>
  137. </pin_maps>
  138. </port_map>
  139. <port_map logical_port="IO1_I" physical_port="qspi_db1" dir="in">
  140. <pin_maps>
  141. <pin_map port_index="0" component_pin="qspi_db1"/>
  142. </pin_maps>
  143. </port_map>
  144. <port_map logical_port="IO1_O" physical_port="qspi_db1" dir="out">
  145. <pin_maps>
  146. <pin_map port_index="0" component_pin="qspi_db1"/>
  147. </pin_maps>
  148. </port_map>
  149. <port_map logical_port="IO1_T" physical_port="qspi_db1" dir="out">
  150. <pin_maps>
  151. <pin_map port_index="0" component_pin="qspi_db1"/>
  152. </pin_maps>
  153. </port_map>
  154. <port_map logical_port="IO2_I" physical_port="qspi_db2" dir="in">
  155. <pin_maps>
  156. <pin_map port_index="0" component_pin="qspi_db2"/>
  157. </pin_maps>
  158. </port_map>
  159. <port_map logical_port="IO2_O" physical_port="qspi_db2" dir="out">
  160. <pin_maps>
  161. <pin_map port_index="0" component_pin="qspi_db2"/>
  162. </pin_maps>
  163. </port_map>
  164. <port_map logical_port="IO2_T" physical_port="qspi_db2" dir="out">
  165. <pin_maps>
  166. <pin_map port_index="0" component_pin="qspi_db2"/>
  167. </pin_maps>
  168. </port_map>
  169. <port_map logical_port="IO3_I" physical_port="qspi_db3" dir="in">
  170. <pin_maps>
  171. <pin_map port_index="0" component_pin="qspi_db3"/>
  172. </pin_maps>
  173. </port_map>
  174. <port_map logical_port="IO3_O" physical_port="qspi_db3" dir="out">
  175. <pin_maps>
  176. <pin_map port_index="0" component_pin="qspi_db3"/>
  177. </pin_maps>
  178. </port_map>
  179. <port_map logical_port="IO3_T" physical_port="qspi_db3" dir="out">
  180. <pin_maps>
  181. <pin_map port_index="0" component_pin="qspi_db3"/>
  182. </pin_maps>
  183. </port_map>
  184. <port_map logical_port="SS_I" physical_port="qspi_csn" dir="in">
  185. <pin_maps>
  186. <pin_map port_index="0" component_pin="qspi_csn"/>
  187. </pin_maps>
  188. </port_map>
  189. <port_map logical_port="SS_O" physical_port="qspi_csn" dir="out">
  190. <pin_maps>
  191. <pin_map port_index="0" component_pin="qspi_csn"/>
  192. </pin_maps>
  193. </port_map>
  194. <port_map logical_port="SS_T" physical_port="qspi_csn" dir="out">
  195. <pin_maps>
  196. <pin_map port_index="0" component_pin="qspi_csn"/>
  197. </pin_maps>
  198. </port_map>
  199. <port_map logical_port="SCK_I" physical_port="qspi_sck" dir="in">
  200. <pin_maps>
  201. <pin_map port_index="0" component_pin="qspi_sck"/>
  202. </pin_maps>
  203. </port_map>
  204. <port_map logical_port="SCK_O" physical_port="qspi_sck" dir="out">
  205. <pin_maps>
  206. <pin_map port_index="0" component_pin="qspi_sck"/>
  207. </pin_maps>
  208. </port_map>
  209. <port_map logical_port="SCK_T" physical_port="qspi_sck" dir="out">
  210. <pin_maps>
  211. <pin_map port_index="0" component_pin="qspi_sck"/>
  212. </pin_maps>
  213. </port_map>
  214. </port_maps>
  215. </interface>
  216. <interface mode="master" name="ja" type="digilentinc.com:interface:pmod_rtl:1.0" of_component="ja">
  217. <description>Pmod Connector JA</description>
  218. <port_maps>
  219. <port_map logical_port="PIN1_I" physical_port="JA1" dir="in">
  220. <pin_maps>
  221. <pin_map port_index="0" component_pin="JA1"/>
  222. </pin_maps>
  223. </port_map>
  224. <port_map logical_port="PIN1_O" physical_port="JA1" dir="out">
  225. <pin_maps>
  226. <pin_map port_index="0" component_pin="JA1"/>
  227. </pin_maps>
  228. </port_map>
  229. <port_map logical_port="PIN1_T" physical_port="JA1" dir="out">
  230. <pin_maps>
  231. <pin_map port_index="0" component_pin="JA1"/>
  232. </pin_maps>
  233. </port_map>
  234. <port_map logical_port="PIN2_I" physical_port="JA2" dir="in">
  235. <pin_maps>
  236. <pin_map port_index="0" component_pin="JA2"/>
  237. </pin_maps>
  238. </port_map>
  239. <port_map logical_port="PIN2_O" physical_port="JA2" dir="out">
  240. <pin_maps>
  241. <pin_map port_index="0" component_pin="JA2"/>
  242. </pin_maps>
  243. </port_map>
  244. <port_map logical_port="PIN2_T" physical_port="JA2" dir="out">
  245. <pin_maps>
  246. <pin_map port_index="0" component_pin="JA2"/>
  247. </pin_maps>
  248. </port_map>
  249. <port_map logical_port="PIN3_I" physical_port="JA3" dir="in">
  250. <pin_maps>
  251. <pin_map port_index="0" component_pin="JA3"/>
  252. </pin_maps>
  253. </port_map>
  254. <port_map logical_port="PIN3_O" physical_port="JA3" dir="out">
  255. <pin_maps>
  256. <pin_map port_index="0" component_pin="JA3"/>
  257. </pin_maps>
  258. </port_map>
  259. <port_map logical_port="PIN3_T" physical_port="JA3" dir="out">
  260. <pin_maps>
  261. <pin_map port_index="0" component_pin="JA3"/>
  262. </pin_maps>
  263. </port_map>
  264. <port_map logical_port="PIN4_I" physical_port="JA4" dir="in">
  265. <pin_maps>
  266. <pin_map port_index="0" component_pin="JA4"/>
  267. </pin_maps>
  268. </port_map>
  269. <port_map logical_port="PIN4_O" physical_port="JA4" dir="out">
  270. <pin_maps>
  271. <pin_map port_index="0" component_pin="JA4"/>
  272. </pin_maps>
  273. </port_map>
  274. <port_map logical_port="PIN4_T" physical_port="JA4" dir="out">
  275. <pin_maps>
  276. <pin_map port_index="0" component_pin="JA4"/>
  277. </pin_maps>
  278. </port_map>
  279. <port_map logical_port="PIN7_I" physical_port="JA7" dir="in">
  280. <pin_maps>
  281. <pin_map port_index="0" component_pin="JA7"/>
  282. </pin_maps>
  283. </port_map>
  284. <port_map logical_port="PIN7_O" physical_port="JA7" dir="out">
  285. <pin_maps>
  286. <pin_map port_index="0" component_pin="JA7"/>
  287. </pin_maps>
  288. </port_map>
  289. <port_map logical_port="PIN7_T" physical_port="JA7" dir="out">
  290. <pin_maps>
  291. <pin_map port_index="0" component_pin="JA7"/>
  292. </pin_maps>
  293. </port_map>
  294. <port_map logical_port="PIN8_I" physical_port="JA8" dir="in">
  295. <pin_maps>
  296. <pin_map port_index="0" component_pin="JA8"/>
  297. </pin_maps>
  298. </port_map>
  299. <port_map logical_port="PIN8_O" physical_port="JA8" dir="out">
  300. <pin_maps>
  301. <pin_map port_index="0" component_pin="JA8"/>
  302. </pin_maps>
  303. </port_map>
  304. <port_map logical_port="PIN8_T" physical_port="JA8" dir="out">
  305. <pin_maps>
  306. <pin_map port_index="0" component_pin="JA8"/>
  307. </pin_maps>
  308. </port_map>
  309. <port_map logical_port="PIN9_I" physical_port="JA9" dir="in">
  310. <pin_maps>
  311. <pin_map port_index="0" component_pin="JA9"/>
  312. </pin_maps>
  313. </port_map>
  314. <port_map logical_port="PIN9_O" physical_port="JA9" dir="out">
  315. <pin_maps>
  316. <pin_map port_index="0" component_pin="JA9"/>
  317. </pin_maps>
  318. </port_map>
  319. <port_map logical_port="PIN9_T" physical_port="JA9" dir="out">
  320. <pin_maps>
  321. <pin_map port_index="0" component_pin="JA9"/>
  322. </pin_maps>
  323. </port_map>
  324. <port_map logical_port="PIN10_I" physical_port="JA10" dir="in">
  325. <pin_maps>
  326. <pin_map port_index="0" component_pin="JA10"/>
  327. </pin_maps>
  328. </port_map>
  329. <port_map logical_port="PIN10_O" physical_port="JA10" dir="out">
  330. <pin_maps>
  331. <pin_map port_index="0" component_pin="JA10"/>
  332. </pin_maps>
  333. </port_map>
  334. <port_map logical_port="PIN10_T" physical_port="JA10" dir="out">
  335. <pin_maps>
  336. <pin_map port_index="0" component_pin="JA10"/>
  337. </pin_maps>
  338. </port_map>
  339. </port_maps>
  340. </interface>
  341. </interfaces>
  342. </component>
  343. <component name="sys_clock" display_name="System Clock" type="chip" sub_type="system_clock" major_group="Clocks">
  344. <description>12 MHz System Clock</description>
  345. </component>
  346. <component name="reset" display_name="Reset (BTN0)" type="chip" sub_type="reset" major_group="Reset">
  347. <description>Configure BTN0 as System Reset button, active high</description>
  348. </component>
  349. <component name="led_4bits" display_name="4 LEDs" type="chip" sub_type="led" major_group="GPIO">
  350. <description>LEDs 3 to 0</description>
  351. </component>
  352. <component name="rgb_led_3bits" display_name="RGB LED" type="chip" sub_type="led" major_group="GPIO">
  353. <description>RGB LED 2 downto 0 (ordered RGB)</description>
  354. </component>
  355. <component name="push_buttons_2bits" display_name="Push Buttons" type="chip" sub_type="push_button" major_group="GPIO">
  356. <description>Push Buttons 1 to 0</description>
  357. <component_modes>
  358. <component_mode name="2_btns" display_name="2 Buttons (No Reset)">
  359. <interfaces>
  360. <interface name="push_buttons_2bits" order="0"/>
  361. </interfaces>
  362. </component_mode>
  363. <component_mode name="1_btn" display_name="Only BTN1">
  364. <interfaces>
  365. <interface name="push_buttons_1bit" order="0"/>
  366. </interfaces>
  367. </component_mode>
  368. </component_modes>
  369. </component>
  370. <component name="usb_uart" display_name="USB UART" type="chip" sub_type="uart" major_group="UART">
  371. <description>USB UART</description>
  372. </component>
  373. <component name="qspi_flash" display_name="QSPI Flash" type="chip" sub_type="memory_flash_qspi" major_group="External Memory">
  374. <description>QSPI Flash</description>
  375. </component>
  376. <component name="ja" display_name="Connector JA" type="chip" sub_type="chip" major_group="Pmod">
  377. <description>Pmod Connector JA</description>
  378. </component>
  379. </components>
  380. <jtag_chains>
  381. <jtag_chain name="chain1">
  382. <position name="0" component="part0"/>
  383. </jtag_chain>
  384. </jtag_chains>
  385. <connections>
  386. <connection name="part0_sys_clock" component1="part0" component2="sys_clock">
  387. <connection_map name="part0_sys_clock_1" c1_st_index="0" c1_end_index="0" c2_st_index="0" c2_end_index="0"/>
  388. </connection>
  389. <connection name="part0_reset" component1="part0" component2="reset">
  390. <connection_map name="part0_reset_1" c1_st_index="8" c1_end_index="8" c2_st_index="0" c2_end_index="0"/>
  391. </connection>
  392. <connection name="part0_led_4bits" component1="part0" component2="led_4bits">
  393. <connection_map name="part0_led_4bits_1" c1_st_index="1" c1_end_index="4" c2_st_index="0" c2_end_index="3"/>
  394. </connection>
  395. <connection name="part0_rgb_led_3bits" component1="part0" component2="rgb_led_3bits">
  396. <connection_map name="part0_rgb_led_3bits_1" c1_st_index="5" c1_end_index="7" c2_st_index="0" c2_end_index="2"/>
  397. </connection>
  398. <connection name="part0_push_buttons_2bits" component1="part0" component2="push_buttons_2bits">
  399. <connection_map name="part0_push_buttons_2bits_1" c1_st_index="8" c1_end_index="9" c2_st_index="0" c2_end_index="1"/>
  400. </connection>
  401. <connection name="part0_usb_uart" component1="part0" component2="usb_uart">
  402. <connection_map name="part0_usb_uart_1" c1_st_index="10" c1_end_index="11" c2_st_index="0" c2_end_index="1"/>
  403. </connection>
  404. <connection name="part0_qspi_flash" component1="part0" component2="qspi_flash">
  405. <connection_map name="part0_qspi_flash_1" c1_st_index="12" c1_end_index="17" c2_st_index="0" c2_end_index="5"/>
  406. </connection>
  407. <connection name="part0_ja" component1="part0" component2="ja">
  408. <connection_map name="part0_ja_1" c1_st_index="18" c1_end_index="25" c2_st_index="0" c2_end_index="7"/>
  409. </connection>
  410. </connections>
  411. </board>