-
Notifications
You must be signed in to change notification settings - Fork 0
/
lab7.bdf
415 lines (415 loc) · 11 KB
/
lab7.bdf
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
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
/*
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-2012 Altera Corporation
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, 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 "graphic" (version "1.4"))
(pin
(input)
(rect 40 72 208 88)
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
(text "clk_50" (rect 5 0 36 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 84 12)(pt 109 12))
(line (pt 84 4)(pt 109 4))
(line (pt 113 8)(pt 168 8))
(line (pt 84 12)(pt 84 4))
(line (pt 109 4)(pt 113 8))
(line (pt 109 12)(pt 113 8))
)
(text "VCC" (rect 128 7 148 17)(font "Arial" (font_size 6)))
)
(pin
(bidir)
(rect 424 440 600 456)
(text "BIDIR" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "GPIO_0[35..3]" (rect 90 0 160 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 56 4)(pt 78 4))
(line (pt 0 8)(pt 52 8))
(line (pt 56 12)(pt 78 12))
(line (pt 78 4)(pt 82 8))
(line (pt 78 12)(pt 82 8))
(line (pt 56 4)(pt 52 8))
(line (pt 52 8)(pt 56 12))
)
(text "VCC" (rect 4 7 24 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 600 456 656 472))
)
(pin
(bidir)
(rect 416 496 592 512)
(text "BIDIR" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "GPIO_1[1]" (rect 90 0 141 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 56 4)(pt 78 4))
(line (pt 0 8)(pt 52 8))
(line (pt 56 12)(pt 78 12))
(line (pt 78 4)(pt 82 8))
(line (pt 78 12)(pt 82 8))
(line (pt 56 4)(pt 52 8))
(line (pt 52 8)(pt 56 12))
)
(text "VCC" (rect 4 7 24 17)(font "Arial" (font_size 6)))
)
(pin
(bidir)
(rect 424 544 600 560)
(text "BIDIR" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "GPIO_1[35..3]" (rect 90 0 160 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 56 4)(pt 78 4))
(line (pt 0 8)(pt 52 8))
(line (pt 56 12)(pt 78 12))
(line (pt 78 4)(pt 82 8))
(line (pt 78 12)(pt 82 8))
(line (pt 56 4)(pt 52 8))
(line (pt 52 8)(pt 56 12))
)
(text "VCC" (rect 4 7 24 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 600 560 656 576))
)
(pin
(bidir)
(rect 24 432 200 448)
(text "BIDIR" (rect 151 0 175 10)(font "Arial" (font_size 6)))
(text "GPIO_0[2]" (rect 5 0 56 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 120 4)(pt 98 4))
(line (pt 176 8)(pt 124 8))
(line (pt 120 12)(pt 98 12))
(line (pt 98 4)(pt 94 8))
(line (pt 98 12)(pt 94 8))
(line (pt 120 4)(pt 124 8))
(line (pt 124 8)(pt 120 12))
)
(flipy)
(text "VCC" (rect 152 7 172 17)(font "Arial" (font_size 6)))
)
(pin
(bidir)
(rect 32 480 208 496)
(text "BIDIR" (rect 151 0 175 10)(font "Arial" (font_size 6)))
(text "GPIO_1[0]" (rect 5 0 56 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 120 4)(pt 98 4))
(line (pt 176 8)(pt 124 8))
(line (pt 120 12)(pt 98 12))
(line (pt 98 4)(pt 94 8))
(line (pt 98 12)(pt 94 8))
(line (pt 120 4)(pt 124 8))
(line (pt 124 8)(pt 120 12))
)
(flipy)
(text "VCC" (rect 152 7 172 17)(font "Arial" (font_size 6)))
)
(pin
(bidir)
(rect 40 528 216 544)
(text "BIDIR" (rect 151 0 175 10)(font "Arial" (font_size 6)))
(text "GPIO_1[2]" (rect 5 0 56 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 120 4)(pt 98 4))
(line (pt 176 8)(pt 124 8))
(line (pt 120 12)(pt 98 12))
(line (pt 98 4)(pt 94 8))
(line (pt 98 12)(pt 94 8))
(line (pt 120 4)(pt 124 8))
(line (pt 124 8)(pt 120 12))
)
(flipy)
(text "VCC" (rect 152 7 172 17)(font "Arial" (font_size 6)))
)
(pin
(bidir)
(rect 424 392 600 408)
(text "BIDIR" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "GPIO_0[1]" (rect 90 0 141 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 56 4)(pt 78 4))
(line (pt 0 8)(pt 52 8))
(line (pt 56 12)(pt 78 12))
(line (pt 78 4)(pt 82 8))
(line (pt 78 12)(pt 82 8))
(line (pt 56 4)(pt 52 8))
(line (pt 52 8)(pt 56 12))
)
(text "VCC" (rect 4 7 24 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 600 408 656 424))
)
(pin
(bidir)
(rect 40 392 216 408)
(text "BIDIR" (rect 151 0 175 10)(font "Arial" (font_size 6)))
(text "GPIO_0[0]" (rect 5 0 56 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 120 4)(pt 98 4))
(line (pt 176 8)(pt 124 8))
(line (pt 120 12)(pt 98 12))
(line (pt 98 4)(pt 94 8))
(line (pt 98 12)(pt 94 8))
(line (pt 120 4)(pt 124 8))
(line (pt 124 8)(pt 120 12))
)
(flipy)
(text "VCC" (rect 152 7 172 17)(font "Arial" (font_size 6)))
)
(symbol
(rect 120 272 344 368)
(text "dsp" (rect 5 0 22 12)(font "Arial" ))
(text "inst" (rect 8 80 25 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "dac_b[13..0]" (rect 0 0 61 12)(font "Arial" ))
(text "dac_b[13..0]" (rect 21 27 82 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "CLK_DAC" (rect 0 0 50 12)(font "Arial" ))
(text "CLK_DAC" (rect 21 43 71 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 0 64)
(input)
(text "CLK_ADC" (rect 0 0 50 12)(font "Arial" ))
(text "CLK_ADC" (rect 21 59 71 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 224 64)
(output)
(text "adc_b[13..0]" (rect 0 0 61 12)(font "Arial" ))
(text "adc_b[13..0]" (rect 152 59 213 71)(font "Arial" ))
(line (pt 224 64)(pt 208 64)(line_width 3))
)
(port
(pt 224 32)
(bidir)
(text "GPIO_0_TEMP[35..0]" (rect 0 0 105 12)(font "Arial" ))
(text "GPIO_0_TEMP[35..0]" (rect 98 27 203 39)(font "Arial" ))
(line (pt 224 32)(pt 208 32)(line_width 3))
)
(port
(pt 224 48)
(bidir)
(text "GPIO_1_TEMP[35..0]" (rect 0 0 105 12)(font "Arial" ))
(text "GPIO_1_TEMP[35..0]" (rect 98 43 203 55)(font "Arial" ))
(line (pt 224 48)(pt 208 48)(line_width 3))
)
(drawing
(rectangle (rect 16 16 208 80))
)
)
(symbol
(rect 248 -16 600 176)
(text "altpll0" (rect 151 0 191 16)(font "Arial" (font_size 10)))
(text "inst1" (rect 8 176 31 188)(font "Arial" ))
(port
(pt 0 72)
(input)
(text "inclk0" (rect 0 0 31 14)(font "Arial" (font_size 8)))
(text "inclk0" (rect 4 54 35 68)(font "Arial" (font_size 8)))
(line (pt 0 72)(pt 56 72))
)
(port
(pt 0 96)
(input)
(text "areset" (rect 0 0 36 14)(font "Arial" (font_size 8)))
(text "areset" (rect 4 78 40 92)(font "Arial" (font_size 8)))
(line (pt 0 96)(pt 56 96))
)
(port
(pt 352 72)
(output)
(text "c0" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "c0" (rect 331 54 345 68)(font "Arial" (font_size 8)))
)
(port
(pt 352 96)
(output)
(text "c1" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "c1" (rect 331 78 345 92)(font "Arial" (font_size 8)))
)
(port
(pt 352 120)
(output)
(text "locked" (rect 0 0 36 14)(font "Arial" (font_size 8)))
(text "locked" (rect 302 102 338 116)(font "Arial" (font_size 8)))
)
(drawing
(text "Cyclone II" (rect 269 170 320 182)(font "Arial" ))
(text "inclk0 frequency: 50.000 MHz" (rect 66 65 213 77)(font "Arial" ))
(text "Operation Mode: Normal" (rect 66 82 185 94)(font "Arial" ))
(text "Clk " (rect 67 109 87 121)(font "Arial" ))
(text "Ratio" (rect 95 109 120 121)(font "Arial" ))
(text "Ph (dg)" (rect 132 109 167 121)(font "Arial" ))
(text "DC (%)" (rect 183 109 219 121)(font "Arial" ))
(text "c0" (rect 72 127 83 139)(font "Arial" ))
(text "5/2" (rect 101 127 116 139)(font "Arial" ))
(text "0.00" (rect 141 127 162 139)(font "Arial" ))
(text "50.00" (rect 188 127 215 139)(font "Arial" ))
(text "c1" (rect 72 145 83 157)(font "Arial" ))
(text "5/4" (rect 101 145 116 157)(font "Arial" ))
(text "0.00" (rect 141 145 162 157)(font "Arial" ))
(text "50.00" (rect 188 145 215 157)(font "Arial" ))
(line (pt 0 0)(pt 353 0))
(line (pt 353 0)(pt 353 193))
(line (pt 0 193)(pt 353 193))
(line (pt 0 0)(pt 0 193))
(line (pt 64 107)(pt 230 107))
(line (pt 64 124)(pt 230 124))
(line (pt 64 142)(pt 230 142))
(line (pt 64 160)(pt 230 160))
(line (pt 64 107)(pt 64 160))
(line (pt 92 107)(pt 92 160)(line_width 3))
(line (pt 129 107)(pt 129 160)(line_width 3))
(line (pt 180 107)(pt 180 160)(line_width 3))
(line (pt 229 107)(pt 229 160))
(line (pt 56 56)(pt 287 56))
(line (pt 287 56)(pt 287 175))
(line (pt 56 175)(pt 287 175))
(line (pt 56 56)(pt 56 175))
(line (pt 351 72)(pt 287 72))
(line (pt 351 96)(pt 287 96))
(line (pt 351 120)(pt 287 120))
)
)
(connector
(text "GPIO_0_TEMP[1]" (rect 354 384 440 396)(font "Arial" ))
(pt 424 400)
(pt 344 400)
)
(connector
(text "GPIO_1_TEMP[1]" (rect 346 488 432 500)(font "Arial" ))
(pt 416 504)
(pt 336 504)
)
(connector
(text "GPIO_0_TEMP[35..3]" (rect 344 424 449 436)(font "Arial" ))
(pt 336 448)
(pt 424 448)
(bus)
)
(connector
(text "GPIO_1_TEMP[35..3]" (rect 344 528 449 540)(font "Arial" ))
(pt 336 552)
(pt 424 552)
(bus)
)
(connector
(text "GPIO_0_TEMP[2]" (rect 200 424 286 436)(font "Arial" ))
(pt 200 440)
(pt 272 440)
)
(connector
(text "GPIO_1_TEMP[0]" (rect 208 472 294 484)(font "Arial" ))
(pt 208 488)
(pt 280 488)
)
(connector
(text "GPIO_1_TEMP[2]" (rect 216 520 302 532)(font "Arial" ))
(pt 216 536)
(pt 288 536)
)
(connector
(pt 88 304)
(pt 120 304)
(bus)
)
(connector
(pt 344 336)
(pt 488 336)
(bus)
)
(connector
(text "GPIO_0_TEMP[35..0]" (rect 354 288 459 300)(font "Arial" ))
(pt 456 304)
(pt 344 304)
(bus)
)
(connector
(text "clk_125" (rect 50 304 87 316)(font "Arial" ))
(pt 120 320)
(pt 40 320)
)
(connector
(text "clk_62" (rect 50 320 81 332)(font "Arial" ))
(pt 120 336)
(pt 40 336)
)
(connector
(pt 88 304)
(pt 88 208)
(bus)
)
(connector
(pt 488 336)
(pt 488 208)
(bus)
)
(connector
(pt 88 208)
(pt 488 208)
(bus)
)
(connector
(text "GPIO_0_TEMP[0]" (rect 224 384 310 396)(font "Arial" ))
(pt 216 400)
(pt 288 400)
)
(connector
(text "GPIO_1_TEMP[35..0]" (rect 354 304 459 316)(font "Arial" ))
(pt 344 320)
(pt 464 320)
(bus)
)
(connector
(pt 216 80)
(pt 216 56)
)
(connector
(pt 208 80)
(pt 216 80)
)
(connector
(pt 216 56)
(pt 248 56)
)
(connector
(text "clk_125" (rect 610 40 647 52)(font "Arial" ))
(pt 600 56)
(pt 688 56)
)
(connector
(text "clk_62" (rect 610 64 641 76)(font "Arial" ))
(pt 600 80)
(pt 696 80)
)