dbx.ucf
2.88 KB
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
NET CLK PERIOD = 20ns ;
NET CLK LOC=P91;
# pp: force pin locations;
NET ASTROBE LOC=P62;
NET DSTROBE LOC=P80;
NET WRITE LOC=P81;
NET DATA<0> LOC=P73;
NET DATA<1> LOC=P70;
NET DATA<2> LOC=P69;
NET DATA<3> LOC=P66;
NET DATA<4> LOC=P60;
NET DATA<5> LOC=P57;
NET DATA<6> LOC=P56;
NET DATA<7> LOC=P53;
NET WAIT LOC=P74;
NET IRQ LOC=P47;
#NET USR1 LOC=P46;
#NET USR3 LOC=P45;
# set pullups/pulldowns;
NET ASTROBE PULLUP;
NET DSTROBE PULLUP;
NET WRITE PULLUP;
NET DATA<0> PULLDOWN;
NET DATA<1> PULLDOWN;
NET DATA<2> PULLDOWN;
NET DATA<3> PULLDOWN;
NET DATA<4> PULLDOWN;
NET DATA<5> PULLDOWN;
NET DATA<6> PULLDOWN;
NET DATA<7> PULLDOWN;
NET WAIT PULLDOWN;
NET IRQ PULLUP;
#NET USR1 PULLDOWN;
#NET USR3 PULLDOWN;
# pp: force io registers;
INST r_astrobe IOB=TRUE;
INST r_dstrobe IOB=TRUE;
INST r_write IOB=TRUE;
INST ro_wait IOB=TRUE;
INST re_wait IOB=TRUE;
#INST r_usr1 IOB=TRUE;
#INST r_usr3 IOB=TRUE;
INST ri_data* IOB=TRUE;
INST ro_data* IOB=TRUE;
INST re_data* IOB=TRUE;
# ide: force pin locations;
NET IORST LOC=P7;
#NET IOR LOC=P4;
NET IOW LOC=P5;
NET IOCS0 LOC=P98;
NET IOCS2 LOC=P41;
NET IOAD<0> LOC=P40;
NET IOAD<1> LOC=P34;
NET IOAD<2> LOC=P32;
NET IOAD<3> LOC=P31;
NET IOAD<4> LOC=P30;
NET IOAD<5> LOC=P22;
NET IOAD<6> LOC=P21;
NET IOAD<7> LOC=P20;
NET IOAD<8> LOC=P19;
NET IOAD<9> LOC=P18;
NET IOAD<10> LOC=P17;
NET IOAD<11> LOC=P16;
NET IOAD<12> LOC=P15;
NET IOAD<13> LOC=P13;
NET IOAD<14> LOC=P10;
NET IOAD<15> LOC=P9;
NET SW LOC=P8;
NET IOIRQ LOC=P6;
NET IOALE LOC=P3;
# set pullups/pulldowns;
NET IORST PULLDOWN;
#NET IOR PULLUP;
NET IOW PULLUP;
NET IOCS0 PULLUP;
NET IOCS2 PULLUP;
NET IOAD<0> PULLDOWN;
NET IOAD<1> PULLDOWN;
NET IOAD<2> PULLDOWN;
NET IOAD<3> PULLDOWN;
NET IOAD<4> PULLDOWN;
NET IOAD<5> PULLDOWN;
NET IOAD<6> PULLDOWN;
NET IOAD<7> PULLDOWN;
NET IOAD<8> PULLDOWN;
NET IOAD<9> PULLDOWN;
NET IOAD<10> PULLDOWN;
NET IOAD<11> PULLDOWN;
NET IOAD<12> PULLDOWN;
NET IOAD<13> PULLDOWN;
NET IOAD<14> PULLDOWN;
NET IOAD<15> PULLDOWN;
NET SW PULLDOWN;
NET IOIRQ PULLDOWN;
NET IOALE PULLDOWN;
# ide: force io registers;
INST r_iorst IOB=TRUE;
#INST r_ior IOB=TRUE LOC=XXX;
INST r_iow IOB=TRUE;
INST r_iocs0 IOB=TRUE;
INST r_iocs2 IOB=TRUE;
INST ri_ioad* IOB=TRUE;
INST ro_ioad* IOB=TRUE;
INST re_ioad* IOB=TRUE;
INST ale_addr* IOB=TRUE;
# buttons: force pin locations;
# buttons: force io buffers;
NET BUT_A LOC=P84;
NET BUT_B LOC=P71;
NET BUT_C LOC=P87;
NET BUT_D LOC=P93;
NET BUT_E LOC=P95;
NET BUT_F LOC=P86;
NET BUT_L LOC=P96;
NET BUT_R LOC=P97;
NET BUT_Z LOC=P68;
NET BUT_LEFT LOC=P65;
NET BUT_RIGHT LOC=P72;
NET BUT_UP LOC=P67;
NET BUT_DOWN LOC=P82;
NET BUT_START LOC=P83;
INST r_but* IOB=TRUE;
# set pullups/pulldowns;
NET BUT_A PULLDOWN;
NET BUT_B PULLDOWN;
NET BUT_C PULLDOWN;
NET BUT_D PULLDOWN;
NET BUT_E PULLDOWN;
NET BUT_F PULLDOWN;
NET BUT_L PULLDOWN;
NET BUT_R PULLDOWN;
NET BUT_Z PULLDOWN;
NET BUT_LEFT PULLDOWN;
NET BUT_RIGHT PULLDOWN;
NET BUT_UP PULLDOWN;
NET BUT_DOWN PULLDOWN;
NET BUT_START PULLDOWN;