-
Notifications
You must be signed in to change notification settings - Fork 0
/
ACC_main.bsf
executable file
·345 lines (345 loc) · 10.4 KB
/
ACC_main.bsf
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
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
/*
WARNING: Do NOT edit the input and output ports in this file in a text
editor if you plan to continue editing the block that represents it in
the Block Editor! File corruption is VERY likely to occur.
*/
/*
Copyright (C) 1991-2015 Altera Corporation. All rights reserved.
Your use of Altera Corporation's design tools, logic functions
and other software and tools, and its AMPP partner logic
functions, and any output files from any of the foregoing
(including device programming or simulation files), and any
associated documentation or information are expressly subject
to the terms and conditions of the Altera Program License
Subscription Agreement, the Altera Quartus Prime License Agreement,
the Altera MegaCore Function License Agreement, or other
applicable license agreement, including, without limitation,
that your use is for the sole purpose of programming logic
devices manufactured by Altera and sold by Altera or its
authorized distributors. Please refer to the applicable
agreement for further details.
*/
(header "symbol" (version "1.1"))
(symbol
(rect 16 16 328 480)
(text "ACC_main" (rect 5 0 52 12)(font "Arial" ))
(text "inst" (rect 8 448 20 460)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "xclk_in_0" (rect 0 0 37 12)(font "Arial" ))
(text "xclk_in_0" (rect 21 27 58 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "xclk_in_1" (rect 0 0 36 12)(font "Arial" ))
(text "xclk_in_1" (rect 21 43 57 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "xclk_in_2" (rect 0 0 37 12)(font "Arial" ))
(text "xclk_in_2" (rect 21 59 58 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "xclk_in_3" (rect 0 0 37 12)(font "Arial" ))
(text "xclk_in_3" (rect 21 75 58 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 0 96)
(input)
(text "xDCin_0[3..0]" (rect 0 0 55 12)(font "Arial" ))
(text "xDCin_0[3..0]" (rect 21 91 76 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 3))
)
(port
(pt 0 112)
(input)
(text "xDCin_1[3..0]" (rect 0 0 54 12)(font "Arial" ))
(text "xDCin_1[3..0]" (rect 21 107 75 119)(font "Arial" ))
(line (pt 0 112)(pt 16 112)(line_width 3))
)
(port
(pt 0 128)
(input)
(text "xDCin_2[3..0]" (rect 0 0 55 12)(font "Arial" ))
(text "xDCin_2[3..0]" (rect 21 123 76 135)(font "Arial" ))
(line (pt 0 128)(pt 16 128)(line_width 3))
)
(port
(pt 0 144)
(input)
(text "xDCin_3[3..0]" (rect 0 0 55 12)(font "Arial" ))
(text "xDCin_3[3..0]" (rect 21 139 76 151)(font "Arial" ))
(line (pt 0 144)(pt 16 144)(line_width 3))
)
(port
(pt 0 160)
(input)
(text "xDCin_4[3..0]" (rect 0 0 56 12)(font "Arial" ))
(text "xDCin_4[3..0]" (rect 21 155 77 167)(font "Arial" ))
(line (pt 0 160)(pt 16 160)(line_width 3))
)
(port
(pt 0 176)
(input)
(text "xDCin_5[3..0]" (rect 0 0 55 12)(font "Arial" ))
(text "xDCin_5[3..0]" (rect 21 171 76 183)(font "Arial" ))
(line (pt 0 176)(pt 16 176)(line_width 3))
)
(port
(pt 0 192)
(input)
(text "xDCin_6[3..0]" (rect 0 0 55 12)(font "Arial" ))
(text "xDCin_6[3..0]" (rect 21 187 76 199)(font "Arial" ))
(line (pt 0 192)(pt 16 192)(line_width 3))
)
(port
(pt 0 208)
(input)
(text "xDCin_7[3..0]" (rect 0 0 55 12)(font "Arial" ))
(text "xDCin_7[3..0]" (rect 21 203 76 215)(font "Arial" ))
(line (pt 0 208)(pt 16 208)(line_width 3))
)
(port
(pt 0 224)
(input)
(text "xInstruction[31..0]" (rect 0 0 68 12)(font "Arial" ))
(text "xInstruction[31..0]" (rect 21 219 89 231)(font "Arial" ))
(line (pt 0 224)(pt 16 224)(line_width 3))
)
(port
(pt 0 240)
(input)
(text "xInstruct_Rdy" (rect 0 0 59 12)(font "Arial" ))
(text "xInstruct_Rdy" (rect 21 235 80 247)(font "Arial" ))
(line (pt 0 240)(pt 16 240)(line_width 1))
)
(port
(pt 0 256)
(input)
(text "xtrig[7..0]" (rect 0 0 36 12)(font "Arial" ))
(text "xtrig[7..0]" (rect 21 251 57 263)(font "Arial" ))
(line (pt 0 256)(pt 16 256)(line_width 3))
)
(port
(pt 0 272)
(input)
(text "xfe_mask[7..0]" (rect 0 0 61 12)(font "Arial" ))
(text "xfe_mask[7..0]" (rect 21 267 82 279)(font "Arial" ))
(line (pt 0 272)(pt 16 272)(line_width 3))
)
(port
(pt 0 288)
(input)
(text "xdone[7..0]" (rect 0 0 43 12)(font "Arial" ))
(text "xdone[7..0]" (rect 21 283 64 295)(font "Arial" ))
(line (pt 0 288)(pt 16 288)(line_width 3))
)
(port
(pt 0 304)
(input)
(text "xready" (rect 0 0 28 12)(font "Arial" ))
(text "xready" (rect 21 299 49 311)(font "Arial" ))
(line (pt 0 304)(pt 16 304)(line_width 1))
)
(port
(pt 0 320)
(input)
(text "xalign_strobe[7..0]" (rect 0 0 71 12)(font "Arial" ))
(text "xalign_strobe[7..0]" (rect 21 315 92 327)(font "Arial" ))
(line (pt 0 320)(pt 16 320)(line_width 3))
)
(port
(pt 0 336)
(input)
(text "xRxRAM_RdEn[7..0]" (rect 0 0 93 12)(font "Arial" ))
(text "xRxRAM_RdEn[7..0]" (rect 21 331 114 343)(font "Arial" ))
(line (pt 0 336)(pt 16 336)(line_width 3))
)
(port
(pt 0 352)
(input)
(text "xRxRAM_Address[14..0]" (rect 0 0 108 12)(font "Arial" ))
(text "xRxRAM_Address[14..0]" (rect 21 347 129 359)(font "Arial" ))
(line (pt 0 352)(pt 16 352)(line_width 3))
)
(port
(pt 0 368)
(input)
(text "xRxRAM_RdClk" (rect 0 0 74 12)(font "Arial" ))
(text "xRxRAM_RdClk" (rect 21 363 95 375)(font "Arial" ))
(line (pt 0 368)(pt 16 368)(line_width 1))
)
(port
(pt 0 384)
(input)
(text "xRxRAM_readsel[1..0]" (rect 0 0 95 12)(font "Arial" ))
(text "xRxRAM_readsel[1..0]" (rect 21 379 116 391)(font "Arial" ))
(line (pt 0 384)(pt 16 384)(line_width 3))
)
(port
(pt 0 400)
(input)
(text "xRxRAM_writesel[1..0]" (rect 0 0 95 12)(font "Arial" ))
(text "xRxRAM_writesel[1..0]" (rect 21 395 116 407)(font "Arial" ))
(line (pt 0 400)(pt 16 400)(line_width 3))
)
(port
(pt 0 416)
(input)
(text "xsend_reset_flag" (rect 0 0 69 12)(font "Arial" ))
(text "xsend_reset_flag" (rect 21 411 90 423)(font "Arial" ))
(line (pt 0 416)(pt 16 416)(line_width 1))
)
(port
(pt 0 432)
(input)
(text "xUSBWakeup" (rect 0 0 57 12)(font "Arial" ))
(text "xUSBWakeup" (rect 21 427 78 439)(font "Arial" ))
(line (pt 0 432)(pt 16 432)(line_width 1))
)
(port
(pt 312 32)
(output)
(text "xDCout_0[2..0]" (rect 0 0 61 12)(font "Arial" ))
(text "xDCout_0[2..0]" (rect 230 27 291 39)(font "Arial" ))
(line (pt 312 32)(pt 296 32)(line_width 3))
)
(port
(pt 312 48)
(output)
(text "xDCout_1[2..0]" (rect 0 0 60 12)(font "Arial" ))
(text "xDCout_1[2..0]" (rect 231 43 291 55)(font "Arial" ))
(line (pt 312 48)(pt 296 48)(line_width 3))
)
(port
(pt 312 64)
(output)
(text "xDCout_2[2..0]" (rect 0 0 61 12)(font "Arial" ))
(text "xDCout_2[2..0]" (rect 230 59 291 71)(font "Arial" ))
(line (pt 312 64)(pt 296 64)(line_width 3))
)
(port
(pt 312 80)
(output)
(text "xDCout_3[2..0]" (rect 0 0 61 12)(font "Arial" ))
(text "xDCout_3[2..0]" (rect 230 75 291 87)(font "Arial" ))
(line (pt 312 80)(pt 296 80)(line_width 3))
)
(port
(pt 312 96)
(output)
(text "xDCout_4[2..0]" (rect 0 0 62 12)(font "Arial" ))
(text "xDCout_4[2..0]" (rect 229 91 291 103)(font "Arial" ))
(line (pt 312 96)(pt 296 96)(line_width 3))
)
(port
(pt 312 112)
(output)
(text "xDCout_5[2..0]" (rect 0 0 61 12)(font "Arial" ))
(text "xDCout_5[2..0]" (rect 230 107 291 119)(font "Arial" ))
(line (pt 312 112)(pt 296 112)(line_width 3))
)
(port
(pt 312 128)
(output)
(text "xDCout_6[2..0]" (rect 0 0 61 12)(font "Arial" ))
(text "xDCout_6[2..0]" (rect 230 123 291 135)(font "Arial" ))
(line (pt 312 128)(pt 296 128)(line_width 3))
)
(port
(pt 312 144)
(output)
(text "xDCout_7[2..0]" (rect 0 0 61 12)(font "Arial" ))
(text "xDCout_7[2..0]" (rect 230 139 291 151)(font "Arial" ))
(line (pt 312 144)(pt 296 144)(line_width 3))
)
(port
(pt 312 160)
(output)
(text "xglobal_reset" (rect 0 0 51 12)(font "Arial" ))
(text "xglobal_reset" (rect 240 155 291 167)(font "Arial" ))
(line (pt 312 160)(pt 296 160)(line_width 1))
)
(port
(pt 312 176)
(output)
(text "xclk_sys" (rect 0 0 36 12)(font "Arial" ))
(text "xclk_sys" (rect 255 171 291 183)(font "Arial" ))
(line (pt 312 176)(pt 296 176)(line_width 1))
)
(port
(pt 312 192)
(output)
(text "xclk_1Hz" (rect 0 0 35 12)(font "Arial" ))
(text "xclk_1Hz" (rect 256 187 291 199)(font "Arial" ))
(line (pt 312 192)(pt 296 192)(line_width 1))
)
(port
(pt 312 208)
(output)
(text "xclk_10Hz" (rect 0 0 40 12)(font "Arial" ))
(text "xclk_10Hz" (rect 251 203 291 215)(font "Arial" ))
(line (pt 312 208)(pt 296 208)(line_width 1))
)
(port
(pt 312 224)
(output)
(text "xclk_1kHz" (rect 0 0 40 12)(font "Arial" ))
(text "xclk_1kHz" (rect 251 219 291 231)(font "Arial" ))
(line (pt 312 224)(pt 296 224)(line_width 1))
)
(port
(pt 312 240)
(output)
(text "xalign_good[7..0]" (rect 0 0 66 12)(font "Arial" ))
(text "xalign_good[7..0]" (rect 225 235 291 247)(font "Arial" ))
(line (pt 312 240)(pt 296 240)(line_width 3))
)
(port
(pt 312 256)
(output)
(text "xRxRAM_Full[7..0][1..0]" (rect 0 0 100 12)(font "Arial" ))
(text "xRxRAM_Full[7..0][1..0]" (rect 191 251 291 263)(font "Arial" ))
(line (pt 312 256)(pt 296 256)(line_width 3))
)
(port
(pt 312 272)
(output)
(text "xRxData[7..0][15..0]" (rect 0 0 80 12)(font "Arial" ))
(text "xRxData[7..0][15..0]" (rect 211 267 291 279)(font "Arial" ))
(line (pt 312 272)(pt 296 272)(line_width 3))
)
(port
(pt 312 288)
(output)
(text "xclk_sys4X" (rect 0 0 48 12)(font "Arial" ))
(text "xclk_sys4X" (rect 243 283 291 295)(font "Arial" ))
(line (pt 312 288)(pt 296 288)(line_width 1))
)
(port
(pt 312 304)
(output)
(text "xCatchDCpkt[7..0]" (rect 0 0 74 12)(font "Arial" ))
(text "xCatchDCpkt[7..0]" (rect 217 299 291 311)(font "Arial" ))
(line (pt 312 304)(pt 296 304)(line_width 3))
)
(port
(pt 312 320)
(output)
(text "xDigzFlagACDC[7..0]" (rect 0 0 87 12)(font "Arial" ))
(text "xDigzFlagACDC[7..0]" (rect 204 315 291 327)(font "Arial" ))
(line (pt 312 320)(pt 296 320)(line_width 3))
)
(drawing
(rectangle (rect 16 16 296 448)(line_width 1))
)
)