-
Notifications
You must be signed in to change notification settings - Fork 0
/
enclustra.xdc
635 lines (570 loc) · 39.8 KB
/
enclustra.xdc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
################################################################################
################################################################################
set_property CFGBVS GND [current_design]
set_property CONFIG_VOLTAGE 1.8 [current_design]
set_property BITSTREAM.CONFIG.CONFIGRATE 22 [current_design]
set_property BITSTREAM.CONFIG.OVERTEMPPOWERDOWN ENABLE [current_design]
set_property BITSTREAM.CONFIG.UNUSEDPIN PULLNONE [current_design]
# set_property -dict {PACKAGE_PIN AD24 IOSTANDARD LVCMOS18 } [get_ports {CLK_100_CAL}]
set_property DCI_CASCADE {32 33} [get_iobanks 34]
## For a 1.5V memory, the appropriate VREF voltage is half of 1.5, or 0.75 Volts
## Of the DDR3 bank(s), only bank 33 needs the INTERNAL_VREF. The other DDR3
## banks are explicitly connected to an external VREF signal. However, bank
## 33s IOs are overloaded--there was no room for the VREF. Hence, to spare
## two pins, bank 33 uses an internal voltage reference. Sadly, the same
## problem plays out in banks 12-16 as well.
set_property INTERNAL_VREF 0.750 [get_iobanks 33]
## Other IO banks have internal VREFs as well, those these aren't as critical
set_property INTERNAL_VREF 0.90 [get_iobanks 12]
set_property INTERNAL_VREF 0.60 [get_iobanks 13]
set_property INTERNAL_VREF 0.90 [get_iobanks 14]
set_property INTERNAL_VREF 0.90 [get_iobanks 15]
set_property INTERNAL_VREF 0.90 [get_iobanks 16]
## Clocks
## {{{
# 100MHz single ended input clock
set_property -dict {PACKAGE_PIN AA4 IOSTANDARD SSTL15 } [get_ports {i_clk}];
create_clock -name i_clk -period 10.000 [get_ports i_clk];
# set_property -dict {PACKAGE_PIN AB11 DIFF_TERM FALSE IOSTANDARD LVDS} [get_ports {i_clk200_p}];
# set_property -dict {PACKAGE_PIN AC11 DIFF_TERM FALSE IOSTANDARD LVDS} [get_ports {i_clk200_n}];
create_clock -name CK200 -period 5.000 [get_ports i_clk200_p];
## AD24: IO_B12_L16_AD24_N A60 CLK_100_CAL i_clk100_cal
## D5/D6: Used for SATA reference clock, 150MHz
## D6/D5: MGT_REFCLK2_D6_P/5_N B3/B5 CLK_REF0_P/N i_sata_refclk_p/n
## N16/U16 -> C3/C5->CLK_REF2_P/N i_aux_refclk_p/n
## MGT_REFCLK1_K6_P/K5_N -> B10/B12 FMC_GCLK0_M2C_P i_fmc_refclk_p/n
## Y22/AA22: IO_B12_L13_MRCC_Y22_P/AA22_N,A46/A48-> CLK_USR_P/N, i_usrclk_p/n
##
## Si5338B -> usrclk, sata_refclk (CLK_REF0), aux_refclk (CLK_REF2)
## Si570 -> Not connected
## MIPI clock pins
##
## N21/N22 -> C148/C150 -> MIPI1_CLK_P/N
## R21/P21 -> C151/C153-> MIPI0_CLK_P/N
## M25/L25 C160/C162-> MIPI0_CLK_D0LP_P/N
## R26/P26 C161/C163-> MIPI1_CLK_D0LP_P/N
##
##
## Not clock pins ...
##
## F6: MGT_REFCLK3_D6_P B7 IO_D2_P
## F5: MGT_REFCLK3_D5_N B9 IO_D3_N
## H6: MGT_REFCLK0_H6_P B4 IO2_D0_P
## H5: MGT_REFCLK0_H5_N B6 IO2_D1_P
## R22/R23 -> C122/C124->IO1_CLK_P/N (Anios #1)
##
## F22/E23 -> A104/A106 -> GPIO0_LED0#/LED1# (Baseboard LEDs)
##
## AA23/AB24 -> A10/A12 -> IO0_D0_P/IO0D1_N
## AC23/AC24 -> A49/A51 -> IO0_CLK_P/IO0_CLK_N (Anios #0)
## Y23/AA24 -> A85/A87 -> IO3_D0_P/IO3_D1_N
## F2/F1 or NC -> B47/B49 -> FMC_CLK1_M2C_P/N
## H17/H18 -> B78/B80 -> FMC_CLK0_M2C_P/N
## D23/D24 -> A88/A90->DP_AUX_IN/DP_AUX_OUT (No clock)
##
## Module connect C contains clock capable pins:
## F17/E17 -> C88/C90 -> FMC_HA00_CC_P/N
## E10/D10 -> C89/C91 -> FMC_HA09_P/N
## P23/N23 -> C115/C117 -> IO1_D0_P/IO1_D1_N
## R22/R23 -> C122/C124 -> IO1_CLK_P/N (Anios connector #1)
## N21/N22 -> C148/C150 -> MIPI1_CLK_P/N
## R21/P21 -> C151/C153 -> MIPI0_CLK_P/N
## C4/C6 -> FMC_GCLK1_M2C_P/N (NC)
## C7/C9 -> CLK_REF_P/N (NC)
## C10/C12 -> CLK_REF1_P/N (NC)
## CLK100
## CLK200P/N
##
## Baseboard ...
## CLK_USR_P/N
## CLK_REF_P/N (Si570 Reference oscillator)
## CLK_REF0_P/N
## CLK_REF1_P/N
## CLK_REF2_P/N
## (CLK_CG, may not be populated)
## FMC_GCLK1_M2P_P/N (??)
## ID0_CLK_P/N, IO1_CLK_P/N (Anios IO connector)
## }}}
## LEDs
## {{{
# set_property -dict {SLEW SLOW PACKAGE_PIN U9 IOSTANDARD LVCMOS15 } [get_ports {o_led[0]}]; # LED0_N
# set_property -dict {SLEW SLOW PACKAGE_PIN V12 IOSTANDARD LVCMOS15 } [get_ports {o_led[1]}]; # LED1_N
# set_property -dict {SLEW SLOW PACKAGE_PIN V13 IOSTANDARD LVCMOS15 } [get_ports {o_led[2]}]; # LED2_N
# set_property -dict {SLEW SLOW PACKAGE_PIN W13 IOSTANDARD LVCMOS15 } [get_ports {o_led[3]}]; # LED3_N
## Baseboard LEDs
# set_property -dict {SLEW SLOW PACKAGE_PIN F22 IOSTANDARD LVCMOS18 } [get_ports { o_led[4] }]; # GPIO0_LED0_N
# set_property -dict {SLEW SLOW PACKAGE_PIN E23 IOSTANDARD LVCMOS18 } [get_ports { o_led[5] }]; # GPIO1_LED1_N
# set_property -dict {SLEW SLOW PACKAGE_PIN K25 IOSTANDARD LVCMOS12 } [get_ports { o_led[6] }]; # LED2
# set_property -dict {SLEW SLOW PACKAGE_PIN K26 IOSTANDARD LVCMOS12 } [get_ports { o_led[7] }]; # LED3
## C142 LED2 (ST1)
## C144 LED3 (ST1)
##
## GPIO0_LED0_N via A104
## GPIO1_LED1_N via A106
## K25: LED#2 via C142
## K26: LED#3 via C144
## ETH0_LED1# A149 --> Controlled by the Ethernet chip(s)
## ETH0_LED2# A161
## ETH1_LED1# A148
## ETH1_LED2# A160
## FPGA DONE
## }}}
## UART
## {{{
set_property -dict {PACKAGE_PIN B20 IOSTANDARD LVCMOS18 } [get_ports {i_wbu_uart_rx}]; # UART_RX
set_property -dict {PACKAGE_PIN A20 IOSTANDARD LVCMOS18 } [get_ports {o_wbu_uart_tx}]; # UART_TX
## }}}
## Buttons
## {{{
# set_property -dict {PACKAGE_PIN C22 IOSTANDARD LVCMOS18 } [get_ports {i_btn[0]}]; # (Not in TCL)
##
## Button #1 will affect the user oscillator speed, if the Si5338 is so config'd
## (It affects the speed of CLK_CG, which feeds inputs 1 and 2 of the
## Si5338)
# set_property -dict {PACKAGE_PIN AD23 IOSTANDARD LVCMOS18 } [get_ports {i_btn[1]}]; # (Not in TCL)
## IO B14 L7 C22 N / A100 / BTN0#
## IO B12 L16 AD23 P / A58 / BTN1#
## Reset button
# set_property -dict {PACKAGE_PIN AD9 IOSTANDARD SSTL15 } [get_ports {i_reset_btn}]; # Rst_N
## }}}
## I2C
## {{{
## I2C #1: I2C_SCL and I2C_SDA
## {{{
## Connects to FTDI, Si53388B, AniosIO #1, HDMI Redriver
# set_property SLEW SLOW [get_ports i_i2c_int_n];
# set_property SLEW SLOW [get_ports io_sda];
# set_property SLEW SLOW [get_ports io_scl];
# set_property -dict {PACKAGE_PIN AC18 IOSTANDARD SSTL15 } [get_ports {i_i2c_int_n}];
# set_property -dict {PACKAGE_PIN L23 IOSTANDARD LVCMOS18 } [get_ports {io_scl}];
# set_property -dict {PACKAGE_PIN C24 IOSTANDARD LVCMOS18 } [get_ports {io_sda}];
## }}}
## I2C #2: I2C_SCL_FPGA and I2C_SDA_FPGA
## {{{
## Connects to FMC, AniosIO #2, Reference oscillator control, HDMI, MIPI, SFP+
# set_property -dict {PACKAGE_PIN W25 IOSTANDARD LVCMOS18 } [get_ports {io_i2c_fpga_scl}]; ## IO Bank B12, A55
# set_property -dict {PACKAGE_PIN W26 IOSTANDARD LVCMOS18 } [get_ports {io_i2c_fpga_sda}]; ## IO Bank B12, A57
##
## I2C Address Bus Component
## 1110'000 I2C_* Si5338
## 0101'0101 I2C_*_FPGA Si570 (Controls the user oscillator)
## 0010'000 I2C_*_MIPI0 Sony Camera
## 1100'100 I2C_*_MIPI1 ATSHA204A
## 1010'00x I2C_*_FPGA SFP+
## 1011'110 I2C_* HDMI, SN65DP159RSB
## 1011'110 I2C_*_HDMI HDMI, SN65DP159RSB
##
## C63/C65 -> SFP_TX_P/N (NC)
## C66/C68 -> SFP_RX_P/N (NC)
## }}}
## I2C_INT#: via A115
## }}}
## HDMI (Not supported. The KX2 wires aren't connected)
## {{{
# set_property -dict {PACKAGE_PIN U26 IOSTANDARD LVCMOS18 } [get_ports {HDMI_HPD}];
# set_property -dict {PACKAGE_PIN R20 IOSTANDARD LVCMOS18 } [get_ports {HDMI_CLK_N}];
# set_property -dict {PACKAGE_PIN T20 IOSTANDARD LVCMOS18 } [get_ports {HDMI_CLK_P}];
## IO B12 L4 U26 P / A61 / HDMI_HPD (ST1)
## C45, C47, C51, C53, C57, and C59 don't appear to connect to the FPGA. Is this correct?
## C45 / HDMI_D0_P (ST1)
## C47 / HDMI_D0_N (ST1)
## C51 / HDMI_D1_P (ST1)
## C53 / HDMI_D1_N (ST1)
## C57 / HDMI_D2_P (ST1)
## C59 / HDMI_D2_N (ST1)
## }}}
## SFP+: Not supported either. The data wires aren't connected
## Display port
## {{{
## Four lanes, an AUX channel, and an HPD channel
## Bank 115, 1.2V
# set_property -dict {PACKAGE_PIN P2 IOSTANDARD DIFF_SSTL12 } [get_ports { o_dp_p[0]}];
# set_property -dict {PACKAGE_PIN P1 IOSTANDARD DIFF_SSTL12 } [get_ports { o_dp_n[0]}];
# set_property -dict {PACKAGE_PIN M2 IOSTANDARD DIFF_SSTL12 } [get_ports { o_dp_p[1]}];
# set_property -dict {PACKAGE_PIN M1 IOSTANDARD DIFF_SSTL12 } [get_ports { o_dp_n[1]}];
##
# set_property -dict {PACKAGE_PIN P2 IOSTANDARD DIFF_SSTL12 } [get_ports { o_dp_p[2]}];
# set_property -dict {PACKAGE_PIN P1 IOSTANDARD DIFF_SSTL12 } [get_ports { o_dp_n[2]}];
# set_property -dict {PACKAGE_PIN M2 IOSTANDARD DIFF_SSTL12 } [get_ports { o_dp_p[3]}];
# set_property -dict {PACKAGE_PIN M1 IOSTANDARD DIFF_SSTL12 } [get_ports { o_dp_n[3]}];
##
## Bank 14, VCCO=VCC_CFG_B14=1.8v, Same as FLASH, Eth0,Eth1
# set_property -dict { PACKAGE_PIN D23 IOSTANDARD LVCMOS18 } [get_ports {i_dp_aux}];
# set_property -dict { PACKAGE_PIN D24 IOSTANDARD LVCMOS18 } [get_ports {o_dp_aux}];
# set_property -dict { PACKAGE_PIN E21 IOSTANDARD LVCMOS18 } [get_ports {o_dp_aux_oe}];
# set_property -dict { PACKAGE_PIN E22 IOSTANDARD LVCMOS18 } [get_ports {i_dp_hpd}];
## }}}
## KX2 IO Bank #0
## {{{
# set_property -dict {PACKAGE_PIN V23 IOSTANDARD LVCMOS18 } [get_ports {v23}];
# set_property -dict {PACKAGE_PIN V24 IOSTANDARD LVCMOS18 } [get_ports {v24}]; ## IO_B12_L3_V24_N
# set_property -dict {PACKAGE_PIN Y21 IOSTANDARD LVCMOS18 } [get_ports {IO0_D15_N}];
# set_property -dict {PACKAGE_PIN AD21 IOSTANDARD LVCMOS18 } [get_ports {IO0_D16_P}];
# set_property -dict {PACKAGE_PIN AE21 IOSTANDARD LVCMOS18 } [get_ports {IO0_D17_N}];
# set_property -dict {PACKAGE_PIN AE22 IOSTANDARD LVCMOS18 } [get_ports { ae22 }];
# set_property -dict {PACKAGE_PIN AF22 IOSTANDARD LVCMOS18 } [get_ports { af22 }];
# set_property -dict {PACKAGE_PIN V21 IOSTANDARD LVCMOS18 } [get_ports {IO0_D20_P}];
# set_property -dict {PACKAGE_PIN W21 IOSTANDARD LVCMOS18 } [get_ports {IO0_D21_N}];
# set_property -dict {PACKAGE_PIN U24 IOSTANDARD LVCMOS18 } [get_ports {u24}]; # IO_B12_L2_U24_P
# set_property -dict {PACKAGE_PIN U25 IOSTANDARD LVCMOS18 } [get_ports {u25}]; # IO_B12_L2_U25_N
# set_property -dict {PACKAGE_PIN AC24 IOSTANDARD LVCMOS18 } [get_ports {IO0_CLK1_N}];
# set_property -dict {PACKAGE_PIN AC23 IOSTANDARD LVCMOS18 } [get_ports {IO0_CLK0_P}];
## }}}
## KX2 IO Bank #1
## {{{
# set_property -dict {PACKAGE_PIN P23 IOSTANDARD LVCMOS18 } [get_ports {IO1_D0_P}];
# set_property -dict {PACKAGE_PIN N23 IOSTANDARD LVCMOS18 } [get_ports {IO1_D1_N}];
# set_property -dict {PACKAGE_PIN T18 IOSTANDARD LVCMOS18 } [get_ports {IO1_D2_P}];
# set_property -dict {PACKAGE_PIN T19 IOSTANDARD LVCMOS18 } [get_ports {IO1_D3_N}];
# set_property -dict {PACKAGE_PIN N19 IOSTANDARD LVCMOS18 } [get_ports {IO1_D4_P}];
# set_property -dict {PACKAGE_PIN M20 IOSTANDARD LVCMOS18 } [get_ports {IO1_D5_N}];
# set_property -dict {PACKAGE_PIN T24 IOSTANDARD LVCMOS18 } [get_ports {IO1_D6_P}];
# set_property -dict {PACKAGE_PIN T25 IOSTANDARD LVCMOS18 } [get_ports {IO1_D7_N}];
# set_property -dict {PACKAGE_PIN R16 IOSTANDARD LVCMOS18 } [get_ports {IO1_D8_P}];
# set_property -dict {PACKAGE_PIN R17 IOSTANDARD LVCMOS18 } [get_ports {IO1_D9_N}];
# set_property -dict {PACKAGE_PIN N18 IOSTANDARD LVCMOS18 } [get_ports {IO1_D10_P}];
# set_property -dict {PACKAGE_PIN M19 IOSTANDARD LVCMOS18 } [get_ports {IO1_D11_N}];
# set_property -dict {PACKAGE_PIN T22 IOSTANDARD LVCMOS18 } [get_ports {IO1_D12_P}];
# set_property -dict {PACKAGE_PIN T23 IOSTANDARD LVCMOS18 } [get_ports {IO1_D13_N}];
# set_property -dict {PACKAGE_PIN P19 IOSTANDARD LVCMOS18 } [get_ports {IO1_D14_P}];
# set_property -dict {PACKAGE_PIN P20 IOSTANDARD LVCMOS18 } [get_ports {IO1_D15_N}];
# set_property -dict {PACKAGE_PIN P24 IOSTANDARD LVCMOS18 } [get_ports {IO1_D16_P}];
# set_property -dict {PACKAGE_PIN N24 IOSTANDARD LVCMOS18 } [get_ports {IO1_D17_N}];
# set_property -dict {PACKAGE_PIN R18 IOSTANDARD LVCMOS18 } [get_ports {IO1_D18_P}];
# set_property -dict {PACKAGE_PIN P18 IOSTANDARD LVCMOS18 } [get_ports {IO1_D19_N}];
# set_property -dict {PACKAGE_PIN U17 IOSTANDARD LVCMOS18 } [get_ports {IO1_D20_P}];
# set_property -dict {PACKAGE_PIN T17 IOSTANDARD LVCMOS18 } [get_ports {IO1_D21_N}];
# set_property -dict {PACKAGE_PIN P16 IOSTANDARD LVCMOS18 } [get_ports {IO1_D22_P}];
# set_property -dict {PACKAGE_PIN N17 IOSTANDARD LVCMOS18 } [get_ports {IO1_D23_N}];
# set_property -dict {PACKAGE_PIN R23 IOSTANDARD LVCMOS18 } [get_ports {IO1_CLK1_N}];
# set_property -dict {PACKAGE_PIN R22 IOSTANDARD LVCMOS18 } [get_ports {IO1_CLK0_P}];
## }}}
## FMC (IO Bank #2?)
## {{{
# set_property -dict {PACKAGE_PIN G4 IOSTANDARD LVCMOS18 } [get_ports {i_sata_p}]; ## IO Bank MGT
# set_property -dict {PACKAGE_PIN G3 IOSTANDARD LVCMOS18 } [get_ports {i_sata_n}]; ## IO Bank MGT
# set_property -dict {PACKAGE_PIN F2 IOSTANDARD LVCMOS18 } [get_ports {o_sata_p}]; ## IO Bank MGT
# set_property -dict {PACKAGE_PIN F1 IOSTANDARD LVCMOS18 } [get_ports {o_sata_n}]; ## IO Bank MGT
# set_property -dict {PACKAGE_PIN D19 IOSTANDARD LVCMOS18 } [get_ports {o_disable_ssdb}]; ## IO Bank B15
# set_property -dict {PACKAGE_PIN K6 IOSTANDARD LVCMOS18 } [get_ports {i_fmc_refclk_p}]; ## IO Bank MGT
# set_property -dict {PACKAGE_PIN K5 IOSTANDARD LVCMOS18 } [get_ports {i_fmc_refclk_n}]; ## IO Bank MGT
# set_property -dict {PACKAGE_PIN H8 IOSTANDARD LVCMOS18 } [get_ports {FMC_HA02_N}];
# set_property -dict {PACKAGE_PIN H9 IOSTANDARD LVCMOS18 } [get_ports {FMC_HA02_P}];
# set_property -dict {PACKAGE_PIN D16 IOSTANDARD LVCMOS18 } [get_ports {FMC_HA03_N}];
# set_property -dict {PACKAGE_PIN D15 IOSTANDARD LVCMOS18 } [get_ports {FMC_HA03_P}];
# set_property -dict {PACKAGE_PIN F8 IOSTANDARD LVCMOS18 } [get_ports {FMC_HA04_N}];
# set_property -dict {PACKAGE_PIN F9 IOSTANDARD LVCMOS18 } [get_ports {FMC_HA04_P}];
# set_property -dict {PACKAGE_PIN G16 IOSTANDARD LVCMOS18 } [get_ports {FMC_HA05_N}];
# set_property -dict {PACKAGE_PIN H16 IOSTANDARD LVCMOS18 } [get_ports {FMC_HA05_P}];
# set_property -dict {PACKAGE_PIN E16 IOSTANDARD LVCMOS18 } [get_ports {FMC_HA06_N}];
# set_property -dict {PACKAGE_PIN E15 IOSTANDARD LVCMOS18 } [get_ports {FMC_HA06_P}];
# set_property -dict {PACKAGE_PIN D8 IOSTANDARD LVCMOS18 } [get_ports {FMC_HA07_N}];
# set_property -dict {PACKAGE_PIN D9 IOSTANDARD LVCMOS18 } [get_ports {FMC_HA07_P}];
# set_property -dict {PACKAGE_PIN J16 IOSTANDARD LVCMOS18 } [get_ports {FMC_HA08_N}];
# set_property -dict {PACKAGE_PIN J15 IOSTANDARD LVCMOS18 } [get_ports {FMC_HA08_P}];
# set_property -dict {PACKAGE_PIN B9 IOSTANDARD LVCMOS18 } [get_ports {FMC_HA09_N}];
# set_property -dict {PACKAGE_PIN C9 IOSTANDARD LVCMOS18 } [get_ports {FMC_HA09_P}];
# set_property -dict {PACKAGE_PIN F15 IOSTANDARD LVCMOS18 } [get_ports {FMC_HA10_N}];
# set_property -dict {PACKAGE_PIN G15 IOSTANDARD LVCMOS18 } [get_ports {FMC_HA10_P}];
# set_property -dict {PACKAGE_PIN A8 IOSTANDARD LVCMOS18 } [get_ports {FMC_HA11_N}];
# set_property -dict {PACKAGE_PIN A9 IOSTANDARD LVCMOS18 } [get_ports {FMC_HA11_P}];
# set_property -dict {PACKAGE_PIN M16 IOSTANDARD LVCMOS18 } [get_ports {FMC_HA12_N}];
# set_property -dict {PACKAGE_PIN K15 IOSTANDARD LVCMOS18 } [get_ports {FMC_HA12_P}];
# set_property -dict {PACKAGE_PIN J14 IOSTANDARD LVCMOS18 } [get_ports {FMC_HA13_N}];
# set_property -dict {PACKAGE_PIN J8 IOSTANDARD LVCMOS18 } [get_ports {FMC_HA13_P}];
# set_property -dict {PACKAGE_PIN C16 IOSTANDARD LVCMOS18 } [get_ports {FMC_LA05_P}];
# set_property -dict {PACKAGE_PIN C18 IOSTANDARD LVCMOS18 } [get_ports {FMC_LA06_N}];
# set_property -dict {PACKAGE_PIN C17 IOSTANDARD LVCMOS18 } [get_ports {FMC_LA06_P}];
# set_property -dict {PACKAGE_PIN J20 IOSTANDARD LVCMOS18 } [get_ports {FMC_LA13_N}];
# set_property -dict {PACKAGE_PIN L20 IOSTANDARD LVCMOS18 } [get_ports {FMC_LA14_N}];
# set_property -dict {PACKAGE_PIN L19 IOSTANDARD LVCMOS18 } [get_ports {FMC_LA14_P}];
# set_property -dict {PACKAGE_PIN F20 IOSTANDARD LVCMOS18 } [get_ports {FMC_LA15_N}];
# set_property -dict {PACKAGE_PIN G19 IOSTANDARD LVCMOS18 } [get_ports {FMC_LA15_P}];
# set_property -dict {PACKAGE_PIN E20 IOSTANDARD LVCMOS18 } [get_ports {FMC_LA16_N}];
# set_property -dict {PACKAGE_PIN F19 IOSTANDARD LVCMOS18 } [get_ports {FMC_LA16_P}];
# set_property -dict {PACKAGE_PIN H12 IOSTANDARD LVCMOS18 } [get_ports {FMC_LA26_P}];
# set_property -dict {PACKAGE_PIN H11 IOSTANDARD LVCMOS18 } [get_ports {FMC_LA27_N}];
# set_property -dict {PACKAGE_PIN E17 IOSTANDARD LVCMOS18 } [get_ports {FMC_HA00_CC_N}];
# set_property -dict {PACKAGE_PIN F17 IOSTANDARD LVCMOS18 } [get_ports {FMC_HA00_CC_P}];
# set_property -dict {PACKAGE_PIN D10 IOSTANDARD LVCMOS18 } [get_ports {FMC_HA01_CC_N}];
# set_property -dict {PACKAGE_PIN E10 IOSTANDARD LVCMOS18 } [get_ports {FMC_HA01_CC_P}];
# set_property -dict {PACKAGE_PIN U20 IOSTANDARD LVCMOS18 } [get_ports {FMC_HA17_N}];
# set_property -dict {PACKAGE_PIN U19 IOSTANDARD LVCMOS18 } [get_ports {FMC_HA17_P}];
# set_property -dict {PACKAGE_PIN F18 IOSTANDARD LVCMOS18 } [get_ports {FMC_LA01_CC_N}];
# set_property -dict {PACKAGE_PIN H18 IOSTANDARD LVCMOS18 } [get_ports {FMC_CLK0_M2C_N}];
# set_property -dict {PACKAGE_PIN H17 IOSTANDARD LVCMOS18 } [get_ports {FMC_CLK0_M2C_P}];
# set_property -dict {PACKAGE_PIN M16 IOSTANDARD LVCMOS18 } [get_ports {o_zero[0]}];
# set_property -dict {PACKAGE_PIN J8 IOSTANDARD LVCMOS18 } [get_ports {o_zero[1]}];
## }}}
## KX2 IO Bank #3
## {{{
# set_property -dict {PACKAGE_PIN Y23 IOSTANDARD LVCMOS18 } [get_ports {IO3_D0_P}];
# set_property -dict {PACKAGE_PIN AA24 IOSTANDARD LVCMOS18 } [get_ports {IO3_D1_N}];
# set_property -dict {PACKAGE_PIN AB26 IOSTANDARD LVCMOS18 } [get_ports {IO3_D2_P}];
# set_property -dict {PACKAGE_PIN AC26 IOSTANDARD LVCMOS18 } [get_ports {IO3_D3_N}];
# set_property -dict {PACKAGE_PIN AA25 IOSTANDARD LVCMOS18 } [get_ports {IO3_D4_P}];
# set_property -dict {PACKAGE_PIN AB25 IOSTANDARD LVCMOS18 } [get_ports {IO3_D5_N}];
# set_property -dict {PACKAGE_PIN U21 IOSTANDARD LVCMOS18 } [get_ports {IO3_D6_P}];
# set_property -dict {PACKAGE_PIN Y20 IOSTANDARD LVCMOS18 } [get_ports {IO3_D7_N}];
## }}}
## KX2 IO Bank #4
## {{{
# set_property -dict {PACKAGE_PIN Y25 IOSTANDARD LVCMOS18 } [get_ports {IO4_D0_P}];
# set_property -dict {PACKAGE_PIN Y26 IOSTANDARD LVCMOS18 } [get_ports {IO4_D1_N}];
## }}}
## MIPI
## {{{
# set_property -dict {PACKAGE_PIN P25 IOSTANDARD LVCMOS18 } [get_ports {MIPI0_D0_N}];
# set_property -dict {PACKAGE_PIN R25 IOSTANDARD LVCMOS18 } [get_ports {MIPI0_D0_P}];
# set_property -dict {PACKAGE_PIN L24 IOSTANDARD LVCMOS18 } [get_ports {MIPI0_D1_N}];
# set_property -dict {PACKAGE_PIN M24 IOSTANDARD LVCMOS18 } [get_ports {MIPI0_D1_P}];
# set_property -dict {PACKAGE_PIN P21 IOSTANDARD LVCMOS18 } [get_ports {MIPI0_CLK_N}];
# set_property -dict {PACKAGE_PIN R21 IOSTANDARD LVCMOS18 } [get_ports {MIPI0_CLK_P}];
# set_property -dict {PACKAGE_PIN L25 IOSTANDARD LVCMOS18 } [get_ports {MIPI0_CLK_D0LP_N}];
# set_property -dict {PACKAGE_PIN M25 IOSTANDARD LVCMOS18 } [get_ports {MIPI0_CLK_D0LP_P}];
# set_property -dict {PACKAGE_PIN M26 IOSTANDARD LVCMOS18 } [get_ports {MIPI1_D0_N}];
# set_property -dict {PACKAGE_PIN N26 IOSTANDARD LVCMOS18 } [get_ports {MIPI1_D0_P}];
# set_property -dict {PACKAGE_PIN M22 IOSTANDARD LVCMOS18 } [get_ports {MIPI1_D1_N}];
# set_property -dict {PACKAGE_PIN M21 IOSTANDARD LVCMOS18 } [get_ports {MIPI1_D1_P}];
# set_property -dict {PACKAGE_PIN N22 IOSTANDARD LVCMOS18 } [get_ports {MIPI1_CLK_N}];
# set_property -dict {PACKAGE_PIN N21 IOSTANDARD LVCMOS18 } [get_ports {MIPI1_CLK_P}];
# set_property -dict {PACKAGE_PIN P26 IOSTANDARD LVCMOS18 } [get_ports {MIPI1_CLK_D0LP_N}];
# set_property -dict {PACKAGE_PIN R26 IOSTANDARD LVCMOS18 } [get_ports {MIPI1_CLK_D0LP_P}];
## }}}
## DDR3 MEMORY
## {{{
## Controls wires
## {{{
# set_property -dict {PACKAGE_PIN AB7 IOSTANDARD LVCMOS15 SLEW FAST VCCAUX_IO HIGH } [get_ports {o_ddr3_reset_n}];
# set_property -dict {PACKAGE_PIN AB12 IOSTANDARD DIFF_SSTL15 SLEW FAST VCCAUX_IO HIGH} [get_ports {o_ddr3_clk_p}];
# set_property -dict {PACKAGE_PIN AC12 IOSTANDARD DIFF_SSTL15 SLEW FAST VCCAUX_IO HIGH} [get_ports {o_ddr3_clk_n}];
# set_property -dict {PACKAGE_PIN AA13 IOSTANDARD SSTL15 SLEW FAST VCCAUX_IO HIGH } [get_ports {o_ddr3_cke[0]}]; ## CKE
## # set_property -dict {PACKAGE_PIN AF13 IOSTANDARD SSTL15 SLEW FAST VCCAUX_IO HIGH } [get_ports {o_ddr3_cke[1]}]; ## Unused
## set_property -dict {SLEW SLOW PACKAGE_PIN AA3 IOSTANDARD SSTL15 } [get_ports {o_ddr3_vsel}];
set_property -dict {SLEW SLOW PACKAGE_PIN AA3 IOSTANDARD LVCMOS15 } [get_ports {o_ddr3_vsel}];
# set_property -dict {PACKAGE_PIN Y12 IOSTANDARD SSTL15 SLEW FAST VCCAUX_IO HIGH } [get_ports {o_ddr3_cs_n[0]}];
## # set_property -dict {PACKAGE_PIN Y13 IOSTANDARD SSTL15 SLEW FAST VCCAUX_IO HIGH } [get_ports {o_ddr3_cs_n[1]}]; ## Unused
# set_property -dict {PACKAGE_PIN AE13 IOSTANDARD SSTL15 SLEW FAST VCCAUX_IO HIGH } [get_ports {o_ddr3_ras_n}]
# set_property -dict {PACKAGE_PIN AE12 IOSTANDARD SSTL15 SLEW FAST VCCAUX_IO HIGH } [get_ports {o_ddr3_cas_n}];
# set_property -dict {PACKAGE_PIN AA12 IOSTANDARD SSTL15 SLEW FAST VCCAUX_IO HIGH } [get_ports {o_ddr3_we_n}];
# set_property -dict {PACKAGE_PIN AD13 IOSTANDARD SSTL15 SLEW FAST VCCAUX_IO HIGH } [get_ports {o_ddr3_odt[0]}];
## # set_property -dict {PACKAGE_PIN AC13 IOSTANDARD SSTL15 SLEW FAST VCCAUX_IO HIGH } [get_ports {o_ddr3_odt[1]}]; ## Unused
## }}}
## Address lines
## {{{
# set_property -dict {PACKAGE_PIN AE11 IOSTANDARD SSTL15 SLEW FAST VCCAUX_IO HIGH } [get_ports {o_ddr3_a[0]}];
# set_property -dict {PACKAGE_PIN AF9 IOSTANDARD SSTL15 SLEW FAST VCCAUX_IO HIGH } [get_ports {o_ddr3_a[1]}];
# set_property -dict {PACKAGE_PIN AD10 IOSTANDARD SSTL15 SLEW FAST VCCAUX_IO HIGH } [get_ports {o_ddr3_a[2]}];
# set_property -dict {PACKAGE_PIN AB10 IOSTANDARD SSTL15 SLEW FAST VCCAUX_IO HIGH } [get_ports {o_ddr3_a[3]}];
# set_property -dict {PACKAGE_PIN AA9 IOSTANDARD SSTL15 SLEW FAST VCCAUX_IO HIGH } [get_ports {o_ddr3_a[4]}];
# set_property -dict {PACKAGE_PIN AB9 IOSTANDARD SSTL15 SLEW FAST VCCAUX_IO HIGH } [get_ports {o_ddr3_a[5]}];
# set_property -dict {PACKAGE_PIN AA8 IOSTANDARD SSTL15 SLEW FAST VCCAUX_IO HIGH } [get_ports {o_ddr3_a[6]}];
# set_property -dict {PACKAGE_PIN AC8 IOSTANDARD SSTL15 SLEW FAST VCCAUX_IO HIGH } [get_ports {o_ddr3_a[7]}];
# set_property -dict {PACKAGE_PIN AA7 IOSTANDARD SSTL15 SLEW FAST VCCAUX_IO HIGH } [get_ports {o_ddr3_a[8]}];
# set_property -dict {PACKAGE_PIN AE8 IOSTANDARD SSTL15 SLEW FAST VCCAUX_IO HIGH } [get_ports {o_ddr3_a[9]}];
# set_property -dict {PACKAGE_PIN AF10 IOSTANDARD SSTL15 SLEW FAST VCCAUX_IO HIGH } [get_ports {o_ddr3_a[10]}];
# set_property -dict {PACKAGE_PIN AD8 IOSTANDARD SSTL15 SLEW FAST VCCAUX_IO HIGH } [get_ports {o_ddr3_a[11]}];
# set_property -dict {PACKAGE_PIN AE10 IOSTANDARD SSTL15 SLEW FAST VCCAUX_IO HIGH } [get_ports {o_ddr3_a[12]}];
# set_property -dict {PACKAGE_PIN AF8 IOSTANDARD SSTL15 SLEW FAST VCCAUX_IO HIGH } [get_ports {o_ddr3_a[13]}];
# set_property -dict {PACKAGE_PIN AC7 IOSTANDARD SSTL15 SLEW FAST VCCAUX_IO HIGH } [get_ports {o_ddr3_a[14]}];
# set_property -dict {PACKAGE_PIN AD11 IOSTANDARD SSTL15 SLEW FAST VCCAUX_IO HIGH } [get_ports {o_ddr3_ba[0]}];
# set_property -dict {PACKAGE_PIN AA10 IOSTANDARD SSTL15 SLEW FAST VCCAUX_IO HIGH } [get_ports {o_ddr3_ba[1]}];
# set_property -dict {PACKAGE_PIN AF12 IOSTANDARD SSTL15 SLEW FAST VCCAUX_IO HIGH } [get_ports {o_ddr3_ba[2]}];
## }}}
## Byte lane #0
## {{{
# set_property -dict {PACKAGE_PIN AA2 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[0]}];
# set_property -dict {PACKAGE_PIN Y2 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[1]}];
# set_property -dict {PACKAGE_PIN AB2 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[2]}];
# set_property -dict {PACKAGE_PIN V1 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[3]}];
# set_property -dict {PACKAGE_PIN Y1 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[4]}];
# set_property -dict {PACKAGE_PIN W1 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[5]}];
# set_property -dict {PACKAGE_PIN AC2 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[6]}];
# set_property -dict {PACKAGE_PIN V2 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[7]}];
# set_property -dict {PACKAGE_PIN Y3 IOSTANDARD SSTL15 SLEW FAST VCCAUX_IO HIGH } [get_ports {o_ddr3_dm[0]}];
# set_property -dict {PACKAGE_PIN AB1 IOSTANDARD DIFF_SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dqs_p[0]}];
# set_property -dict {PACKAGE_PIN AC1 IOSTANDARD DIFF_SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dqs_n[0]}];
## }}}
## Byte lane #1
## {{{
# set_property -dict {PACKAGE_PIN W3 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[8]}];
# set_property -dict {PACKAGE_PIN V3 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[9]}];
# set_property -dict {PACKAGE_PIN U1 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[10]}];
# set_property -dict {PACKAGE_PIN U7 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[11]}];
# set_property -dict {PACKAGE_PIN U6 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[12]}];
# set_property -dict {PACKAGE_PIN V4 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[13]}];
# set_property -dict {PACKAGE_PIN V6 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[14]}];
# set_property -dict {PACKAGE_PIN U2 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[15]}];
# set_property -dict {PACKAGE_PIN U5 IOSTANDARD SSTL15 SLEW FAST VCCAUX_IO HIGH } [get_ports {o_ddr3_dm[1]}];
# set_property -dict {PACKAGE_PIN W6 IOSTANDARD DIFF_SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dqs_p[1]}];
# set_property -dict {PACKAGE_PIN W5 IOSTANDARD DIFF_SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dqs_n[1]}];
## }}}
## Byte lane #2
## {{{
# set_property -dict {PACKAGE_PIN AE3 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[16]}];
# set_property -dict {PACKAGE_PIN AE6 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[17]}];
# set_property -dict {PACKAGE_PIN AF3 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[18]}];
# set_property -dict {PACKAGE_PIN AD1 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[19]}];
# set_property -dict {PACKAGE_PIN AE1 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[20]}];
# set_property -dict {PACKAGE_PIN AE2 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[21]}];
# set_property -dict {PACKAGE_PIN AF2 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[22]}];
# set_property -dict {PACKAGE_PIN AE5 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[23]}];
# set_property -dict {PACKAGE_PIN AD4 IOSTANDARD SSTL15 SLEW FAST VCCAUX_IO HIGH } [get_ports {o_ddr3_dm[2]}];
# set_property -dict {PACKAGE_PIN AF5 IOSTANDARD DIFF_SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dqs_p[2]}];
# set_property -dict {PACKAGE_PIN AF4 IOSTANDARD DIFF_SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dqs_n[2]}];
## }}}
## Byte lane #3
## {{{
# set_property -dict {PACKAGE_PIN AD5 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[24]}];
# set_property -dict {PACKAGE_PIN Y5 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[25]}];
# set_property -dict {PACKAGE_PIN AC6 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[26]}];
# set_property -dict {PACKAGE_PIN Y6 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[27]}];
# set_property -dict {PACKAGE_PIN AB4 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[28]}];
# set_property -dict {PACKAGE_PIN AD6 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[29]}];
# set_property -dict {PACKAGE_PIN AB6 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[30]}];
# set_property -dict {PACKAGE_PIN AC3 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[31]}];
# set_property -dict {PACKAGE_PIN AC4 IOSTANDARD SSTL15 SLEW FAST VCCAUX_IO HIGH } [get_ports {o_ddr3_dm[3]}];
# set_property -dict {PACKAGE_PIN AA5 IOSTANDARD DIFF_SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dqs_p[3]}];
# set_property -dict {PACKAGE_PIN AB5 IOSTANDARD DIFF_SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dqs_n[3]}];
## }}}
## Byte lane #4
## {{{
# set_property -dict {PACKAGE_PIN AD16 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[32]}];
# set_property -dict {PACKAGE_PIN AE17 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[33]}];
# set_property -dict {PACKAGE_PIN AF15 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[34]}];
# set_property -dict {PACKAGE_PIN AF20 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[35]}];
# set_property -dict {PACKAGE_PIN AD15 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[36]}];
# set_property -dict {PACKAGE_PIN AF14 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[37]}];
# set_property -dict {PACKAGE_PIN AE15 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[38]}];
# set_property -dict {PACKAGE_PIN AF17 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[39]}];
# set_property -dict {PACKAGE_PIN AF19 IOSTANDARD SSTL15 SLEW FAST VCCAUX_IO HIGH } [get_ports {o_ddr3_dm[4]}];
# set_property -dict {PACKAGE_PIN AE18 IOSTANDARD DIFF_SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dqs_p[4]}];
# set_property -dict {PACKAGE_PIN AF18 IOSTANDARD DIFF_SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dqs_n[4]}];
## }}}
## Byte lane #5
## {{{
# set_property -dict {PACKAGE_PIN AA14 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[40]}];
# set_property -dict {PACKAGE_PIN AA15 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[41]}];
# set_property -dict {PACKAGE_PIN AC14 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[42]}];
# set_property -dict {PACKAGE_PIN AD14 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[43]}];
# set_property -dict {PACKAGE_PIN AB14 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[44]}];
# set_property -dict {PACKAGE_PIN AB15 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[45]}];
# set_property -dict {PACKAGE_PIN AA17 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[46]}];
# set_property -dict {PACKAGE_PIN AA18 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[47]}];
# set_property -dict {PACKAGE_PIN AC16 IOSTANDARD SSTL15 SLEW FAST VCCAUX_IO HIGH } [get_ports {o_ddr3_dm[5]}];
# set_property -dict {PACKAGE_PIN Y15 IOSTANDARD DIFF_SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dqs_p[5]}];
# set_property -dict {PACKAGE_PIN Y16 IOSTANDARD DIFF_SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dqs_n[5]}];
## }}}
## Byte lane #6
## {{{
# set_property -dict {PACKAGE_PIN AB20 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[48]}];
# set_property -dict {PACKAGE_PIN AD19 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[49]}];
# set_property -dict {PACKAGE_PIN AC19 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[50]}];
# set_property -dict {PACKAGE_PIN AA20 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[51]}];
# set_property -dict {PACKAGE_PIN AA19 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[52]}];
# set_property -dict {PACKAGE_PIN AC17 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[53]}];
# set_property -dict {PACKAGE_PIN AD18 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[54]}];
# set_property -dict {PACKAGE_PIN AB17 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[55]}];
# set_property -dict {PACKAGE_PIN AB19 IOSTANDARD SSTL15 SLEW FAST VCCAUX_IO HIGH } [get_ports {o_ddr3_dm[6]}];
# set_property -dict {PACKAGE_PIN AD20 IOSTANDARD DIFF_SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dqs_p[6]}];
# set_property -dict {PACKAGE_PIN AE20 IOSTANDARD DIFF_SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dqs_n[6]}];
## }}}
## Byte lane #7
## {{{
# set_property -dict {PACKAGE_PIN W15 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[56]}];
# set_property -dict {PACKAGE_PIN W16 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[57]}];
# set_property -dict {PACKAGE_PIN W14 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[58]}];
# set_property -dict {PACKAGE_PIN V16 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[59]}];
# set_property -dict {PACKAGE_PIN V19 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[60]}];
# set_property -dict {PACKAGE_PIN V17 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[61]}];
# set_property -dict {PACKAGE_PIN V18 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[62]}];
# set_property -dict {PACKAGE_PIN Y17 IOSTANDARD SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dq[63]}];
# set_property -dict {PACKAGE_PIN V14 IOSTANDARD SSTL15 SLEW FAST VCCAUX_IO HIGH } [get_ports {o_ddr3_dm[7]}];
# set_property -dict {PACKAGE_PIN W18 IOSTANDARD DIFF_SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dqs_p[7]}];
# set_property -dict {PACKAGE_PIN W19 IOSTANDARD DIFF_SSTL15_T_DCI SLEW FAST VCCAUX_IO HIGH} [get_ports {io_ddr3_dqs_n[7]}];
## }}}
## }}}
## Ethernet MDIO
## {{{
## Should these be o_eth_mdclk and io_eth_mdio?
##
# set_property -dict {PACKAGE_PIN B25 IOSTANDARD LVCMOS18 } [get_ports {o_eth_mdclk}]; # FPGA_MDC_PUDC_N
# set_property -dict {PACKAGE_PIN B26 IOSTANDARD LVCMOS18 } [get_ports {io_eth_mdio}]; # FPGA_MDIO_EMCCLK
## }}}
## Ethernet #0
## {{{
# set_property -dict {PACKAGE_PIN H23 IOSTANDARD LVCMOS18 } [get_ports {i_eth0_rxd[0]}]; # ETH0_RX_D[0]
# set_property -dict {PACKAGE_PIN H24 IOSTANDARD LVCMOS18 } [get_ports {i_eth0_rxd[1]}]; # ETH0_RX_D[1]
# set_property -dict {PACKAGE_PIN J21 IOSTANDARD LVCMOS18 } [get_ports {i_eth0_rxd[2]}]; # ETH0_RX_D[2]
# set_property -dict {PACKAGE_PIN H22 IOSTANDARD LVCMOS18 } [get_ports {i_eth0_rxd[3]}]; # ETH0_RX_D[3]
# set_property -dict {PACKAGE_PIN G22 IOSTANDARD LVCMOS18 } [get_ports {i_eth0_rx_clk}]; # ETH0_RX_CLK
# set_property -dict {PACKAGE_PIN F23 IOSTANDARD LVCMOS18 } [get_ports {i_eth0_rx_ctl}]; # ETH0_RX_CTL
# set_property -dict {SLEW FAST PACKAGE_PIN J24 IOSTANDARD LVCMOS18 } [get_ports { o_eth0_txd[0] }]; # ETH0_TX_D[0]
# set_property -dict {SLEW FAST PACKAGE_PIN J25 IOSTANDARD LVCMOS18 } [get_ports { o_eth0_txd[1] }]; # ETH0_TX_D[1]
# set_property -dict {SLEW FAST PACKAGE_PIN L22 IOSTANDARD LVCMOS18 } [get_ports { o_eth0_txd[2] }]; # ETH0_TX_D[2]
# set_property -dict {SLEW FAST PACKAGE_PIN K22 IOSTANDARD LVCMOS18 } [get_ports { o_eth0_txd[3] }]; # ETH0_TX_D[3]
# set_property -dict {SLEW FAST PACKAGE_PIN K23 IOSTANDARD LVCMOS18 } [get_ports { o_eth0_tx_clk }]; # ETH0_TX_CLK
# set_property -dict {SLEW FAST PACKAGE_PIN J23 IOSTANDARD LVCMOS18 } [get_ports { o_eth0_tx_ctl }]; # ETH0_TX_CTL
## }}}
## Ethernet #1
## {{{
# set_property -dict {PACKAGE_PIN G25 IOSTANDARD LVCMOS18 } [get_ports {i_eth1_rxd[0]}];
# set_property -dict {PACKAGE_PIN G26 IOSTANDARD LVCMOS18 } [get_ports {i_eth1_rxd[1]}];
# set_property -dict {PACKAGE_PIN F25 IOSTANDARD LVCMOS18 } [get_ports {i_eth1_rxd[2]}];
# set_property -dict {PACKAGE_PIN E26 IOSTANDARD LVCMOS18 } [get_ports {i_eth1_rxd[3]}];
# set_property -dict {PACKAGE_PIN G24 IOSTANDARD LVCMOS18 } [get_ports {i_eth1_rx_clk}];
# set_property -dict {PACKAGE_PIN F24 IOSTANDARD LVCMOS18 } [get_ports {i_eth1_rx_ctl}];
#
# set_property -dict {SLEW FAST PACKAGE_PIN J26 IOSTANDARD LVCMOS18 } [get_ports {o_eth1_txd[0]}]; # ETH1_TX_D[0]
# set_property -dict {SLEW FAST PACKAGE_PIN H26 IOSTANDARD LVCMOS18 } [get_ports {o_eth1_txd[1]}]; # ETH1_TX_D[1]
# set_property -dict {SLEW FAST PACKAGE_PIN H21 IOSTANDARD LVCMOS18 } [get_ports {o_eth1_txd[2]}]; # ETH1_TX_D[2]
# set_property -dict {SLEW FAST PACKAGE_PIN G21 IOSTANDARD LVCMOS18 } [get_ports {o_eth1_txd[3]}]; # ETH1_TX_D[3]
# set_property -dict {SLEW FAST PACKAGE_PIN E25 IOSTANDARD LVCMOS18 } [get_ports {o_eth1_tx_clk}]; # ETH1_TX_CLK
# set_property -dict {SLEW FAST PACKAGE_PIN D25 IOSTANDARD LVCMOS18 } [get_ports {o_eth1_tx_ctl}]; # ETH1_TX_CTL
## }}}
## Flash
## {{{
# set_property -dict {SLEW SLOW PACKAGE_PIN K21 IOSTANDARD LVCMOS18 } [get_ports {o_qspi_sck}]; # FPGA_CCLK
# set_property -dict {SLEW SLOW PACKAGE_PIN C23 IOSTANDARD LVCMOS18 } [get_ports {o_qspi_cs_n}]; # FLASH_CS_N
# set_property -dict {SLEW SLOW PACKAGE_PIN B24 IOSTANDARD LVCMOS18 } [get_ports {io_qspi_dat[0]}]; # FLASH_DI
# set_property -dict {SLEW SLOW PACKAGE_PIN A25 IOSTANDARD LVCMOS18 } [get_ports {io_qspi_dat[1]}]; # FLASH_DO
# set_property -dict {SLEW SLOW PACKAGE_PIN B22 IOSTANDARD LVCMOS18 } [get_ports {io_qspi_dat[2]}]; # FLASH_WP_N
# set_property -dict {SLEW SLOW PACKAGE_PIN A22 IOSTANDARD LVCMOS18 } [get_ports {io_qspi_dat[3]}]; # FLASH_HOLD_N
## }}}
## FTDI
## {{{
# set_property -dict {PACKAGE_PIN W10 IOSTANDARD SSTL15 } [get_ports {FTDI_D0}];
# set_property -dict {PACKAGE_PIN W9 IOSTANDARD SSTL15 } [get_ports {FTDI_D1}];
# set_property -dict {PACKAGE_PIN Y8 IOSTANDARD SSTL15 } [get_ports {FTDI_D2}];
# set_property -dict {PACKAGE_PIN Y7 IOSTANDARD SSTL15 } [get_ports {FTDI_D3}];
# set_property -dict {PACKAGE_PIN Y11 IOSTANDARD SSTL15 } [get_ports {FTDI_D4}];
# set_property -dict {PACKAGE_PIN Y10 IOSTANDARD SSTL15 } [get_ports {FTDI_D5}];
# set_property -dict {PACKAGE_PIN V9 IOSTANDARD SSTL15 } [get_ports {FTDI_D6}];
# set_property -dict {PACKAGE_PIN W8 IOSTANDARD SSTL15 } [get_ports {FTDI_D7}];
# set_property -dict {PACKAGE_PIN AB16 IOSTANDARD SSTL15 } [get_ports {FTDI_UART_RX}];
# set_property -dict {PACKAGE_PIN W11 IOSTANDARD SSTL15 } [get_ports {FTDI_UART_TX}];
# set_property -dict {PACKAGE_PIN V11 IOSTANDARD SSTL15 } [get_ports {FTDI_OE_N}];
# set_property -dict {PACKAGE_PIN V8 IOSTANDARD SSTL15 } [get_ports {FTDI_RD_N}];
# set_property -dict {PACKAGE_PIN V7 IOSTANDARD SSTL15 } [get_ports {FTDI_WR_N}];
# set_property -dict {PACKAGE_PIN AF7 IOSTANDARD SSTL15 } [get_ports {FTDI_RXF_N}];
# set_property -dict {PACKAGE_PIN AE7 IOSTANDARD SSTL15 } [get_ports {FTDI_TXE_N}];
# set_property -dict {PACKAGE_PIN AC9 IOSTANDARD SSTL15 } [get_ports {FTDI_CLKOUT}];
## }}}
## SDCARD
## {{{
# set_property -dict {PACKAGE_PIN C21 IOSTANDARD LVCMOS18 } [get_ports {o_sdcard_clk}]; # SDIO_CLK
# set_property -dict {PACKAGE_PIN B21 IOSTANDARD LVCMOS18 } [get_ports {io_sdcard_cmd}]; # SDIO_CLK
# set_property -dict {PACKAGE_PIN D26 IOSTANDARD LVCMOS18 } [get_ports {io_sdcard_dat[0]}]; # SDIO_D0
# set_property -dict {PACKAGE_PIN C26 IOSTANDARD LVCMOS18 } [get_ports {io_sdcard_dat[1]}]; # SDIO_D1
# set_property -dict {PACKAGE_PIN A23 IOSTANDARD LVCMOS18 } [get_ports {io_sdcard_dat[2]}]; # SDIO_D2
# set_property -dict {PACKAGE_PIN A24 IOSTANDARD LVCMOS18 } [get_ports {io_sdcard_dat[3]}]; # SDIO_D3
# set_property -dict {PACKAGE_PIN D21 IOSTANDARD LVCMOS18 } [get_ports {i_sdcard_cd_n}]; # SDCARD_CD#
## IO B14 L10 C21 P / A91 / SDIO_CLK
## IO B14 L10 B21 N / A93 / SDIO_CMD
## IO B14 L5 D26 P / A95 / SDIO_D0
## IO B14 L5 C26 N / A97 / SDIO_D1
## IO B14 L4 A23 P / A101 / SDIO_D1
## IO B14 L4 A24 N / A103 / SDIO_D3
## IO B14 L7 D21 P / A98 / SDCARD_CD#
## }}}
set_property BITSTREAM.GENERAL.COMPRESS TRUE [current_design]