1 |
2 |
csantifort |
# ----------------------------------------------------------------
|
2 |
|
|
# //
|
3 |
|
|
# Xilinx FPGA synthesis constraints file //
|
4 |
|
|
# //
|
5 |
|
|
# This file is part of the Amber project //
|
6 |
|
|
# http://www.opencores.org/project,amber //
|
7 |
|
|
# //
|
8 |
|
|
# Description //
|
9 |
|
|
# //
|
10 |
|
|
# Author(s): //
|
11 |
|
|
# - Conor Santifort, csantifort.amber@gmail.com //
|
12 |
|
|
# //
|
13 |
|
|
#/ ///////////////////////////////////////////////////////////////
|
14 |
|
|
# //
|
15 |
|
|
# Copyright (C) 2010 Authors and OPENCORES.ORG //
|
16 |
|
|
# //
|
17 |
|
|
# This source file may be used and distributed without //
|
18 |
|
|
# restriction provided that this copyright statement is not //
|
19 |
|
|
# removed from the file and that any derivative work contains //
|
20 |
|
|
# the original copyright notice and the associated disclaimer. //
|
21 |
|
|
# //
|
22 |
|
|
# This source file is free software; you can redistribute it //
|
23 |
|
|
# and/or modify it under the terms of the GNU Lesser General //
|
24 |
|
|
# Public License as published by the Free Software Foundation; //
|
25 |
|
|
# either version 2.1 of the License, or (at your option) any //
|
26 |
|
|
# later version. //
|
27 |
|
|
# //
|
28 |
|
|
# This source is distributed in the hope that it will be //
|
29 |
|
|
# useful, but WITHOUT ANY WARRANTY; without even the implied //
|
30 |
|
|
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR //
|
31 |
|
|
# PURPOSE. See the GNU Lesser General Public License for more //
|
32 |
|
|
# details. //
|
33 |
|
|
# //
|
34 |
|
|
# You should have received a copy of the GNU Lesser General //
|
35 |
|
|
# Public License along with this source; if not, download it //
|
36 |
|
|
# from http://www.opencores.org/lgpl.shtml //
|
37 |
|
|
# //
|
38 |
|
|
# ----------------------------------------------------------------
|
39 |
|
|
|
40 |
|
|
############################################################################
|
41 |
|
|
# VCC AUX VOLTAGE
|
42 |
|
|
############################################################################
|
43 |
|
|
CONFIG VCCAUX=2.5;
|
44 |
|
|
|
45 |
|
|
############################################################################
|
46 |
|
|
## Clock constraints
|
47 |
|
|
############################################################################
|
48 |
|
|
|
49 |
|
|
# 200MHz board clock that feeds the PLL
|
50 |
|
|
NET "u_clocks_resets/brd_clk_ibufg" TNM_NET = "BRD_CLK";
|
51 |
|
|
TIMESPEC "TS_PLL_CLK" = PERIOD "BRD_CLK" 5.0 ns HIGH 50 %;
|
52 |
|
|
|
53 |
|
|
# 25 MHz Ethernet MII transmit clock
|
54 |
|
|
NET "mtx_clk_pad_i" TNM_NET = "MTX_CLK";
|
55 |
|
|
TIMESPEC "TS_MTX_CLK" = PERIOD "MTX_CLK" 40.0 ns HIGH 50 %;
|
56 |
|
|
|
57 |
|
|
# 25 MHz Ethernet MII receive clock
|
58 |
|
|
NET "mrx_clk_pad_i" TNM_NET = "MRX_CLK";
|
59 |
|
|
TIMESPEC "TS_MRX_CLK" = PERIOD "MRX_CLK" 40.0 ns HIGH 50 %;
|
60 |
|
|
|
61 |
|
|
# False paths between clocks
|
62 |
|
|
PIN "u_mcb_ddr3/memc3_infrastructure_inst/u_pll_adv.CLKOUT3" TNM = "DDR_CLK";
|
63 |
|
|
PIN "u_clocks_resets/u_pll_adv.CLKOUT2" TNM = "SYS_CLK";
|
64 |
|
|
|
65 |
|
|
TIMESPEC "TS_false1" = FROM "DDR_CLK" TO "SYS_CLK" TIG;
|
66 |
|
|
|
67 |
|
|
|
68 |
|
|
############################################################################
|
69 |
|
|
## I/O TERMINATION
|
70 |
|
|
############################################################################
|
71 |
|
|
NET "ddr3_dq[*]" IN_TERM = UNTUNED_SPLIT_50;
|
72 |
|
|
NET "ddr3_dqs_p[*]" IN_TERM = UNTUNED_SPLIT_50;
|
73 |
|
|
NET "ddr3_dqs_n[*]" IN_TERM = UNTUNED_SPLIT_50;
|
74 |
|
|
|
75 |
|
|
############################################################################
|
76 |
|
|
# I/O STANDARDS
|
77 |
|
|
############################################################################
|
78 |
|
|
|
79 |
|
|
NET "ddr3_dq[*]" IOSTANDARD = SSTL15_II;
|
80 |
|
|
NET "ddr3_addr[*]" IOSTANDARD = SSTL15_II;
|
81 |
|
|
NET "ddr3_ba[*]" IOSTANDARD = SSTL15_II;
|
82 |
|
|
NET "ddr3_dqs_p[*]" IOSTANDARD = DIFF_SSTL15_II;
|
83 |
|
|
NET "ddr3_dqs_n[*]" IOSTANDARD = DIFF_SSTL15_II;
|
84 |
|
|
NET "ddr3_ck_p" IOSTANDARD = DIFF_SSTL15_II;
|
85 |
|
|
NET "ddr3_ck_n" IOSTANDARD = DIFF_SSTL15_II;
|
86 |
|
|
NET "ddr3_cke" IOSTANDARD = SSTL15_II;
|
87 |
|
|
NET "ddr3_ras_n" IOSTANDARD = SSTL15_II;
|
88 |
|
|
NET "ddr3_cas_n" IOSTANDARD = SSTL15_II;
|
89 |
|
|
NET "ddr3_we_n" IOSTANDARD = SSTL15_II;
|
90 |
|
|
NET "ddr3_odt" IOSTANDARD = SSTL15_II;
|
91 |
|
|
NET "ddr3_reset_n" IOSTANDARD = SSTL15_II;
|
92 |
|
|
NET "ddr3_dm[*]" IOSTANDARD = SSTL15_II;
|
93 |
|
|
NET "mcb3_rzq" IOSTANDARD = SSTL15_II;
|
94 |
|
|
NET "mcb3_zio" IOSTANDARD = SSTL15_II;
|
95 |
|
|
NET "brd_clk_p" IOSTANDARD = LVDS_25;
|
96 |
|
|
NET "brd_clk_n" IOSTANDARD = LVDS_25;
|
97 |
|
|
NET "brd_rst" IOSTANDARD = LVCMOS15;
|
98 |
|
|
|
99 |
|
|
NET "mtx_clk_pad_i" IOSTANDARD = LVCMOS25;
|
100 |
|
|
NET "mtxd_pad_o[*]" IOSTANDARD = LVCMOS25;
|
101 |
|
|
NET "mtxen_pad_o" IOSTANDARD = LVCMOS25;
|
102 |
|
|
NET "mtxerr_pad_o" IOSTANDARD = LVCMOS25;
|
103 |
|
|
NET "mrx_clk_pad_i" IOSTANDARD = LVCMOS25;
|
104 |
|
|
NET "mrxd_pad_i[*]" IOSTANDARD = LVCMOS25;
|
105 |
|
|
NET "mrxdv_pad_i" IOSTANDARD = LVCMOS25;
|
106 |
|
|
NET "mrxerr_pad_i" IOSTANDARD = LVCMOS25;
|
107 |
|
|
NET "mcoll_pad_i" IOSTANDARD = LVCMOS25;
|
108 |
|
|
NET "mcrs_pad_i" IOSTANDARD = LVCMOS25;
|
109 |
|
|
NET "md_pad_io" IOSTANDARD = LVCMOS25;
|
110 |
|
|
NET "mdc_pad_o" IOSTANDARD = LVCMOS25;
|
111 |
|
|
NET "phy_reset_n" IOSTANDARD = LVCMOS25;
|
112 |
61 |
csantifort |
NET "led[*]" IOSTANDARD = LVCMOS25;
|
113 |
2 |
csantifort |
|
114 |
|
|
|
115 |
|
|
############################################################################
|
116 |
|
|
# Pin Location Constraints
|
117 |
|
|
############################################################################
|
118 |
|
|
NET "brd_rst" LOC = H8;
|
119 |
|
|
NET "brd_clk_n" LOC = K22;
|
120 |
|
|
NET "brd_clk_p" LOC = K21;
|
121 |
|
|
NET "o_uart0_cts" LOC = F18;
|
122 |
|
|
NET "i_uart0_rts" LOC = F19;
|
123 |
|
|
NET "o_uart0_rx" LOC = B21;
|
124 |
|
|
NET "i_uart0_tx" LOC = H17;
|
125 |
61 |
csantifort |
NET "led[0]" LOC = D17;
|
126 |
|
|
NET "led[1]" LOC = AB4;
|
127 |
|
|
NET "led[2]" LOC = D21;
|
128 |
|
|
NET "led[3]" LOC = W15;
|
129 |
2 |
csantifort |
|
130 |
61 |
csantifort |
|
131 |
2 |
csantifort |
############################################################################
|
132 |
|
|
# DDR3 Interface pin locations
|
133 |
|
|
############################################################################
|
134 |
|
|
NET "ddr3_addr[0]" LOC = "K2" ;
|
135 |
|
|
NET "ddr3_addr[10]" LOC = "J4" ;
|
136 |
|
|
NET "ddr3_addr[11]" LOC = "E1" ;
|
137 |
|
|
NET "ddr3_addr[12]" LOC = "F1" ;
|
138 |
|
|
NET "ddr3_addr[1]" LOC = "K1" ;
|
139 |
|
|
NET "ddr3_addr[2]" LOC = "K5" ;
|
140 |
|
|
NET "ddr3_addr[3]" LOC = "M6" ;
|
141 |
|
|
NET "ddr3_addr[4]" LOC = "H3" ;
|
142 |
|
|
NET "ddr3_addr[5]" LOC = "M3" ;
|
143 |
|
|
NET "ddr3_addr[6]" LOC = "L4" ;
|
144 |
|
|
NET "ddr3_addr[7]" LOC = "K6" ;
|
145 |
|
|
NET "ddr3_addr[8]" LOC = "G3" ;
|
146 |
|
|
NET "ddr3_addr[9]" LOC = "G1" ;
|
147 |
|
|
NET "ddr3_ba[0]" LOC = "J3" ;
|
148 |
|
|
NET "ddr3_ba[1]" LOC = "J1" ;
|
149 |
|
|
NET "ddr3_ba[2]" LOC = "H1" ;
|
150 |
|
|
NET "ddr3_cas_n" LOC = "M4" ;
|
151 |
|
|
NET "ddr3_ck_p" LOC = "K4" ;
|
152 |
|
|
NET "ddr3_ck_n" LOC = "K3" ;
|
153 |
|
|
NET "ddr3_cke" LOC = "F2" ;
|
154 |
|
|
NET "ddr3_dm[0]" LOC = "N4" ;
|
155 |
|
|
NET "ddr3_dq[0]" LOC = "R3" ;
|
156 |
|
|
NET "ddr3_dq[10]" LOC = "U3" ;
|
157 |
|
|
NET "ddr3_dq[11]" LOC = "U1" ;
|
158 |
|
|
NET "ddr3_dq[12]" LOC = "W3" ;
|
159 |
|
|
NET "ddr3_dq[13]" LOC = "W1" ;
|
160 |
|
|
NET "ddr3_dq[14]" LOC = "Y2" ;
|
161 |
|
|
NET "ddr3_dq[15]" LOC = "Y1" ;
|
162 |
|
|
NET "ddr3_dq[1]" LOC = "R1" ;
|
163 |
|
|
NET "ddr3_dq[2]" LOC = "P2" ;
|
164 |
|
|
NET "ddr3_dq[3]" LOC = "P1" ;
|
165 |
|
|
NET "ddr3_dq[4]" LOC = "L3" ;
|
166 |
|
|
NET "ddr3_dq[5]" LOC = "L1" ;
|
167 |
|
|
NET "ddr3_dq[6]" LOC = "M2" ;
|
168 |
|
|
NET "ddr3_dq[7]" LOC = "M1" ;
|
169 |
|
|
NET "ddr3_dq[8]" LOC = "T2" ;
|
170 |
|
|
NET "ddr3_dq[9]" LOC = "T1" ;
|
171 |
|
|
NET "ddr3_dqs_p[0]" LOC = "N3" ;
|
172 |
|
|
NET "ddr3_dqs_n[0]" LOC = "N1" ;
|
173 |
|
|
NET "ddr3_odt" LOC = "L6" ;
|
174 |
|
|
NET "ddr3_ras_n" LOC = "M5" ;
|
175 |
|
|
NET "ddr3_reset_n" LOC = "E3" ;
|
176 |
|
|
|
177 |
|
|
NET "ddr3_dm[1]" LOC = "P3" ;
|
178 |
|
|
NET "ddr3_dqs_p[1]" LOC = "V2" ;
|
179 |
|
|
NET "ddr3_dqs_n[1]" LOC = "V1" ;
|
180 |
|
|
NET "ddr3_we_n" LOC = "H2" ;
|
181 |
|
|
|
182 |
|
|
# The following pins are available for used as RZQ or ZIO pins#
|
183 |
|
|
NET "mcb3_rzq" LOC = "K7" ;
|
184 |
|
|
NET "mcb3_zio" LOC = "R7" ;
|
185 |
|
|
|
186 |
|
|
############################################################################
|
187 |
|
|
# Ethernet MII MAC to PHY interface
|
188 |
|
|
############################################################################
|
189 |
|
|
NET "mtx_clk_pad_i" LOC = "L20" ;
|
190 |
|
|
NET "mtxd_pad_o[0]" LOC = "U10" ;
|
191 |
|
|
NET "mtxd_pad_o[1]" LOC = "T10" ;
|
192 |
|
|
NET "mtxd_pad_o[2]" LOC = "AB8" ;
|
193 |
|
|
NET "mtxd_pad_o[3]" LOC = "AA8" ;
|
194 |
|
|
NET "mtxen_pad_o" LOC = "T8" ;
|
195 |
|
|
NET "mtxerr_pad_o" LOC = "U8" ;
|
196 |
|
|
NET "mrx_clk_pad_i" LOC = "P20" ;
|
197 |
|
|
NET "mrxd_pad_i[0]" LOC = "P19" ;
|
198 |
|
|
NET "mrxd_pad_i[1]" LOC = "Y22" ;
|
199 |
|
|
NET "mrxd_pad_i[2]" LOC = "Y21" ;
|
200 |
|
|
NET "mrxd_pad_i[3]" LOC = "W22" ;
|
201 |
|
|
NET "mrxdv_pad_i" LOC = "T22" ;
|
202 |
|
|
NET "mrxerr_pad_i" LOC = "U20" ;
|
203 |
|
|
NET "mcoll_pad_i" LOC = "M16" ;
|
204 |
|
|
NET "mcrs_pad_i" LOC = "N15" ;
|
205 |
|
|
NET "md_pad_io" LOC = "V20" ;
|
206 |
|
|
NET "mdc_pad_o" LOC = "R19" ;
|
207 |
|
|
NET "phy_reset_n" LOC = "J22" ;
|