-
Notifications
You must be signed in to change notification settings - Fork 91
/
Copy pathboard_specific.qsf
211 lines (187 loc) · 8.88 KB
/
board_specific.qsf
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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
# set_global_assignment -name DEVICE EP4CE10F17C8
set_global_assignment -name DEVICE EP4CE6F17C8
set_global_assignment -name RESERVE_ALL_UNUSED_PINS_WEAK_PULLUP "AS INPUT TRI-STATED"
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to *
set_global_assignment -name CYCLONEII_RESERVE_NCEO_AFTER_CONFIGURATION "USE AS REGULAR IO"
set_location_assignment PIN_E1 -to CLK
set_location_assignment PIN_N13 -to RST_N
set_location_assignment PIN_M15 -to KEY2
set_location_assignment PIN_M16 -to KEY3
set_location_assignment PIN_E16 -to KEY4
set_location_assignment PIN_E10 -to LED[3]
set_location_assignment PIN_F9 -to LED[2]
set_location_assignment PIN_C9 -to LED[1]
set_location_assignment PIN_D9 -to LED[0]
set_location_assignment PIN_R16 -to SEG_DATA[0]
set_location_assignment PIN_N15 -to SEG_DATA[1]
set_location_assignment PIN_N12 -to SEG_DATA[2]
set_location_assignment PIN_P15 -to SEG_DATA[3]
set_location_assignment PIN_T15 -to SEG_DATA[4]
set_location_assignment PIN_P16 -to SEG_DATA[5]
set_location_assignment PIN_N16 -to SEG_DATA[6]
set_location_assignment PIN_R14 -to SEG_DATA[7]
set_location_assignment PIN_D1 -to SEG_SEL[0]
set_location_assignment PIN_E6 -to SEG_SEL[1]
set_location_assignment PIN_M11 -to SEG_SEL[2]
set_location_assignment PIN_P11 -to SEG_SEL[3]
set_location_assignment PIN_N11 -to SEG_SEL[4]
set_location_assignment PIN_M10 -to SEG_SEL[5]
set_location_assignment PIN_P9 -to SEG_SEL[6]
set_location_assignment PIN_N9 -to SEG_SEL[7]
set_location_assignment PIN_L6 -to VGA_OUT_HS
set_location_assignment PIN_N3 -to VGA_OUT_VS
set_location_assignment PIN_L4 -to VGA_OUT_R[4]
set_location_assignment PIN_L3 -to VGA_OUT_R[3]
set_location_assignment PIN_L7 -to VGA_OUT_R[2]
set_location_assignment PIN_K5 -to VGA_OUT_R[1]
set_location_assignment PIN_K6 -to VGA_OUT_R[0]
set_location_assignment PIN_J6 -to VGA_OUT_G[5]
set_location_assignment PIN_L8 -to VGA_OUT_G[4]
set_location_assignment PIN_K8 -to VGA_OUT_G[3]
set_location_assignment PIN_F7 -to VGA_OUT_G[2]
set_location_assignment PIN_G5 -to VGA_OUT_G[1]
set_location_assignment PIN_F5 -to VGA_OUT_G[0]
set_location_assignment PIN_F6 -to VGA_OUT_B[4]
set_location_assignment PIN_E5 -to VGA_OUT_B[3]
set_location_assignment PIN_D3 -to VGA_OUT_B[2]
set_location_assignment PIN_D4 -to VGA_OUT_B[1]
set_location_assignment PIN_C3 -to VGA_OUT_B[0]
set_location_assignment PIN_M2 -to UART_RX
set_location_assignment PIN_N1 -to UART_TX
# set_location_assignment PIN_C11 -to BUZZER
set_location_assignment PIN_N2 -to GPIO_0[0]
set_location_assignment PIN_P1 -to GPIO_0[1]
set_location_assignment PIN_P2 -to GPIO_0[2]
set_location_assignment PIN_R1 -to GPIO_0[3]
set_location_assignment PIN_P8 -to GPIO_0[4]
set_location_assignment PIN_K9 -to GPIO_0[5]
set_location_assignment PIN_L9 -to GPIO_0[6]
set_location_assignment PIN_L10 -to GPIO_0[7]
set_location_assignment PIN_M9 -to GPIO_0[8]
set_location_assignment PIN_T2 -to GPIO_0[9]
set_location_assignment PIN_P3 -to GPIO_0[10]
set_location_assignment PIN_T3 -to GPIO_0[11]
set_location_assignment PIN_R3 -to GPIO_0[12]
set_location_assignment PIN_T4 -to GPIO_0[13]
set_location_assignment PIN_R4 -to GPIO_0[14]
set_location_assignment PIN_T5 -to GPIO_0[15]
set_location_assignment PIN_R5 -to GPIO_0[16]
set_location_assignment PIN_T6 -to GPIO_0[17]
set_location_assignment PIN_R6 -to GPIO_0[18]
set_location_assignment PIN_T7 -to GPIO_0[19]
set_location_assignment PIN_R7 -to GPIO_0[20]
set_location_assignment PIN_T8 -to GPIO_0[21]
set_location_assignment PIN_R8 -to GPIO_0[22]
set_location_assignment PIN_T9 -to GPIO_0[23]
set_location_assignment PIN_R9 -to GPIO_0[24]
set_location_assignment PIN_T10 -to GPIO_0[25]
set_location_assignment PIN_R10 -to GPIO_0[26]
set_location_assignment PIN_T11 -to GPIO_0[27]
set_location_assignment PIN_R11 -to GPIO_0[28]
set_location_assignment PIN_T12 -to GPIO_0[29]
set_location_assignment PIN_R12 -to GPIO_0[30]
set_location_assignment PIN_T13 -to GPIO_0[31]
set_location_assignment PIN_R13 -to GPIO_0[32]
set_location_assignment PIN_T14 -to GPIO_0[33]
set_location_assignment PIN_B1 -to GPIO_1[0]
# A potential bug here - there is a J16 mark on Saylinx board instead of C2
set_location_assignment PIN_C2 -to GPIO_1[1]
set_location_assignment PIN_B3 -to GPIO_1[2]
set_location_assignment PIN_A2 -to GPIO_1[3]
set_location_assignment PIN_B4 -to GPIO_1[4]
set_location_assignment PIN_A3 -to GPIO_1[5]
set_location_assignment PIN_B5 -to GPIO_1[6]
set_location_assignment PIN_A4 -to GPIO_1[7]
set_location_assignment PIN_B6 -to GPIO_1[8]
set_location_assignment PIN_A5 -to GPIO_1[9]
set_location_assignment PIN_B7 -to GPIO_1[10]
set_location_assignment PIN_A6 -to GPIO_1[11]
set_location_assignment PIN_B8 -to GPIO_1[12]
set_location_assignment PIN_A7 -to GPIO_1[13]
set_location_assignment PIN_B9 -to GPIO_1[14]
set_location_assignment PIN_A8 -to GPIO_1[15]
set_location_assignment PIN_B10 -to GPIO_1[16]
set_location_assignment PIN_A9 -to GPIO_1[17]
set_location_assignment PIN_B11 -to GPIO_1[18]
set_location_assignment PIN_A10 -to GPIO_1[19]
set_location_assignment PIN_B12 -to GPIO_1[20]
set_location_assignment PIN_A11 -to GPIO_1[21]
set_location_assignment PIN_B13 -to GPIO_1[22]
set_location_assignment PIN_A12 -to GPIO_1[23]
set_location_assignment PIN_D5 -to GPIO_1[24]
set_location_assignment PIN_A13 -to GPIO_1[25]
set_location_assignment PIN_C6 -to GPIO_1[26]
set_location_assignment PIN_D6 -to GPIO_1[27]
set_location_assignment PIN_F8 -to GPIO_1[28]
set_location_assignment PIN_E7 -to GPIO_1[29]
set_location_assignment PIN_D8 -to GPIO_1[30]
set_location_assignment PIN_C8 -to GPIO_1[31]
set_location_assignment PIN_E9 -to GPIO_1[32]
set_location_assignment PIN_E8 -to GPIO_1[33]
# Real time clock
# set_location_assignment PIN_P6 -to RTC_SCLK
# set_location_assignment PIN_M8 -to RTC_DATA
# set_location_assignment PIN_N8 -to RTC_CE
# These I2C pins conflict with SEG_SEL[0] and SEG_SEL[1]
# set_location_assignment PIN_D1 -to I2C_SCL
# set_location_assignment PIN_E6 -to I2C_SDA
# Camera
# set_location_assignment PIN_N6 -to CMOS_RST_N
# set_location_assignment PIN_M7 -to CMOS_PWDN
# set_location_assignment PIN_J2 -to CMOS_DB[7]
# set_location_assignment PIN_J1 -to CMOS_DB[6]
# set_location_assignment PIN_N5 -to CMOS_DB[5]
# set_location_assignment PIN_L1 -to CMOS_DB[4]
# set_location_assignment PIN_M1 -to CMOS_DB[3]
# set_location_assignment PIN_G2 -to CMOS_DB[2]
# set_location_assignment PIN_M6 -to CMOS_DB[1]
# set_location_assignment PIN_L2 -to CMOS_DB[0]
# set_location_assignment PIN_G1 -to CMOS_PCLK
# set_location_assignment PIN_F1 -to CMOS_SCL
# set_location_assignment PIN_F3 -to CMOS_SDA
# set_location_assignment PIN_F2 -to CMOS_VSYNC
# set_location_assignment PIN_K2 -to CMOS_XCLK
# set_location_assignment PIN_K1 -to CMOS_HREF
# set_location_assignment PIN_D12 -to SD_DCLK
# set_location_assignment PIN_E15 -to SD_MISO
# set_location_assignment PIN_F10 -to SD_MOSI
# set_location_assignment PIN_D11 -to SD_NCS
# set_location_assignment PIN_F15 -to SDRAM_ADDR[12]
# set_location_assignment PIN_D16 -to SDRAM_ADDR[11]
# set_location_assignment PIN_F14 -to SDRAM_ADDR[10]
# set_location_assignment PIN_D15 -to SDRAM_ADDR[9]
# set_location_assignment PIN_C16 -to SDRAM_ADDR[8]
# set_location_assignment PIN_C15 -to SDRAM_ADDR[7]
# set_location_assignment PIN_B16 -to SDRAM_ADDR[6]
# set_location_assignment PIN_A15 -to SDRAM_ADDR[5]
# set_location_assignment PIN_A14 -to SDRAM_ADDR[4]
# set_location_assignment PIN_C14 -to SDRAM_ADDR[3]
# set_location_assignment PIN_D14 -to SDRAM_ADDR[2]
# set_location_assignment PIN_E11 -to SDRAM_ADDR[1]
# set_location_assignment PIN_F11 -to SDRAM_ADDR[0]
# set_location_assignment PIN_F13 -to SDRAM_BA[1]
# set_location_assignment PIN_G11 -to SDRAM_BA[0]
# set_location_assignment PIN_J12 -to SDRAM_CAS_N
# set_location_assignment PIN_F16 -to SDRAM_CKE
# set_location_assignment PIN_B14 -to SDRAM_CLK
# set_location_assignment PIN_K10 -to SDRAM_CS_N
# set_location_assignment PIN_L15 -to SDRAM_DQ[15]
# set_location_assignment PIN_L16 -to SDRAM_DQ[14]
# set_location_assignment PIN_K15 -to SDRAM_DQ[13]
# set_location_assignment PIN_K16 -to SDRAM_DQ[12]
# set_location_assignment PIN_J15 -to SDRAM_DQ[11]
# set_location_assignment PIN_J16 -to SDRAM_DQ[10]
# set_location_assignment PIN_J11 -to SDRAM_DQ[9]
# set_location_assignment PIN_G16 -to SDRAM_DQ[8]
# set_location_assignment PIN_K12 -to SDRAM_DQ[7]
# set_location_assignment PIN_L11 -to SDRAM_DQ[6]
# set_location_assignment PIN_L14 -to SDRAM_DQ[5]
# set_location_assignment PIN_L13 -to SDRAM_DQ[4]
# set_location_assignment PIN_L12 -to SDRAM_DQ[3]
# set_location_assignment PIN_N14 -to SDRAM_DQ[2]
# set_location_assignment PIN_M12 -to SDRAM_DQ[1]
# set_location_assignment PIN_P14 -to SDRAM_DQ[0]
# set_location_assignment PIN_G15 -to SDRAM_DQM[1]
# set_location_assignment PIN_J14 -to SDRAM_DQM[0]
# set_location_assignment PIN_K11 -to SDRAM_RAS_N
# set_location_assignment PIN_J13 -to SDRAM_WE_N