1 |
19 |
dilbert57 |
#### UCF file created by Project Navigator
|
2 |
|
|
#
|
3 |
|
|
# PIN DEFINITION FOR BURCHED SPARTAN2 B3
|
4 |
|
|
# XC2S200.
|
5 |
|
|
#
|
6 |
|
|
# B3 Connector J3
|
7 |
|
|
# B5-X300 Connector C
|
8 |
|
|
#
|
9 |
|
|
#NET "b5_clk" LOC = "p185"; #pin 2 (Global clock input)
|
10 |
|
|
NET "bus_addr<0>" LOC = "p181"; #pin 3
|
11 |
|
|
NET "bus_addr<1>" LOC = "p187"; #pin 4
|
12 |
|
|
NET "bus_addr<2>" LOC = "p188"; #pin 5
|
13 |
|
|
NET "bus_addr<3>" LOC = "p189"; #pin 6
|
14 |
|
|
NET "bus_addr<4>" LOC = "p191"; #pin 7
|
15 |
|
|
NET "bus_addr<5>" LOC = "p192"; #pin 8
|
16 |
|
|
NET "bus_addr<6>" LOC = "p193"; #pin 9
|
17 |
|
|
NET "bus_addr<7>" LOC = "p194"; #pin 10
|
18 |
|
|
NET "bus_addr<8>" LOC = "p195"; #pin 11
|
19 |
|
|
NET "bus_addr<9>" LOC = "p199"; #pin 12
|
20 |
|
|
NET "bus_addr<10>" LOC = "p200"; #pin 13
|
21 |
|
|
NET "bus_addr<11>" LOC = "p201"; #pin 14
|
22 |
|
|
NET "bus_addr<12>" LOC = "p202"; #pin 15
|
23 |
|
|
NET "bus_addr<13>" LOC = "p203"; #pin 16
|
24 |
|
|
NET "bus_addr<14>" LOC = "p204"; #pin 17
|
25 |
|
|
NET "bus_addr<15>" LOC = "p205"; #pin 18
|
26 |
|
|
NET "bus_csn" LOC = "p206"; #pin 19
|
27 |
|
|
#
|
28 |
|
|
# B3 Connector J4
|
29 |
|
|
# B5-X300 Connector D
|
30 |
|
|
#
|
31 |
|
|
#NET "GCK2" LOC = "p182"; #pin 2 (Global clock input)
|
32 |
|
|
NET "bus_clk" LOC = "p160"; #pin 3
|
33 |
|
|
NET "bus_reset" LOC = "p161"; #pin 4
|
34 |
|
|
#NET "bus_hold" LOC = "p162"; #pin 5
|
35 |
|
|
#NET "bus_irq" LOC = "p163"; #pin 6
|
36 |
|
|
NET "bus_addr<16>" LOC = "p164"; #pin 7
|
37 |
|
|
NET "bus_addr<17>" LOC = "p165"; #pin 8
|
38 |
|
|
NET "bus_addr<18>" LOC = "p166"; #pin 9
|
39 |
|
|
NET "bus_addr<19>" LOC = "p167"; #pin 10
|
40 |
|
|
NET "bus_data<0>" LOC = "p168"; #pin 11
|
41 |
|
|
NET "bus_data<1>" LOC = "p172"; #pin 12
|
42 |
|
|
NET "bus_data<2>" LOC = "p173"; #pin 13
|
43 |
|
|
NET "bus_data<3>" LOC = "p174"; #pin 14
|
44 |
|
|
NET "bus_data<4>" LOC = "p175"; #pin 15
|
45 |
|
|
NET "bus_data<5>" LOC = "p176"; #pin 16
|
46 |
|
|
NET "bus_data<6>" LOC = "p178"; #pin 17
|
47 |
|
|
NET "bus_data<7>" LOC = "p179"; #pin 18
|
48 |
|
|
NET "bus_rw" LOC = "p180"; #pin 19
|
49 |
|
|
#
|
50 |
|
|
# Connector J3
|
51 |
|
|
#
|
52 |
|
|
# For B5-Compact-Flash:
|
53 |
|
|
#
|
54 |
|
|
#NET "GCK3" LOC = "P185"; #J2-2 (Global Clock input)
|
55 |
|
|
#NET "IO" LOC = "P181"; #J2-3
|
56 |
|
|
#NET "IO" LOC = "P187"; #J2-4
|
57 |
|
|
#NET "IO" LOC = "P188"; #J2-5
|
58 |
|
|
#NET "cf_a<2>" LOC = "P189"; #J2-6
|
59 |
|
|
#NET "cf_a<1>" LOC = "P191"; #J2-7
|
60 |
|
|
#NET "cf_a<0>" LOC = "P192"; #J2-8
|
61 |
|
|
#NET "cf_d<0>" LOC = "P193"; #J2-9
|
62 |
|
|
#NET "cf_d<1>" LOC = "P194"; #J2-10
|
63 |
|
|
#NET "cf_d<2>" LOC = "P195"; #J2-11
|
64 |
|
|
#NET "cf_cs16_n" LOC = "P199"; #J2-12
|
65 |
|
|
#NET "cf_d<10>" LOC = "P200"; #J2-13
|
66 |
|
|
#NET "cf_d<9>" LOC = "P201"; #J2-14
|
67 |
|
|
#NET "cf_d<8>" LOC = "P202"; #J2-15
|
68 |
|
|
#NET "cf_pdiag" LOC = "P203"; #J2-16
|
69 |
|
|
#NET "cf_dase" LOC = "P204"; #J2-17
|
70 |
|
|
#NET "cf_iordy" LOC = "P205"; #J2-18
|
71 |
|
|
#NET "cf_rst_n" LOC = "P206"; #J2-19
|
72 |
|
|
#
|
73 |
|
|
# Connector J4
|
74 |
|
|
#
|
75 |
|
|
# For B5-Compact-Flash:
|
76 |
|
|
#
|
77 |
|
|
#NET "GCK2" LOC = "P182"; #J1-2 (Global Clock Input)
|
78 |
|
|
#NET "IO" LOC = "P160"; #J1-3
|
79 |
|
|
#NET "cf_intrq" LOC = "P161"; #J1-4
|
80 |
|
|
#NET "cf_wr_n" LOC = "P162"; #J1-5
|
81 |
|
|
#NET "cf_rd_n" LOC = "P163"; #J1-6
|
82 |
|
|
#NET "cf_cs1_n" LOC = "P164"; #J1-7
|
83 |
|
|
#NET "cf_d<15>" LOC = "P165"; #J1-8
|
84 |
|
|
#NET "cf_d<14>" LOC = "P166"; #J1-9
|
85 |
|
|
#NET "cf_d<13>" LOC = "P167"; #J1-10
|
86 |
|
|
#NET "cf_d<12>" LOC = "P168"; #J1-11
|
87 |
|
|
#NET "cf_d<11>" LOC = "P172"; #J1-12
|
88 |
|
|
#NET "cf_present" LOC = "P173"; #J1-13
|
89 |
|
|
#NET "cf_d<3>" LOC = "P174"; #J1-14
|
90 |
|
|
#NET "cf_d<4>" LOC = "P175"; #J1-15
|
91 |
|
|
#NET "cf_d<5>" LOC = "P176"; #J1-16
|
92 |
|
|
#NET "cf_d<6>" LOC = "P178"; #J1-17
|
93 |
|
|
#NET "cf_d<7>" LOC = "P179"; #J1-18
|
94 |
|
|
#NET "cf_cs0_n" LOC = "P180"; #J1-19
|
95 |
|
|
#
|
96 |
|
|
# Connector J6
|
97 |
|
|
#
|
98 |
|
|
# For modified B3-SRAM
|
99 |
|
|
# Note: B3-SRAM must be fitted to J6/J9
|
100 |
|
|
#
|
101 |
|
|
NET "ram_data<0>" LOC = "p133"; #J2-2 (I/O - not a global clock input)
|
102 |
|
|
NET "ram_data<1>" LOC = "p134"; #J2-3
|
103 |
|
|
NET "ram_data<2>" LOC = "p135"; #J2-4
|
104 |
|
|
NET "ram_data<3>" LOC = "p136"; #J2-5
|
105 |
|
|
NET "ram_data<4>" LOC = "p138"; #J2-6
|
106 |
|
|
NET "ram_data<5>" LOC = "p139"; #J2-7
|
107 |
|
|
NET "ram_data<6>" LOC = "p140"; #J2-8
|
108 |
|
|
NET "ram_data<7>" LOC = "p141"; #J2-9
|
109 |
|
|
NET "ram_data<8>" LOC = "p142"; #J2-10
|
110 |
|
|
NET "ram_data<9>" LOC = "p146"; #J2-11
|
111 |
|
|
NET "ram_data<10>" LOC = "p147"; #J2-12
|
112 |
|
|
NET "ram_data<11>" LOC = "p148"; #J2-13
|
113 |
|
|
NET "ram_data<12>" LOC = "p149"; #J2-14
|
114 |
|
|
NET "ram_data<13>" LOC = "p150"; #J2-15
|
115 |
|
|
NET "ram_data<14>" LOC = "p151"; #J2-16
|
116 |
|
|
NET "ram_data<15>" LOC = "p152"; #J2-17
|
117 |
|
|
NET "ram_wrun" LOC = "p153"; #J2-18
|
118 |
|
|
NET "ram_wrln" LOC = "p154"; #J2-19
|
119 |
|
|
#
|
120 |
|
|
# Connector J9
|
121 |
|
|
#
|
122 |
|
|
# For modified B3-SRAM
|
123 |
|
|
# Note: B3-SRAM must be fitted to J6/J9
|
124 |
|
|
#
|
125 |
|
|
NET "ram_addr<0>" LOC = "p108"; #J1-2 (I/O - not a global clock input)
|
126 |
|
|
NET "ram_addr<1>" LOC = "p109"; #J1-3
|
127 |
|
|
NET "ram_addr<2>" LOC = "p110"; #J1-4
|
128 |
|
|
NET "ram_addr<3>" LOC = "p111"; #J1-5
|
129 |
|
|
NET "ram_addr<4>" LOC = "p112"; #J1-6
|
130 |
|
|
NET "ram_addr<5>" LOC = "p113"; #J1-7
|
131 |
|
|
NET "ram_addr<6>" LOC = "p114"; #J1-8
|
132 |
|
|
NET "ram_addr<7>" LOC = "p115"; #J1-9
|
133 |
|
|
NET "ram_csn" LOC = "p119"; #J1-10
|
134 |
|
|
NET "ram_addr<8>" LOC = "p120"; #J1-11
|
135 |
|
|
NET "ram_addr<9>" LOC = "p121"; #J1-12
|
136 |
|
|
NET "ram_addr<10>" LOC = "p122"; #J1-13
|
137 |
|
|
NET "ram_addr<11>" LOC = "p123"; #J1-14
|
138 |
|
|
NET "ram_addr<12>" LOC = "p125"; #J1-15
|
139 |
|
|
NET "ram_addr<13>" LOC = "p126"; #J1-16
|
140 |
|
|
NET "ram_addr<14>" LOC = "p127"; #J1-17
|
141 |
|
|
NET "ram_addr<15>" LOC = "p129"; #J1-18
|
142 |
|
|
NET "ram_addr<16>" LOC = "p132"; #J1-19
|
143 |
|
|
#
|
144 |
|
|
# Connector J10
|
145 |
|
|
#
|
146 |
|
|
#
|
147 |
|
|
NET "SysClk" LOC = "p77"; #pin 2 (GCK1 - global clock input)
|
148 |
|
|
NET "led" LOC = "p49"; #pin 3 (LED output)
|
149 |
|
|
#NET "uart_csn" LOC = "p57"; #pin 4
|
150 |
|
|
#NET "test_rw" LOC = "p58"; #pin 5
|
151 |
|
|
#NET "test_d0" LOC = "p59"; #pin 6
|
152 |
|
|
#NET "test_d1" LOC = "p60"; #pin 7
|
153 |
|
|
NET "reset_n" LOC = "p61"; #pin 8 (Test Input button)
|
154 |
|
|
#NET "test_cc<0>" LOC = "p67"; #pin 11
|
155 |
|
|
#NET "test_cc<1>" LOC = "p68"; #pin 12
|
156 |
|
|
#NET "test_cc<2>" LOC = "p69"; #pin 13
|
157 |
|
|
#NET "test_cc<3>" LOC = "p70"; #pin 14
|
158 |
|
|
#NET "test_cc<4>" LOC = "p71"; #pin 15
|
159 |
|
|
#NET "test_cc<5>" LOC = "p73"; #pin 16
|
160 |
|
|
#NET "test_cc<6>" LOC = "p74"; #pin 17
|
161 |
|
|
#NET "test_cc<7>" LOC = "p75"; #pin 18
|
162 |
|
|
#NET "IO" LOC = "p81"; #pin 19
|
163 |
|
|
#
|
164 |
|
|
# Connector J11
|
165 |
|
|
#
|
166 |
|
|
#NET "GCK0" LOC = "p80"; #pin 2 (Global Clock input)
|
167 |
|
|
NET "porta<0>" LOC = "p82"; #pin 3
|
168 |
|
|
NET "porta<1>" LOC = "p83"; #pin 4
|
169 |
|
|
NET "porta<2>" LOC = "p84"; #pin 5
|
170 |
|
|
NET "porta<3>" LOC = "p86"; #pin 6
|
171 |
|
|
NET "porta<4>" LOC = "p87"; #pin 7
|
172 |
|
|
NET "porta<5>" LOC = "p88"; #pin 8
|
173 |
|
|
NET "porta<6>" LOC = "p89"; #pin 9
|
174 |
|
|
NET "porta<7>" LOC = "p90"; #pin 10
|
175 |
|
|
NET "portb<0>" LOC = "p94"; #pin 11
|
176 |
|
|
NET "portb<1>" LOC = "p95"; #pin 12
|
177 |
|
|
NET "portb<2>" LOC = "p96"; #pin 13
|
178 |
|
|
NET "portb<3>" LOC = "p97"; #pin 14
|
179 |
|
|
NET "portb<4>" LOC = "p98"; #pin 15
|
180 |
|
|
NET "portb<5>" LOC = "p99"; #pin 16
|
181 |
|
|
NET "portb<6>" LOC = "p100"; #pin 17
|
182 |
|
|
NET "portb<7>" LOC = "p101"; #pin 18
|
183 |
|
|
NET "timer_out" LOC = "p102"; #pin 19
|
184 |
|
|
#
|
185 |
|
|
# Connector J8
|
186 |
|
|
#
|
187 |
|
|
# B3-FPGA-CPU-IO Module
|
188 |
|
|
#
|
189 |
|
|
#NET "aux_clock" LOC = "p24"; #J1-2 (Note this is an I/O pad ... not a clock input)
|
190 |
|
|
#NET "buzzer" LOC = "p27"; #J1-3
|
191 |
|
|
#NET "mouse_clock" LOC = "p29"; #J1-4
|
192 |
|
|
#NET "mouse_data" LOC = "p30"; #J1-5
|
193 |
|
|
NET "cts_n" LOC = "p31"; #J1-6
|
194 |
|
|
NET "rts_n" LOC = "p33"; #J1-7
|
195 |
|
|
NET "txbit" LOC = "p34"; #J1-8
|
196 |
|
|
NET "rxbit" LOC = "p35"; #J1-9
|
197 |
|
|
NET "kb_clock" LOC = "p36"; #J1-10
|
198 |
|
|
NET "kb_data" LOC = "p37"; #J1-11
|
199 |
|
|
NET "v_drive" LOC = "p41"; #J1-12
|
200 |
|
|
NET "h_drive" LOC = "p42"; #J1-13
|
201 |
|
|
NET "blue_lo" LOC = "p43"; #J1-14
|
202 |
|
|
NET "blue_hi" LOC = "p44"; #J1-15
|
203 |
|
|
NET "green_lo" LOC = "p45"; #J1-16
|
204 |
|
|
NET "green_hi" LOC = "p46"; #J1-17
|
205 |
|
|
NET "red_lo" LOC = "p47"; #J1-18
|
206 |
|
|
NET "red_hi" LOC = "p48"; #J1-19
|
207 |
|
|
#
|
208 |
|
|
# Connector J5
|
209 |
|
|
#
|
210 |
|
|
# Printer port
|
211 |
|
|
#
|
212 |
|
|
#NET "strobe_n" LOC = "p3"; #J5-1
|
213 |
|
|
#NET "autofd_n" LOC = "p4"; #J5-2
|
214 |
|
|
#NET "pd<0>" LOC = "p5"; #J5-3
|
215 |
|
|
#NET "fault_n" LOC = "p6"; #J5-4
|
216 |
|
|
#NET "pd<1>" LOC = "p7"; #J5-5
|
217 |
|
|
#NET "init_n" LOC = "p8"; #J5-6
|
218 |
|
|
#NET "pd<2>" LOC = "p9"; #J5-7
|
219 |
|
|
#NET "selin" LOC = "p10"; #J5-8
|
220 |
|
|
#NET "pd<3>" LOC = "p14"; #J5-9
|
221 |
|
|
#NET "pd<4>" LOC = "p15"; #J5-11
|
222 |
|
|
#NET "pd<5>" LOC = "p16"; #J5-13
|
223 |
|
|
#NET "pd<6>" LOC = "p17"; #J5-15
|
224 |
|
|
#NET "pd<7>" LOC = "p18"; #J5-17
|
225 |
|
|
#NET "ack" LOC = "p20"; #J5-19
|
226 |
|
|
#NET "busy" LOC = "p21"; #J5-21
|
227 |
|
|
#NET "pe" LOC = "p22"; #J5-23
|
228 |
|
|
#NET "sel" LOC = "p23"; #J5-25
|
229 |
|
|
#
|
230 |
|
|
# Timing Groups
|
231 |
|
|
#
|
232 |
|
|
INST "ram_addr<0>" TNM = "ram_addr";
|
233 |
|
|
INST "ram_addr<1>" TNM = "ram_addr";
|
234 |
|
|
INST "ram_addr<2>" TNM = "ram_addr";
|
235 |
|
|
INST "ram_addr<3>" TNM = "ram_addr";
|
236 |
|
|
INST "ram_addr<4>" TNM = "ram_addr";
|
237 |
|
|
INST "ram_addr<5>" TNM = "ram_addr";
|
238 |
|
|
INST "ram_addr<6>" TNM = "ram_addr";
|
239 |
|
|
INST "ram_addr<7>" TNM = "ram_addr";
|
240 |
|
|
INST "ram_addr<8>" TNM = "ram_addr";
|
241 |
|
|
INST "ram_addr<9>" TNM = "ram_addr";
|
242 |
|
|
INST "ram_addr<10>" TNM = "ram_addr";
|
243 |
|
|
INST "ram_addr<11>" TNM = "ram_addr";
|
244 |
|
|
INST "ram_addr<12>" TNM = "ram_addr";
|
245 |
|
|
INST "ram_addr<13>" TNM = "ram_addr";
|
246 |
|
|
INST "ram_addr<14>" TNM = "ram_addr";
|
247 |
|
|
INST "ram_addr<15>" TNM = "ram_addr";
|
248 |
|
|
INST "ram_addr<16>" TNM = "ram_addr";
|
249 |
|
|
#
|
250 |
|
|
INST "ram_data<0>" TNM = "ram_data";
|
251 |
|
|
INST "ram_data<1>" TNM = "ram_data";
|
252 |
|
|
INST "ram_data<2>" TNM = "ram_data";
|
253 |
|
|
INST "ram_data<3>" TNM = "ram_data";
|
254 |
|
|
INST "ram_data<4>" TNM = "ram_data";
|
255 |
|
|
INST "ram_data<5>" TNM = "ram_data";
|
256 |
|
|
INST "ram_data<6>" TNM = "ram_data";
|
257 |
|
|
INST "ram_data<7>" TNM = "ram_data";
|
258 |
|
|
INST "ram_data<8>" TNM = "ram_data";
|
259 |
|
|
INST "ram_data<9>" TNM = "ram_data";
|
260 |
|
|
INST "ram_data<10>" TNM = "ram_data";
|
261 |
|
|
INST "ram_data<11>" TNM = "ram_data";
|
262 |
|
|
INST "ram_data<12>" TNM = "ram_data";
|
263 |
|
|
INST "ram_data<13>" TNM = "ram_data";
|
264 |
|
|
INST "ram_data<14>" TNM = "ram_data";
|
265 |
|
|
INST "ram_data<15>" TNM = "ram_data";
|
266 |
|
|
#
|
267 |
|
|
INST "ram_wrln" TNM = "ram_wr";
|
268 |
|
|
INST "ram_wrun" TNM = "ram_wr";
|
269 |
|
|
#INST "ram_csn" TNM = "ram_cs";
|
270 |
|
|
#
|
271 |
|
|
#
|
272 |
|
|
# Timing Constraints
|
273 |
|
|
#
|
274 |
|
|
NET "SysClk" TNM_NET = "SysClk";
|
275 |
|
|
TIMESPEC "TS_SysClk" = PERIOD "SysClk" 20 ns HIGH 50 %;
|
276 |
|
|
#TIMEGRP "ram_cs" OFFSET = OUT 40 ns AFTER "SysClk";
|
277 |
|
|
TIMEGRP "ram_wr" OFFSET = OUT 40 ns AFTER "SysClk";
|
278 |
|
|
TIMEGRP "ram_addr" OFFSET = OUT 40 ns AFTER "SysClk";
|
279 |
|
|
TIMEGRP "ram_data" OFFSET = OUT 40 ns AFTER "SysClk";
|
280 |
|
|
TIMEGRP "ram_data" OFFSET = IN 15 ns BEFORE "SysClk";
|
281 |
|
|
#
|
282 |
|
|
# Fast I/O Pins
|
283 |
|
|
#
|
284 |
|
|
NET "ram_addr<0>" FAST;
|
285 |
|
|
NET "ram_addr<1>" FAST;
|
286 |
|
|
NET "ram_addr<2>" FAST;
|
287 |
|
|
NET "ram_addr<3>" FAST;
|
288 |
|
|
NET "ram_addr<4>" FAST;
|
289 |
|
|
NET "ram_addr<5>" FAST;
|
290 |
|
|
NET "ram_addr<6>" FAST;
|
291 |
|
|
NET "ram_addr<7>" FAST;
|
292 |
|
|
NET "ram_addr<8>" FAST;
|
293 |
|
|
NET "ram_addr<9>" FAST;
|
294 |
|
|
NET "ram_addr<10>" FAST;
|
295 |
|
|
NET "ram_addr<11>" FAST;
|
296 |
|
|
NET "ram_addr<12>" FAST;
|
297 |
|
|
NET "ram_addr<13>" FAST;
|
298 |
|
|
NET "ram_addr<14>" FAST;
|
299 |
|
|
NET "ram_addr<15>" FAST;
|
300 |
|
|
NET "ram_addr<16>" FAST;
|
301 |
|
|
#
|
302 |
|
|
NET "ram_wrln" FAST;
|
303 |
|
|
NET "ram_wrun" FAST;
|
304 |
|
|
NET "ram_csn" FAST;
|
305 |
|
|
#
|
306 |
|
|
NET "ram_data<0>" FAST;
|
307 |
|
|
NET "ram_data<1>" FAST;
|
308 |
|
|
NET "ram_data<2>" FAST;
|
309 |
|
|
NET "ram_data<3>" FAST;
|
310 |
|
|
NET "ram_data<4>" FAST;
|
311 |
|
|
NET "ram_data<5>" FAST;
|
312 |
|
|
NET "ram_data<6>" FAST;
|
313 |
|
|
NET "ram_data<7>" FAST;
|
314 |
|
|
NET "ram_data<8>" FAST;
|
315 |
|
|
NET "ram_data<9>" FAST;
|
316 |
|
|
NET "ram_data<10>" FAST;
|
317 |
|
|
NET "ram_data<11>" FAST;
|
318 |
|
|
NET "ram_data<12>" FAST;
|
319 |
|
|
NET "ram_data<13>" FAST;
|
320 |
|
|
NET "ram_data<14>" FAST;
|
321 |
|
|
NET "ram_data<15>" FAST;
|