-
Notifications
You must be signed in to change notification settings - Fork 2
/
ddr4_0_ex_example_design.xdc
166 lines (155 loc) · 9.19 KB
/
ddr4_0_ex_example_design.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
# Memory Configuration File Settings
set_property CONFIG_MODE SPIx8 [current_design]
set_property BITSTREAM.GENERAL.COMPRESS TRUE [current_design]
set_property BITSTREAM.CONFIG.CONFIGRATE 127.5 [current_design]
set_property BITSTREAM.CONFIG.SPI_32BIT_ADDR YES [current_design]
set_property BITSTREAM.CONFIG.SPI_BUSWIDTH 8 [current_design]
set_property BITSTREAM.CONFIG.SPI_FALL_EDGE YES [current_design]
set_property BITSTREAM.CONFIG.CONFIGFALLBACK DISABLE [current_design]
set_property BITSTREAM.CONFIG.UNUSEDPIN PULLUP [current_design]
set_property BITSTREAM.CONFIG.OVERTEMPSHUTDOWN ENABLE [current_design]
set_property BITSTREAM.CONFIG.EXTMASTERCCLK_EN DISABLE [current_design]
set_property BITSTREAM.GENERAL.CRC ENABLE [current_design]
set_property BITSTREAM.CONFIG.NEXT_CONFIG_REBOOT DISABLE [current_design]
# DDR4
# Reset - PCIe Active-Low Reset - Need to Invert this Signal for use with DDR4
set_property PACKAGE_PIN F2 [get_ports sys_rst]
set_property IOSTANDARD LVCMOS33 [get_ports sys_rst]
set_property PACKAGE_PIN AP24 [get_ports c0_sys_clk_p]
set_property PACKAGE_PIN AP25 [get_ports c0_sys_clk_n]
set_property IOSTANDARD DIFF_SSTL12 [get_ports c0_sys_clk_p]
set_property IOSTANDARD DIFF_SSTL12 [get_ports c0_sys_clk_n]
set_property PACKAGE_PIN AR24 [get_ports c0_ddr4_reset_n]
set_property PACKAGE_PIN AM25 [get_ports c0_ddr4_act_n]
set_property PACKAGE_PIN AN23 [get_ports {c0_ddr4_adr[0]}]
set_property PACKAGE_PIN AM24 [get_ports {c0_ddr4_adr[1]}]
set_property PACKAGE_PIN AK22 [get_ports {c0_ddr4_adr[2]}]
set_property PACKAGE_PIN AU24 [get_ports {c0_ddr4_adr[3]}]
set_property PACKAGE_PIN AR26 [get_ports {c0_ddr4_adr[4]}]
set_property PACKAGE_PIN AM23 [get_ports {c0_ddr4_adr[5]}]
set_property PACKAGE_PIN AP26 [get_ports {c0_ddr4_adr[6]}]
set_property PACKAGE_PIN AT26 [get_ports {c0_ddr4_adr[7]}]
set_property PACKAGE_PIN AN25 [get_ports {c0_ddr4_adr[8]}]
set_property PACKAGE_PIN AP23 [get_ports {c0_ddr4_adr[9]}]
set_property PACKAGE_PIN AW23 [get_ports {c0_ddr4_adr[10]}]
set_property PACKAGE_PIN AJ24 [get_ports {c0_ddr4_adr[11]}]
set_property PACKAGE_PIN AT25 [get_ports {c0_ddr4_adr[12]}]
set_property PACKAGE_PIN AL24 [get_ports {c0_ddr4_adr[13]}]
set_property PACKAGE_PIN AW25 [get_ports {c0_ddr4_adr[14]}]
set_property PACKAGE_PIN AR27 [get_ports {c0_ddr4_adr[15]}]
set_property PACKAGE_PIN AV26 [get_ports {c0_ddr4_adr[16]}]
set_property PACKAGE_PIN AT24 [get_ports {c0_ddr4_ba[0]}]
set_property PACKAGE_PIN AU23 [get_ports {c0_ddr4_ba[1]}]
set_property PACKAGE_PIN AV23 [get_ports {c0_ddr4_bg[0]}]
set_property PACKAGE_PIN AT27 [get_ports {c0_ddr4_bg[1]}]
set_property PACKAGE_PIN AW26 [get_ports {c0_ddr4_cke[0]}]
set_property PACKAGE_PIN AW24 [get_ports {c0_ddr4_cs_n[0]}]
set_property PACKAGE_PIN AL25 [get_ports {c0_ddr4_dm_dbi_n[0]}]
set_property PACKAGE_PIN AH30 [get_ports {c0_ddr4_dm_dbi_n[1]}]
set_property PACKAGE_PIN AM28 [get_ports {c0_ddr4_dm_dbi_n[2]}]
set_property PACKAGE_PIN AR37 [get_ports {c0_ddr4_dm_dbi_n[3]}]
set_property PACKAGE_PIN AR34 [get_ports {c0_ddr4_dm_dbi_n[4]}]
set_property PACKAGE_PIN AV35 [get_ports {c0_ddr4_dm_dbi_n[5]}]
set_property PACKAGE_PIN AU28 [get_ports {c0_ddr4_dm_dbi_n[6]}]
set_property PACKAGE_PIN AM37 [get_ports {c0_ddr4_dm_dbi_n[7]}]
set_property PACKAGE_PIN AK33 [get_ports {c0_ddr4_dm_dbi_n[8]}]
set_property PACKAGE_PIN AJ26 [get_ports {c0_ddr4_dq[0]}]
set_property PACKAGE_PIN AK28 [get_ports {c0_ddr4_dq[1]}]
set_property PACKAGE_PIN AJ28 [get_ports {c0_ddr4_dq[2]}]
set_property PACKAGE_PIN AK27 [get_ports {c0_ddr4_dq[3]}]
set_property PACKAGE_PIN AN27 [get_ports {c0_ddr4_dq[4]}]
set_property PACKAGE_PIN AN26 [get_ports {c0_ddr4_dq[5]}]
set_property PACKAGE_PIN AL27 [get_ports {c0_ddr4_dq[6]}]
set_property PACKAGE_PIN AK26 [get_ports {c0_ddr4_dq[7]}]
set_property PACKAGE_PIN AM33 [get_ports {c0_ddr4_dq[8]}]
set_property PACKAGE_PIN AK32 [get_ports {c0_ddr4_dq[9]}]
set_property PACKAGE_PIN AM32 [get_ports {c0_ddr4_dq[10]}]
set_property PACKAGE_PIN AJ30 [get_ports {c0_ddr4_dq[11]}]
set_property PACKAGE_PIN AH31 [get_ports {c0_ddr4_dq[12]}]
set_property PACKAGE_PIN AJ29 [get_ports {c0_ddr4_dq[13]}]
set_property PACKAGE_PIN AL32 [get_ports {c0_ddr4_dq[14]}]
set_property PACKAGE_PIN AH32 [get_ports {c0_ddr4_dq[15]}]
set_property PACKAGE_PIN AN33 [get_ports {c0_ddr4_dq[16]}]
set_property PACKAGE_PIN AN32 [get_ports {c0_ddr4_dq[17]}]
set_property PACKAGE_PIN AM30 [get_ports {c0_ddr4_dq[18]}]
set_property PACKAGE_PIN AP29 [get_ports {c0_ddr4_dq[19]}]
set_property PACKAGE_PIN AL29 [get_ports {c0_ddr4_dq[20]}]
set_property PACKAGE_PIN AP28 [get_ports {c0_ddr4_dq[21]}]
set_property PACKAGE_PIN AM29 [get_ports {c0_ddr4_dq[22]}]
set_property PACKAGE_PIN AL30 [get_ports {c0_ddr4_dq[23]}]
set_property PACKAGE_PIN AP38 [get_ports {c0_ddr4_dq[24]}]
set_property PACKAGE_PIN AV37 [get_ports {c0_ddr4_dq[25]}]
set_property PACKAGE_PIN AR39 [get_ports {c0_ddr4_dq[26]}]
set_property PACKAGE_PIN AT39 [get_ports {c0_ddr4_dq[27]}]
set_property PACKAGE_PIN AP39 [get_ports {c0_ddr4_dq[28]}]
set_property PACKAGE_PIN AU37 [get_ports {c0_ddr4_dq[29]}]
set_property PACKAGE_PIN AR38 [get_ports {c0_ddr4_dq[30]}]
set_property PACKAGE_PIN AU39 [get_ports {c0_ddr4_dq[31]}]
set_property PACKAGE_PIN AR33 [get_ports {c0_ddr4_dq[32]}]
set_property PACKAGE_PIN AP36 [get_ports {c0_ddr4_dq[33]}]
set_property PACKAGE_PIN AT31 [get_ports {c0_ddr4_dq[34]}]
set_property PACKAGE_PIN AR31 [get_ports {c0_ddr4_dq[35]}]
set_property PACKAGE_PIN AT32 [get_ports {c0_ddr4_dq[36]}]
set_property PACKAGE_PIN AP33 [get_ports {c0_ddr4_dq[37]}]
set_property PACKAGE_PIN AR32 [get_ports {c0_ddr4_dq[38]}]
set_property PACKAGE_PIN AR36 [get_ports {c0_ddr4_dq[39]}]
set_property PACKAGE_PIN AU33 [get_ports {c0_ddr4_dq[40]}]
set_property PACKAGE_PIN AU35 [get_ports {c0_ddr4_dq[41]}]
set_property PACKAGE_PIN AU32 [get_ports {c0_ddr4_dq[42]}]
set_property PACKAGE_PIN AW34 [get_ports {c0_ddr4_dq[43]}]
set_property PACKAGE_PIN AT35 [get_ports {c0_ddr4_dq[44]}]
set_property PACKAGE_PIN AW35 [get_ports {c0_ddr4_dq[45]}]
set_property PACKAGE_PIN AU34 [get_ports {c0_ddr4_dq[46]}]
set_property PACKAGE_PIN AT36 [get_ports {c0_ddr4_dq[47]}]
set_property PACKAGE_PIN AW29 [get_ports {c0_ddr4_dq[48]}]
set_property PACKAGE_PIN AW31 [get_ports {c0_ddr4_dq[49]}]
set_property PACKAGE_PIN AV31 [get_ports {c0_ddr4_dq[50]}]
set_property PACKAGE_PIN AU29 [get_ports {c0_ddr4_dq[51]}]
set_property PACKAGE_PIN AU30 [get_ports {c0_ddr4_dq[52]}]
set_property PACKAGE_PIN AT29 [get_ports {c0_ddr4_dq[53]}]
set_property PACKAGE_PIN AW28 [get_ports {c0_ddr4_dq[54]}]
set_property PACKAGE_PIN AT30 [get_ports {c0_ddr4_dq[55]}]
set_property PACKAGE_PIN AM39 [get_ports {c0_ddr4_dq[56]}]
set_property PACKAGE_PIN AJ39 [get_ports {c0_ddr4_dq[57]}]
set_property PACKAGE_PIN AM38 [get_ports {c0_ddr4_dq[58]}]
set_property PACKAGE_PIN AL39 [get_ports {c0_ddr4_dq[59]}]
set_property PACKAGE_PIN AL36 [get_ports {c0_ddr4_dq[60]}]
set_property PACKAGE_PIN AK39 [get_ports {c0_ddr4_dq[61]}]
set_property PACKAGE_PIN AN38 [get_ports {c0_ddr4_dq[62]}]
set_property PACKAGE_PIN AL37 [get_ports {c0_ddr4_dq[63]}]
set_property PACKAGE_PIN AK35 [get_ports {c0_ddr4_dq[64]}]
set_property PACKAGE_PIN AM34 [get_ports {c0_ddr4_dq[65]}]
set_property PACKAGE_PIN AJ34 [get_ports {c0_ddr4_dq[66]}]
set_property PACKAGE_PIN AJ33 [get_ports {c0_ddr4_dq[67]}]
set_property PACKAGE_PIN AM35 [get_ports {c0_ddr4_dq[68]}]
set_property PACKAGE_PIN AL34 [get_ports {c0_ddr4_dq[69]}]
set_property PACKAGE_PIN AL35 [get_ports {c0_ddr4_dq[70]}]
set_property PACKAGE_PIN AH33 [get_ports {c0_ddr4_dq[71]}]
set_property PACKAGE_PIN AV27 [get_ports {c0_ddr4_odt[0]}]
set_property PACKAGE_PIN AN35 [get_ports {c0_ddr4_dqs_t[8]}]
set_property PACKAGE_PIN AN36 [get_ports {c0_ddr4_dqs_c[8]}]
set_property PACKAGE_PIN AK37 [get_ports {c0_ddr4_dqs_t[7]}]
set_property PACKAGE_PIN AK38 [get_ports {c0_ddr4_dqs_c[7]}]
set_property PACKAGE_PIN AH26 [get_ports {c0_ddr4_dqs_t[0]}]
set_property PACKAGE_PIN AH27 [get_ports {c0_ddr4_dqs_c[0]}]
set_property PACKAGE_PIN AU38 [get_ports {c0_ddr4_dqs_t[3]}]
set_property PACKAGE_PIN AV38 [get_ports {c0_ddr4_dqs_c[3]}]
set_property PACKAGE_PIN AP34 [get_ports {c0_ddr4_dqs_t[4]}]
set_property PACKAGE_PIN AP35 [get_ports {c0_ddr4_dqs_c[4]}]
set_property PACKAGE_PIN AN30 [get_ports {c0_ddr4_dqs_t[2]}]
set_property PACKAGE_PIN AN31 [get_ports {c0_ddr4_dqs_c[2]}]
set_property PACKAGE_PIN AV30 [get_ports {c0_ddr4_dqs_t[6]}]
set_property PACKAGE_PIN AW30 [get_ports {c0_ddr4_dqs_c[6]}]
set_property PACKAGE_PIN AK31 [get_ports {c0_ddr4_dqs_t[1]}]
set_property PACKAGE_PIN AL31 [get_ports {c0_ddr4_dqs_c[1]}]
set_property PACKAGE_PIN AV32 [get_ports {c0_ddr4_dqs_t[5]}]
set_property PACKAGE_PIN AV33 [get_ports {c0_ddr4_dqs_c[5]}]
set_property PACKAGE_PIN AU25 [get_ports {c0_ddr4_ck_t[0]}]
set_property PACKAGE_PIN AV25 [get_ports {c0_ddr4_ck_c[0]}]
# LEDs - A6=D19, B6=D18
set_property PACKAGE_PIN A6 [get_ports "c0_data_compare_error" ]
set_property IOSTANDARD LVCMOS33 [get_ports "c0_data_compare_error" ]
set_property OFFCHIP_TERM NONE [get_ports "c0_data_compare_error" ]
set_property PACKAGE_PIN B6 [get_ports "c0_init_calib_complete" ]
set_property IOSTANDARD LVCMOS33 [get_ports "c0_init_calib_complete" ]
set_property OFFCHIP_TERM NONE [get_ports "c0_init_calib_complete" ]