SHARE
TWEET

Untitled

a guest Dec 9th, 2019 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ## This file is a general .xdc for the Basys3 rev B board
  2. ## To use it in a project:
  3. ## - uncomment the lines corresponding to used pins
  4. ##   (if you are using the editor in Vivado, you can select lines and hit "Ctrl + /" to comment/uncomment.)
  5. ## - rename the used ports (in each line, after get_ports) according to the top level signal names in the project
  6.  
  7. # Clock signal
  8. set_property PACKAGE_PIN W5 [get_ports clk]
  9.     set_property IOSTANDARD LVCMOS33 [get_ports clk]
  10.     create_clock -add -name sys_clk_pin -period 10.00 -waveform {0 5} [get_ports clk]
  11.  
  12. # Switches
  13. set_property PACKAGE_PIN V17 [get_ports {rst}]
  14.     set_property IOSTANDARD LVCMOS33 [get_ports {rst}]
  15. #set_property PACKAGE_PIN V16 [get_ports {dir}]
  16. #    set_property IOSTANDARD LVCMOS33 [get_ports {dir}]
  17. #set_property PACKAGE_PIN W16 [get_ports {rst}]
  18. #    set_property IOSTANDARD LVCMOS33 [get_ports {rst}]
  19. # set_property PACKAGE_PIN W17 [get_ports {sw[3]}]
  20. #    set_property IOSTANDARD LVCMOS33 [get_ports {sw[3]}]
  21. # set_property PACKAGE_PIN W15 [get_ports {sw[4]}]
  22. #    set_property IOSTANDARD LVCMOS33 [get_ports {sw[4]}]
  23. # set_property PACKAGE_PIN V15 [get_ports {sw[5]}]
  24. #    set_property IOSTANDARD LVCMOS33 [get_ports {sw[5]}]
  25. # set_property PACKAGE_PIN W14 [get_ports {sw[6]}]
  26. #    set_property IOSTANDARD LVCMOS33 [get_ports {sw[6]}]
  27. # set_property PACKAGE_PIN W13 [get_ports {sw[7]}]
  28. #    set_property IOSTANDARD LVCMOS33 [get_ports {sw[7]}]
  29. # set_property PACKAGE_PIN V2 [get_ports {sw[8]}]
  30. #    set_property IOSTANDARD LVCMOS33 [get_ports {sw[8]}]
  31. # set_property PACKAGE_PIN T3 [get_ports {sw[9]}]
  32. #    set_property IOSTANDARD LVCMOS33 [get_ports {sw[9]}]
  33. # set_property PACKAGE_PIN T2 [get_ports {sw[10]}]
  34. #    set_property IOSTANDARD LVCMOS33 [get_ports {sw[10]}]
  35. # set_property PACKAGE_PIN R3 [get_ports {sw[11]}]
  36. #    set_property IOSTANDARD LVCMOS33 [get_ports {sw[11]}]
  37. # set_property PACKAGE_PIN W2 [get_ports {sw[12]}]
  38. #    set_property IOSTANDARD LVCMOS33 [get_ports {sw[12]}]
  39. # set_property PACKAGE_PIN U1 [get_ports {sw[13]}]
  40. #    set_property IOSTANDARD LVCMOS33 [get_ports {sw[13]}]
  41. # set_property PACKAGE_PIN T1 [get_ports {sw[14]}]
  42. #    set_property IOSTANDARD LVCMOS33 [get_ports {sw[14]}]
  43. # set_property PACKAGE_PIN R2 [get_ports {sw[15]}]
  44. #    set_property IOSTANDARD LVCMOS33 [get_ports {sw[15]}]
  45.  
  46.  
  47. # LEDs
  48. set_property PACKAGE_PIN U16 [get_ports {enough_A}]
  49.      set_property IOSTANDARD LVCMOS33 [get_ports {enough_A}]
  50. set_property PACKAGE_PIN E19 [get_ports {enough_B}]
  51.      set_property IOSTANDARD LVCMOS33 [get_ports {enough_B}]
  52. # set_property PACKAGE_PIN U19 [get_ports {led[2]}]
  53. #     set_property IOSTANDARD LVCMOS33 [get_ports {led[2]}]
  54. # set_property PACKAGE_PIN V19 [get_ports {led[3]}]
  55. #     set_property IOSTANDARD LVCMOS33 [get_ports {led[3]}]
  56. # set_property PACKAGE_PIN W18 [get_ports {led[4]}]
  57. #     set_property IOSTANDARD LVCMOS33 [get_ports {led[4]}]
  58. # set_property PACKAGE_PIN U15 [get_ports {led[5]}]
  59. #     set_property IOSTANDARD LVCMOS33 [get_ports {led[5]}]
  60.  set_property PACKAGE_PIN U14 [get_ports {drop_money[0]}]
  61.      set_property IOSTANDARD LVCMOS33 [get_ports {drop_money[0]}]
  62.  set_property PACKAGE_PIN V14 [get_ports {drop_money[1]}]
  63.      set_property IOSTANDARD LVCMOS33 [get_ports {drop_money[1]}]
  64.  set_property PACKAGE_PIN V13 [get_ports {drop_money[2]}]
  65.      set_property IOSTANDARD LVCMOS33 [get_ports {drop_money[2]}]
  66.  set_property PACKAGE_PIN V3 [get_ports {drop_money[3]}]
  67.      set_property IOSTANDARD LVCMOS33 [get_ports {drop_money[3]}]
  68.  set_property PACKAGE_PIN W3 [get_ports {drop_money[4]}]
  69.      set_property IOSTANDARD LVCMOS33 [get_ports {drop_money[4]}]
  70.  set_property PACKAGE_PIN U3 [get_ports {drop_money[5]}]
  71.      set_property IOSTANDARD LVCMOS33 [get_ports {drop_money[5]}]
  72.  set_property PACKAGE_PIN P3 [get_ports {drop_money[6]}]
  73.      set_property IOSTANDARD LVCMOS33 [get_ports {drop_money[6]}]
  74.  set_property PACKAGE_PIN N3 [get_ports {drop_money[7]}]
  75.      set_property IOSTANDARD LVCMOS33 [get_ports {drop_money[7]}]
  76.  set_property PACKAGE_PIN P1 [get_ports {drop_money[8]}]
  77.      set_property IOSTANDARD LVCMOS33 [get_ports {drop_money[8]}]
  78.  set_property PACKAGE_PIN L1 [get_ports {drop_money[9]}]
  79.      set_property IOSTANDARD LVCMOS33 [get_ports {drop_money[9]}]
  80.  
  81.  
  82. # 7 segment display
  83.  set_property PACKAGE_PIN W7 [get_ports {DISPLAY[6]}]
  84.     set_property IOSTANDARD LVCMOS33 [get_ports {DISPLAY[6]}]
  85.  set_property PACKAGE_PIN W6 [get_ports {DISPLAY[5]}]
  86.     set_property IOSTANDARD LVCMOS33 [get_ports {DISPLAY[5]}]
  87.  set_property PACKAGE_PIN U8 [get_ports {DISPLAY[4]}]
  88.     set_property IOSTANDARD LVCMOS33 [get_ports {DISPLAY[4]}]
  89.  set_property PACKAGE_PIN V8 [get_ports {DISPLAY[3]}]
  90.     set_property IOSTANDARD LVCMOS33 [get_ports {DISPLAY[3]}]
  91.  set_property PACKAGE_PIN U5 [get_ports {DISPLAY[2]}]
  92.     set_property IOSTANDARD LVCMOS33 [get_ports {DISPLAY[2]}]
  93.  set_property PACKAGE_PIN V5 [get_ports {DISPLAY[1]}]
  94.     set_property IOSTANDARD LVCMOS33 [get_ports {DISPLAY[1]}]
  95.  set_property PACKAGE_PIN U7 [get_ports {DISPLAY[0]}]
  96.     set_property IOSTANDARD LVCMOS33 [get_ports {DISPLAY[0]}]
  97.  
  98. #
  99. # set_property PACKAGE_PIN V7 [get_ports dp]
  100. #    set_property IOSTANDARD LVCMOS33 [get_ports dp]
  101. #
  102. set_property PACKAGE_PIN U2 [get_ports {DIGIT[0]}]
  103.    set_property IOSTANDARD LVCMOS33 [get_ports {DIGIT[0]}]
  104. set_property PACKAGE_PIN U4 [get_ports {DIGIT[1]}]
  105.    set_property IOSTANDARD LVCMOS33 [get_ports {DIGIT[1]}]
  106. set_property PACKAGE_PIN V4 [get_ports {DIGIT[2]}]
  107.    set_property IOSTANDARD LVCMOS33 [get_ports {DIGIT[2]}]
  108. set_property PACKAGE_PIN W4 [get_ports {DIGIT[3]}]
  109.    set_property IOSTANDARD LVCMOS33 [get_ports {DIGIT[3]}]
  110.  
  111.  
  112.  
  113. # Buttons
  114. set_property PACKAGE_PIN U18 [get_ports cancel]
  115.    set_property IOSTANDARD LVCMOS33 [get_ports cancel]
  116. set_property PACKAGE_PIN T18 [get_ports money_10]
  117.    set_property IOSTANDARD LVCMOS33 [get_ports money_10]
  118. set_property PACKAGE_PIN W19 [get_ports drink_A]
  119.    set_property IOSTANDARD LVCMOS33 [get_ports drink_A]
  120. set_property PACKAGE_PIN T17 [get_ports drink_B]
  121.    set_property IOSTANDARD LVCMOS33 [get_ports drink_B]
  122. set_property PACKAGE_PIN U17 [get_ports money_5]
  123.    set_property IOSTANDARD LVCMOS33 [get_ports money_5]
  124.  
  125.  
  126.  
  127. ## Pmod Header JA
  128. ## Sch name = JA1
  129. # set_property PACKAGE_PIN J1 [get_ports {JA[0]}]
  130. #    set_property IOSTANDARD LVCMOS33 [get_ports {JA[0]}]
  131. ## Sch name = JA2
  132. # set_property PACKAGE_PIN L2 [get_ports {JA[1]}]
  133. #    set_property IOSTANDARD LVCMOS33 [get_ports {JA[1]}]
  134. ## Sch name = JA3
  135. # set_property PACKAGE_PIN J2 [get_ports {JA[2]}]
  136. #    set_property IOSTANDARD LVCMOS33 [get_ports {JA[2]}]
  137. ## Sch name = JA4
  138. # set_property PACKAGE_PIN G2 [get_ports {JA[3]}]
  139. #    set_property IOSTANDARD LVCMOS33 [get_ports {JA[3]}]
  140. ## Sch name = JA7
  141. # set_property PACKAGE_PIN H1 [get_ports {JA[4]}]
  142. #    set_property IOSTANDARD LVCMOS33 [get_ports {JA[4]}]
  143. ## Sch name = JA8
  144. # set_property PACKAGE_PIN K2 [get_ports {JA[5]}]
  145. #    set_property IOSTANDARD LVCMOS33 [get_ports {JA[5]}]
  146. ## Sch name = JA9
  147. # set_property PACKAGE_PIN H2 [get_ports {JA[6]}]
  148. #    set_property IOSTANDARD LVCMOS33 [get_ports {JA[6]}]
  149. ## Sch name = JA10
  150. # set_property PACKAGE_PIN G3 [get_ports {JA[7]}]
  151. #    set_property IOSTANDARD LVCMOS33 [get_ports {JA[7]}]
  152.  
  153.  
  154.  
  155. ## Pmod Header JB
  156. ## Sch name = JB1
  157. # set_property PACKAGE_PIN A14 [get_ports {JB[0]}]
  158. #    set_property IOSTANDARD LVCMOS33 [get_ports {JB[0]}]
  159. ## Sch name = JB2
  160. # set_property PACKAGE_PIN A16 [get_ports {JB[1]}]
  161. #    set_property IOSTANDARD LVCMOS33 [get_ports {JB[1]}]
  162. ## Sch name = JB3
  163. # set_property PACKAGE_PIN B15 [get_ports {JB[2]}]
  164. #    set_property IOSTANDARD LVCMOS33 [get_ports {JB[2]}]
  165. ## Sch name = JB4
  166. # set_property PACKAGE_PIN B16 [get_ports {JB[3]}]
  167. #    set_property IOSTANDARD LVCMOS33 [get_ports {JB[3]}]
  168. ## Sch name = JB7
  169. # set_property PACKAGE_PIN A15 [get_ports {JB[4]}]
  170. #    set_property IOSTANDARD LVCMOS33 [get_ports {JB[4]}]
  171. ## Sch name = JB8
  172. # set_property PACKAGE_PIN A17 [get_ports {JB[5]}]
  173. #    set_property IOSTANDARD LVCMOS33 [get_ports {JB[5]}]
  174. ## Sch name = JB9
  175. # set_property PACKAGE_PIN C15 [get_ports {JB[6]}]
  176. #    set_property IOSTANDARD LVCMOS33 [get_ports {JB[6]}]
  177. ## Sch name = JB10
  178. # set_property PACKAGE_PIN C16 [get_ports {JB[7]}]
  179. #    set_property IOSTANDARD LVCMOS33 [get_ports {JB[7]}]
  180.  
  181.  
  182.  
  183. ## Pmod Header JC
  184. ## Sch name = JC1
  185. # set_property PACKAGE_PIN K17 [get_ports {JC[0]}]
  186. #    set_property IOSTANDARD LVCMOS33 [get_ports {JC[0]}]
  187. ## Sch name = JC2
  188. # set_property PACKAGE_PIN M18 [get_ports {JC[1]}]
  189. #    set_property IOSTANDARD LVCMOS33 [get_ports {JC[1]}]
  190. ## Sch name = JC3
  191. # set_property PACKAGE_PIN N17 [get_ports {JC[2]}]
  192. #    set_property IOSTANDARD LVCMOS33 [get_ports {JC[2]}]
  193. ## Sch name = JC4
  194. # set_property PACKAGE_PIN P18 [get_ports {JC[3]}]
  195. #    set_property IOSTANDARD LVCMOS33 [get_ports {JC[3]}]
  196. ## Sch name = JC7
  197. # set_property PACKAGE_PIN L17 [get_ports {JC[4]}]
  198. #    set_property IOSTANDARD LVCMOS33 [get_ports {JC[4]}]
  199. ## Sch name = JC8
  200. # set_property PACKAGE_PIN M19 [get_ports {JC[5]}]
  201. #    set_property IOSTANDARD LVCMOS33 [get_ports {JC[5]}]
  202. ## Sch name = JC9
  203. # set_property PACKAGE_PIN P17 [get_ports {JC[6]}]
  204. #    set_property IOSTANDARD LVCMOS33 [get_ports {JC[6]}]
  205. ## Sch name = JC10
  206. # set_property PACKAGE_PIN R18 [get_ports {JC[7]}]
  207. #    set_property IOSTANDARD LVCMOS33 [get_ports {JC[7]}]
  208.  
  209.  
  210. ## Pmod Header JXADC
  211. ## Sch name = XA1_P
  212. # set_property PACKAGE_PIN J3 [get_ports {JXADC[0]}]
  213. #    set_property IOSTANDARD LVCMOS33 [get_ports {JXADC[0]}]
  214. ## Sch name = XA2_P
  215. # set_property PACKAGE_PIN L3 [get_ports {JXADC[1]}]
  216. #    set_property IOSTANDARD LVCMOS33 [get_ports {JXADC[1]}]
  217. ## Sch name = XA3_P
  218. # set_property PACKAGE_PIN M2 [get_ports {JXADC[2]}]
  219. #    set_property IOSTANDARD LVCMOS33 [get_ports {JXADC[2]}]
  220. ## Sch name = XA4_P
  221. # set_property PACKAGE_PIN N2 [get_ports {JXADC[3]}]
  222. #    set_property IOSTANDARD LVCMOS33 [get_ports {JXADC[3]}]
  223. ## Sch name = XA1_N
  224. # set_property PACKAGE_PIN K3 [get_ports {JXADC[4]}]
  225. #    set_property IOSTANDARD LVCMOS33 [get_ports {JXADC[4]}]
  226. ## Sch name = XA2_N
  227. # set_property PACKAGE_PIN M3 [get_ports {JXADC[5]}]
  228. #    set_property IOSTANDARD LVCMOS33 [get_ports {JXADC[5]}]
  229. ## Sch name = XA3_N
  230. # set_property PACKAGE_PIN M1 [get_ports {JXADC[6]}]
  231. #    set_property IOSTANDARD LVCMOS33 [get_ports {JXADC[6]}]
  232. ## Sch name = XA4_N
  233. # set_property PACKAGE_PIN N1 [get_ports {JXADC[7]}]
  234. #    set_property IOSTANDARD LVCMOS33 [get_ports {JXADC[7]}]
  235.  
  236.  
  237.  
  238. ## VGA Connector
  239. # set_property PACKAGE_PIN G19 [get_ports {vgaRed[0]}]
  240. #    set_property IOSTANDARD LVCMOS33 [get_ports {vgaRed[0]}]
  241. # set_property PACKAGE_PIN H19 [get_ports {vgaRed[1]}]
  242. #    set_property IOSTANDARD LVCMOS33 [get_ports {vgaRed[1]}]
  243. # set_property PACKAGE_PIN J19 [get_ports {vgaRed[2]}]
  244. #    set_property IOSTANDARD LVCMOS33 [get_ports {vgaRed[2]}]
  245. # set_property PACKAGE_PIN N19 [get_ports {vgaRed[3]}]
  246. #    set_property IOSTANDARD LVCMOS33 [get_ports {vgaRed[3]}]
  247. # set_property PACKAGE_PIN N18 [get_ports {vgaBlue[0]}]
  248. #    set_property IOSTANDARD LVCMOS33 [get_ports {vgaBlue[0]}]
  249. # set_property PACKAGE_PIN L18 [get_ports {vgaBlue[1]}]
  250. #    set_property IOSTANDARD LVCMOS33 [get_ports {vgaBlue[1]}]
  251. # set_property PACKAGE_PIN K18 [get_ports {vgaBlue[2]}]
  252. #    set_property IOSTANDARD LVCMOS33 [get_ports {vgaBlue[2]}]
  253. # set_property PACKAGE_PIN J18 [get_ports {vgaBlue[3]}]
  254. #    set_property IOSTANDARD LVCMOS33 [get_ports {vgaBlue[3]}]
  255. # set_property PACKAGE_PIN J17 [get_ports {vgaGreen[0]}]
  256. #    set_property IOSTANDARD LVCMOS33 [get_ports {vgaGreen[0]}]
  257. # set_property PACKAGE_PIN H17 [get_ports {vgaGreen[1]}]
  258. #    set_property IOSTANDARD LVCMOS33 [get_ports {vgaGreen[1]}]
  259. # set_property PACKAGE_PIN G17 [get_ports {vgaGreen[2]}]
  260. #    set_property IOSTANDARD LVCMOS33 [get_ports {vgaGreen[2]}]
  261. # set_property PACKAGE_PIN D17 [get_ports {vgaGreen[3]}]
  262. #    set_property IOSTANDARD LVCMOS33 [get_ports {vgaGreen[3]}]
  263. # set_property PACKAGE_PIN P19 [get_ports hsync]
  264. #    set_property IOSTANDARD LVCMOS33 [get_ports hsync]
  265. # set_property PACKAGE_PIN R19 [get_ports vsync]
  266. #    set_property IOSTANDARD LVCMOS33 [get_ports vsync]
  267.  
  268.  
  269. ## USB-RS232 Interface
  270. # set_property PACKAGE_PIN B18 [get_ports RsRx]
  271. #    set_property IOSTANDARD LVCMOS33 [get_ports RsRx]
  272. # set_property PACKAGE_PIN A18 [get_ports RsTx]
  273. #    set_property IOSTANDARD LVCMOS33 [get_ports RsTx]
  274.  
  275.  
  276. ## USB HID (PS/2)
  277. # set_property PACKAGE_PIN C17 [get_ports PS2_CLK]
  278. #    set_property IOSTANDARD LVCMOS33 [get_ports PS2_CLK]
  279. #    set_property PULLUP true [get_ports PS2_CLK]
  280. # set_property PACKAGE_PIN B17 [get_ports PS2_DATA]
  281. #    set_property IOSTANDARD LVCMOS33 [get_ports PS2_DATA]
  282. #    set_property PULLUP true [get_ports PS2_DATA]
  283.  
  284.  
  285. ## Quad SPI Flash
  286. ## Note that CCLK_0 cannot be placed in 7 series devices. You can access it using the
  287. ## STARTUPE2 primitive.
  288. # set_property PACKAGE_PIN D18 [get_ports {QspiDB[0]}]
  289. #    set_property IOSTANDARD LVCMOS33 [get_ports {QspiDB[0]}]
  290. # set_property PACKAGE_PIN D19 [get_ports {QspiDB[1]}]
  291. #    set_property IOSTANDARD LVCMOS33 [get_ports {QspiDB[1]}]
  292. # set_property PACKAGE_PIN G18 [get_ports {QspiDB[2]}]
  293. #    set_property IOSTANDARD LVCMOS33 [get_ports {QspiDB[2]}]
  294. # set_property PACKAGE_PIN F18 [get_ports {QspiDB[3]}]
  295. #    set_property IOSTANDARD LVCMOS33 [get_ports {QspiDB[3]}]
  296. # set_property PACKAGE_PIN K19 [get_ports QspiCSn]
  297. #    set_property IOSTANDARD LVCMOS33 [get_ports QspiCSn]
  298.  
  299. ## Don't Touch
  300. # set_property BITSTREAM.GENERAL.COMPRESS TRUE [current_design]
  301. # set_property BITSTREAM.CONFIG.SPI_BUSWIDTH 4 [current_design]
  302. # set_property CONFIG_MODE SPIx4 [current_design]
  303. # set_property BITSTREAM.CONFIG.CONFIGRATE 33 [current_design]
  304.  
  305. ## where 3.3 is the voltage provided to configuration bank 0
  306.     set_property CONFIG_VOLTAGE 3.3 [current_design]
  307. ## where value1 is either VCCO(for Vdd=3.3) or GND(for Vdd=1.8)
  308.     set_property CFGBVS VCCO [current_design]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top