1 |
105 |
davidgb |
#--------------------------------------------------------------------------------
|
2 |
|
|
#-- Copyright (C) 2004 Trenz Electronic GmbH
|
3 |
|
|
#-- www.trenz-electronic.de
|
4 |
|
|
#-- Author: Kolja Sulimma
|
5 |
|
|
#--------------------------------------------------------------------------------
|
6 |
|
|
#-- Project: TE-XC3S Application Note: Pong Demo
|
7 |
|
|
#-- File: toplevel.ucf
|
8 |
|
|
#-- Description: Pin assignments for the Pong Demo
|
9 |
|
|
#-- History: V1.0 2004-10-11 KS created
|
10 |
|
|
#--------------------------------------------------------------------------------
|
11 |
|
|
#-- This program is free software; you can redistribute it and/or
|
12 |
|
|
#-- modify it under the terms of the GNU General Public License
|
13 |
|
|
#-- as published by the Free Software Foundation; either version 2
|
14 |
|
|
#-- of the License, or (at your option) any later version.
|
15 |
|
|
|
16 |
|
|
#-- This program is distributed in the hope that it will be useful,
|
17 |
|
|
#-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
18 |
|
|
#-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
19 |
|
|
#-- GNU General Public License for more details.
|
20 |
|
|
|
21 |
|
|
#-- You should have received a copy of the GNU General Public License
|
22 |
|
|
#-- along with this program; if not, write to the Free Software
|
23 |
|
|
#-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
24 |
|
|
|
25 |
|
|
#Reset
|
26 |
|
|
NET "reset_sw" LOC = "R16" | PULLUP;
|
27 |
|
|
|
28 |
|
|
#led on micromodule
|
29 |
|
|
NET "mm_led" LOC = "N6" ;
|
30 |
|
|
|
31 |
|
|
#mandatory umti signals to get a clock
|
32 |
|
|
NET "utmi_clkout" LOC = "D9" ;
|
33 |
|
|
NET "utmi_databus16_8" LOC = "B14" ;
|
34 |
|
|
|
35 |
|
|
#utmi signals only used with USB function
|
36 |
|
|
NET "utmi_opmode1" LOC = "C6" ;
|
37 |
|
|
NET "utmi_reset" LOC = "B4" ;
|
38 |
|
|
NET "utmi_termselect" LOC = "B6" ;
|
39 |
|
|
NET "utmi_txvalid" LOC = "B12" ;
|
40 |
|
|
NET "utmi_xcvrselect" LOC = "D6" ;
|
41 |
|
|
|
42 |
|
|
#vga output
|
43 |
|
|
NET "fpga_b<0>" LOC = "M16" | DRIVE = 24 ;
|
44 |
|
|
NET "fpga_b<1>" LOC = "M15" | DRIVE = 24 ;
|
45 |
|
|
NET "fpga_b<2>" LOC = "M14" | DRIVE = 24 ;
|
46 |
|
|
NET "fpga_g<0>" LOC = "N16" | DRIVE = 24 ;
|
47 |
|
|
NET "fpga_g<1>" LOC = "M13" | DRIVE = 24 ;
|
48 |
|
|
NET "fpga_g<2>" LOC = "L13" | DRIVE = 24 ;
|
49 |
|
|
NET "fpga_r<0>" LOC = "P16" | DRIVE = 24 ;
|
50 |
|
|
NET "fpga_r<1>" LOC = "N14" | DRIVE = 24 ;
|
51 |
|
|
NET "fpga_r<2>" LOC = "N15" | DRIVE = 24 ;
|
52 |
|
|
NET "hsync_b" LOC = "J13" ;
|
53 |
|
|
NET "vsync_b" LOC = "R1" ;
|
54 |
|
|
|
55 |
|
|
#keyboard/mouse interfaces
|
56 |
|
|
NET "ps2_clk1" LOC = "C1" ;
|
57 |
|
|
#NET "ps2_clk2" LOC = "B1" ;
|
58 |
|
|
NET "ps2_data1" LOC = "C2" ;
|
59 |
|
|
#NET "ps2_data2" LOC = "C3" ;
|
60 |
|
|
|
61 |
|
|
#joystick and buttons
|
62 |
|
|
NET "joy_down" LOC = "P15" ;
|
63 |
|
|
NET "joy_fire" LOC = "T14" ;
|
64 |
|
|
NET "joy_left" LOC = "K13" ;
|
65 |
|
|
NET "joy_right" LOC = "R13" ;
|
66 |
|
|
NET "joy_up" LOC = "P14" ;
|
67 |
|
|
|
68 |
|
|
#leds on baseboard
|
69 |
|
|
NET "led<0>" LOC = "T13" ;
|
70 |
|
|
NET "led<1>" LOC = "R12" ;
|
71 |
|
|
NET "led<2>" LOC = "T12" ;
|
72 |
|
|
NET "led<3>" LOC = "R11" ;
|
73 |
|
|
|
74 |
|
|
#audio
|
75 |
|
|
NET "aud_out<1>" LOC = "D10";
|
76 |
|
|
NET "aud_out<2>" LOC = "E10";
|
77 |
|
|
NET "aud_out<3>" LOC = "D11";
|
78 |
|
|
NET "aud_out<4>" LOC = "D12";
|
79 |
|
|
|
80 |
|
|
#lcd
|
81 |
|
|
NET "lcd_d<3>" LOC = "M1";
|
82 |
|
|
NET "lcd_d<2>" LOC = "L4";
|
83 |
|
|
NET "lcd_d<1>" LOC = "L5";
|
84 |
|
|
NET "lcd_d<0>" LOC = "N1";
|
85 |
|
|
NET "lcd_e" LOC = "N2";
|
86 |
|
|
NET "lcd_rw" LOC = "N3";
|
87 |
|
|
NET "lcd_rs" LOC = "P1";
|
88 |
|
|
|
89 |
|
|
#rs232
|
90 |
|
|
NET "fpga_cts" LOC = "K12" ;
|
91 |
|
|
NET "fpga_rts" LOC = "E11" ;
|
92 |
|
|
NET "fpga_rxd" LOC = "L12" ;
|
93 |
|
|
NET "fpga_txd" LOC = "J14" ;
|
94 |
|
|
|
95 |
|
|
#ram, flash
|
96 |
|
|
NET "ram_a<0>" LOC = "D14" ;
|
97 |
|
|
NET "ram_a<1>" LOC = "K15" ;
|
98 |
|
|
NET "ram_a<2>" LOC = "M3" ;
|
99 |
|
|
NET "ram_a<3>" LOC = "L2" ;
|
100 |
|
|
NET "ram_a<4>" LOC = "L3" ;
|
101 |
|
|
NET "ram_a<5>" LOC = "K1" ;
|
102 |
|
|
NET "ram_a<6>" LOC = "K2" ;
|
103 |
|
|
NET "ram_a<7>" LOC = "J2" ;
|
104 |
|
|
NET "ram_a<8>" LOC = "J1" ;
|
105 |
|
|
NET "ram_a<9>" LOC = "G4" ;
|
106 |
|
|
NET "ram_a<10>" LOC = "F2" ;
|
107 |
|
|
NET "ram_a<11>" LOC = "F3" ;
|
108 |
|
|
NET "ram_a<12>" LOC = "E1" ;
|
109 |
|
|
NET "ram_a<13>" LOC = "E2" ;
|
110 |
|
|
NET "ram_a<14>" LOC = "E3" ;
|
111 |
|
|
NET "ram_a<15>" LOC = "D1" ;
|
112 |
|
|
NET "ram_a<16>" LOC = "D2" ;
|
113 |
|
|
NET "ram_a<17>" LOC = "B16" ;
|
114 |
|
|
NET "ram_a<18>" LOC = "H4" ;
|
115 |
|
|
NET "ram_a<19>" LOC = "H3";
|
116 |
|
|
NET "ram_a<20>" LOC = "G3";
|
117 |
|
|
NET "ram_io<0>" LOC = "H15" ;
|
118 |
|
|
NET "ram_io<1>" LOC = "H14" ;
|
119 |
|
|
NET "ram_io<2>" LOC = "G16" ;
|
120 |
|
|
NET "ram_io<3>" LOC = "G14" ;
|
121 |
|
|
NET "ram_io<4>" LOC = "F14" ;
|
122 |
|
|
NET "ram_io<5>" LOC = "E15" ;
|
123 |
|
|
NET "ram_io<6>" LOC = "D16" ;
|
124 |
|
|
NET "ram_io<7>" LOC = "E13" ;
|
125 |
|
|
NET "ram_io<8>" LOC = "H16" ;
|
126 |
|
|
NET "ram_io<9>" LOC = "H13" ;
|
127 |
|
|
NET "ram_io<10>" LOC = "G15" ;
|
128 |
|
|
NET "ram_io<11>" LOC = "F15" ;
|
129 |
|
|
NET "ram_io<12>" LOC = "E16" ;
|
130 |
|
|
NET "ram_io<13>" LOC = "E14" ;
|
131 |
|
|
NET "ram_io<14>" LOC = "D15" ;
|
132 |
|
|
NET "ram_io<15>" LOC = "C16" ;
|
133 |
|
|
NET "ram_bhen" LOC = "L14" ;
|
134 |
|
|
NET "ram_blen" LOC = "L15" ;
|
135 |
|
|
NET "ram_cen" LOC = "M2" ;
|
136 |
|
|
NET "ram_oen" LOC = "K16" ;
|
137 |
|
|
NET "ram_wen" LOC = "G1" ;
|
138 |
|
|
|
139 |
|
|
#flash memory
|
140 |
|
|
NET "fl_resetn" LOC = "G2" ;
|
141 |
|
|
NET "fl_cen" LOC = "K14";
|
142 |
|
|
NET "fl_oen" LOC = "J16";
|
143 |
|
|
NET "fl_byten" LOC = "C15";
|
144 |
|
|
NET "fl_busyn" LOC = "H1" ;
|
145 |
|
|
|
146 |
|
|
#compact flash
|
147 |
|
|
NET "cf_we" LOC = "D8";
|
148 |
|
|
NET "cf_reg" LOC = "G5";
|
149 |
|
|
NET "cf_cs0" LOC = "D7";
|
150 |
|
|
NET "cf_cs1" LOC = "D5";
|
151 |
|
|
NET "cf_reset" LOC = "E6";
|
152 |
|
|
NET "cf_irq" LOC = "E4" | PULLUP;
|
153 |
|
|
NET "cf_iord" LOC = "F4";
|
154 |
|
|
NET "cf_iowr" LOC = "F5";
|
155 |
|
|
NET "cf_wait" LOC = "E7" | PULLUP;
|
156 |
|
|
NET "cf_dasp" LOC = "J4" | PULLUP;
|
157 |
|
|
NET "cf_pdiag" LOC = "J3" | PULLUP;
|
158 |
|
|
NET "cf_cd1" LOC = "K5" | PULLUP;
|
159 |
|
|
NET "cf_cd2" LOC = "K4" | PULLUP;
|
160 |
|
|
NET "iois16" LOC = "K3" | PULLUP;
|
161 |
|
|
NET "cf_oe" LOC = "M4";
|
162 |
|
|
NET "cf_pwr_en" LOC = "P2";
|
163 |
|
|
|
164 |
|
|
#ir_data
|
165 |
|
|
NET "ir_data" LOC = "D3" ;
|
166 |
|
|
|
167 |
|
|
|
168 |
|
|
|
169 |
|
|
#PACE: Start of PACE Area Constraints
|
170 |
|
|
|
171 |
|
|
#PACE: Start of PACE Prohibit Constraints
|
172 |
|
|
|
173 |
|
|
#PACE: End of Constraints generated by PACE
|