dritter slot
[dide_16.git] / bsp2 / Designflow / ppr / download / vga_driver.bsf
1 /*
2 WARNING: Do NOT edit the input and output ports in this file in a text
3 editor if you plan to continue editing the block that represents it in
4 the Block Editor! File corruption is VERY likely to occur.
5 */
6 /*
7 Copyright (C) 1991-2009 Altera Corporation
8 Your use of Altera Corporation's design tools, logic functions 
9 and other software and tools, and its AMPP partner logic 
10 functions, and any output files from any of the foregoing 
11 (including device programming or simulation files), and any 
12 associated documentation or information are expressly subject 
13 to the terms and conditions of the Altera Program License 
14 Subscription Agreement, Altera MegaCore Function License 
15 Agreement, or other applicable license agreement, including, 
16 without limitation, that your use is for the sole purpose of 
17 programming logic devices manufactured by Altera and sold by 
18 Altera or its authorized distributors.  Please refer to the 
19 applicable agreement for further details.
20 */
21 (header "symbol" (version "1.1"))
22 (symbol
23         (rect 16 16 304 1040)
24         (text "vga_driver" (rect 5 0 75 12)(font "Arial" ))
25         (text "inst" (rect 8 1008 36 1020)(font "Arial" ))
26         (port
27                 (pt 0 32)
28                 (input)
29                 (text "dly_counter_1" (rect 0 0 92 12)(font "Arial" ))
30                 (text "dly_counter_1" (rect 21 27 113 39)(font "Arial" ))
31                 (line (pt 0 32)(pt 16 32)(line_width 1))
32         )
33         (port
34                 (pt 0 48)
35                 (input)
36                 (text "dly_counter_0" (rect 0 0 92 12)(font "Arial" ))
37                 (text "dly_counter_0" (rect 21 43 113 55)(font "Arial" ))
38                 (line (pt 0 48)(pt 16 48)(line_width 1))
39         )
40         (port
41                 (pt 0 64)
42                 (input)
43                 (text "reset_pin_c" (rect 0 0 77 12)(font "Arial" ))
44                 (text "reset_pin_c" (rect 21 59 98 71)(font "Arial" ))
45                 (line (pt 0 64)(pt 16 64)(line_width 1))
46         )
47         (port
48                 (pt 0 80)
49                 (input)
50                 (text "clk_pin_c" (rect 0 0 63 12)(font "Arial" ))
51                 (text "clk_pin_c" (rect 21 75 84 87)(font "Arial" ))
52                 (line (pt 0 80)(pt 16 80)(line_width 1))
53         )
54         (port
55                 (pt 288 32)
56                 (output)
57                 (text "line_counter_sig_0" (rect 0 0 127 12)(font "Arial" ))
58                 (text "line_counter_sig_0" (rect 140 27 267 39)(font "Arial" ))
59                 (line (pt 288 32)(pt 272 32)(line_width 1))
60         )
61         (port
62                 (pt 288 48)
63                 (output)
64                 (text "line_counter_sig_1" (rect 0 0 127 12)(font "Arial" ))
65                 (text "line_counter_sig_1" (rect 140 43 267 55)(font "Arial" ))
66                 (line (pt 288 48)(pt 272 48)(line_width 1))
67         )
68         (port
69                 (pt 288 64)
70                 (output)
71                 (text "line_counter_sig_2" (rect 0 0 127 12)(font "Arial" ))
72                 (text "line_counter_sig_2" (rect 140 59 267 71)(font "Arial" ))
73                 (line (pt 288 64)(pt 272 64)(line_width 1))
74         )
75         (port
76                 (pt 288 80)
77                 (output)
78                 (text "line_counter_sig_3" (rect 0 0 127 12)(font "Arial" ))
79                 (text "line_counter_sig_3" (rect 140 75 267 87)(font "Arial" ))
80                 (line (pt 288 80)(pt 272 80)(line_width 1))
81         )
82         (port
83                 (pt 288 96)
84                 (output)
85                 (text "line_counter_sig_4" (rect 0 0 127 12)(font "Arial" ))
86                 (text "line_counter_sig_4" (rect 140 91 267 103)(font "Arial" ))
87                 (line (pt 288 96)(pt 272 96)(line_width 1))
88         )
89         (port
90                 (pt 288 112)
91                 (output)
92                 (text "line_counter_sig_5" (rect 0 0 127 12)(font "Arial" ))
93                 (text "line_counter_sig_5" (rect 140 107 267 119)(font "Arial" ))
94                 (line (pt 288 112)(pt 272 112)(line_width 1))
95         )
96         (port
97                 (pt 288 128)
98                 (output)
99                 (text "line_counter_sig_6" (rect 0 0 127 12)(font "Arial" ))
100                 (text "line_counter_sig_6" (rect 140 123 267 135)(font "Arial" ))
101                 (line (pt 288 128)(pt 272 128)(line_width 1))
102         )
103         (port
104                 (pt 288 144)
105                 (output)
106                 (text "line_counter_sig_7" (rect 0 0 127 12)(font "Arial" ))
107                 (text "line_counter_sig_7" (rect 140 139 267 151)(font "Arial" ))
108                 (line (pt 288 144)(pt 272 144)(line_width 1))
109         )
110         (port
111                 (pt 288 160)
112                 (output)
113                 (text "line_counter_sig_8" (rect 0 0 127 12)(font "Arial" ))
114                 (text "line_counter_sig_8" (rect 140 155 267 167)(font "Arial" ))
115                 (line (pt 288 160)(pt 272 160)(line_width 1))
116         )
117         (port
118                 (pt 288 176)
119                 (output)
120                 (text "vsync_state_2" (rect 0 0 92 12)(font "Arial" ))
121                 (text "vsync_state_2" (rect 175 171 267 183)(font "Arial" ))
122                 (line (pt 288 176)(pt 272 176)(line_width 1))
123         )
124         (port
125                 (pt 288 192)
126                 (output)
127                 (text "vsync_state_5" (rect 0 0 92 12)(font "Arial" ))
128                 (text "vsync_state_5" (rect 175 187 267 199)(font "Arial" ))
129                 (line (pt 288 192)(pt 272 192)(line_width 1))
130         )
131         (port
132                 (pt 288 208)
133                 (output)
134                 (text "vsync_state_3" (rect 0 0 92 12)(font "Arial" ))
135                 (text "vsync_state_3" (rect 175 203 267 215)(font "Arial" ))
136                 (line (pt 288 208)(pt 272 208)(line_width 1))
137         )
138         (port
139                 (pt 288 224)
140                 (output)
141                 (text "vsync_state_6" (rect 0 0 92 12)(font "Arial" ))
142                 (text "vsync_state_6" (rect 175 219 267 231)(font "Arial" ))
143                 (line (pt 288 224)(pt 272 224)(line_width 1))
144         )
145         (port
146                 (pt 288 240)
147                 (output)
148                 (text "vsync_state_4" (rect 0 0 92 12)(font "Arial" ))
149                 (text "vsync_state_4" (rect 175 235 267 247)(font "Arial" ))
150                 (line (pt 288 240)(pt 272 240)(line_width 1))
151         )
152         (port
153                 (pt 288 256)
154                 (output)
155                 (text "vsync_state_1" (rect 0 0 92 12)(font "Arial" ))
156                 (text "vsync_state_1" (rect 175 251 267 263)(font "Arial" ))
157                 (line (pt 288 256)(pt 272 256)(line_width 1))
158         )
159         (port
160                 (pt 288 272)
161                 (output)
162                 (text "vsync_state_0" (rect 0 0 92 12)(font "Arial" ))
163                 (text "vsync_state_0" (rect 175 267 267 279)(font "Arial" ))
164                 (line (pt 288 272)(pt 272 272)(line_width 1))
165         )
166         (port
167                 (pt 288 288)
168                 (output)
169                 (text "hsync_state_2" (rect 0 0 92 12)(font "Arial" ))
170                 (text "hsync_state_2" (rect 175 283 267 295)(font "Arial" ))
171                 (line (pt 288 288)(pt 272 288)(line_width 1))
172         )
173         (port
174                 (pt 288 304)
175                 (output)
176                 (text "hsync_state_4" (rect 0 0 92 12)(font "Arial" ))
177                 (text "hsync_state_4" (rect 175 299 267 311)(font "Arial" ))
178                 (line (pt 288 304)(pt 272 304)(line_width 1))
179         )
180         (port
181                 (pt 288 320)
182                 (output)
183                 (text "hsync_state_0" (rect 0 0 92 12)(font "Arial" ))
184                 (text "hsync_state_0" (rect 175 315 267 327)(font "Arial" ))
185                 (line (pt 288 320)(pt 272 320)(line_width 1))
186         )
187         (port
188                 (pt 288 336)
189                 (output)
190                 (text "hsync_state_5" (rect 0 0 92 12)(font "Arial" ))
191                 (text "hsync_state_5" (rect 175 331 267 343)(font "Arial" ))
192                 (line (pt 288 336)(pt 272 336)(line_width 1))
193         )
194         (port
195                 (pt 288 352)
196                 (output)
197                 (text "hsync_state_1" (rect 0 0 92 12)(font "Arial" ))
198                 (text "hsync_state_1" (rect 175 347 267 359)(font "Arial" ))
199                 (line (pt 288 352)(pt 272 352)(line_width 1))
200         )
201         (port
202                 (pt 288 368)
203                 (output)
204                 (text "hsync_state_3" (rect 0 0 92 12)(font "Arial" ))
205                 (text "hsync_state_3" (rect 175 363 267 375)(font "Arial" ))
206                 (line (pt 288 368)(pt 272 368)(line_width 1))
207         )
208         (port
209                 (pt 288 384)
210                 (output)
211                 (text "hsync_state_6" (rect 0 0 92 12)(font "Arial" ))
212                 (text "hsync_state_6" (rect 175 379 267 391)(font "Arial" ))
213                 (line (pt 288 384)(pt 272 384)(line_width 1))
214         )
215         (port
216                 (pt 288 400)
217                 (output)
218                 (text "column_counter_sig_0" (rect 0 0 141 12)(font "Arial" ))
219                 (text "column_counter_sig_0" (rect 126 395 267 407)(font "Arial" ))
220                 (line (pt 288 400)(pt 272 400)(line_width 1))
221         )
222         (port
223                 (pt 288 416)
224                 (output)
225                 (text "column_counter_sig_1" (rect 0 0 141 12)(font "Arial" ))
226                 (text "column_counter_sig_1" (rect 126 411 267 423)(font "Arial" ))
227                 (line (pt 288 416)(pt 272 416)(line_width 1))
228         )
229         (port
230                 (pt 288 432)
231                 (output)
232                 (text "column_counter_sig_2" (rect 0 0 141 12)(font "Arial" ))
233                 (text "column_counter_sig_2" (rect 126 427 267 439)(font "Arial" ))
234                 (line (pt 288 432)(pt 272 432)(line_width 1))
235         )
236         (port
237                 (pt 288 448)
238                 (output)
239                 (text "column_counter_sig_3" (rect 0 0 141 12)(font "Arial" ))
240                 (text "column_counter_sig_3" (rect 126 443 267 455)(font "Arial" ))
241                 (line (pt 288 448)(pt 272 448)(line_width 1))
242         )
243         (port
244                 (pt 288 464)
245                 (output)
246                 (text "column_counter_sig_4" (rect 0 0 141 12)(font "Arial" ))
247                 (text "column_counter_sig_4" (rect 126 459 267 471)(font "Arial" ))
248                 (line (pt 288 464)(pt 272 464)(line_width 1))
249         )
250         (port
251                 (pt 288 480)
252                 (output)
253                 (text "column_counter_sig_5" (rect 0 0 141 12)(font "Arial" ))
254                 (text "column_counter_sig_5" (rect 126 475 267 487)(font "Arial" ))
255                 (line (pt 288 480)(pt 272 480)(line_width 1))
256         )
257         (port
258                 (pt 288 496)
259                 (output)
260                 (text "column_counter_sig_6" (rect 0 0 141 12)(font "Arial" ))
261                 (text "column_counter_sig_6" (rect 126 491 267 503)(font "Arial" ))
262                 (line (pt 288 496)(pt 272 496)(line_width 1))
263         )
264         (port
265                 (pt 288 512)
266                 (output)
267                 (text "column_counter_sig_7" (rect 0 0 141 12)(font "Arial" ))
268                 (text "column_counter_sig_7" (rect 126 507 267 519)(font "Arial" ))
269                 (line (pt 288 512)(pt 272 512)(line_width 1))
270         )
271         (port
272                 (pt 288 528)
273                 (output)
274                 (text "column_counter_sig_8" (rect 0 0 141 12)(font "Arial" ))
275                 (text "column_counter_sig_8" (rect 126 523 267 535)(font "Arial" ))
276                 (line (pt 288 528)(pt 272 528)(line_width 1))
277         )
278         (port
279                 (pt 288 544)
280                 (output)
281                 (text "column_counter_sig_9" (rect 0 0 141 12)(font "Arial" ))
282                 (text "column_counter_sig_9" (rect 126 539 267 551)(font "Arial" ))
283                 (line (pt 288 544)(pt 272 544)(line_width 1))
284         )
285         (port
286                 (pt 288 560)
287                 (output)
288                 (text "vsync_counter_9" (rect 0 0 106 12)(font "Arial" ))
289                 (text "vsync_counter_9" (rect 161 555 267 567)(font "Arial" ))
290                 (line (pt 288 560)(pt 272 560)(line_width 1))
291         )
292         (port
293                 (pt 288 576)
294                 (output)
295                 (text "vsync_counter_8" (rect 0 0 106 12)(font "Arial" ))
296                 (text "vsync_counter_8" (rect 161 571 267 583)(font "Arial" ))
297                 (line (pt 288 576)(pt 272 576)(line_width 1))
298         )
299         (port
300                 (pt 288 592)
301                 (output)
302                 (text "vsync_counter_7" (rect 0 0 106 12)(font "Arial" ))
303                 (text "vsync_counter_7" (rect 161 587 267 599)(font "Arial" ))
304                 (line (pt 288 592)(pt 272 592)(line_width 1))
305         )
306         (port
307                 (pt 288 608)
308                 (output)
309                 (text "vsync_counter_6" (rect 0 0 106 12)(font "Arial" ))
310                 (text "vsync_counter_6" (rect 161 603 267 615)(font "Arial" ))
311                 (line (pt 288 608)(pt 272 608)(line_width 1))
312         )
313         (port
314                 (pt 288 624)
315                 (output)
316                 (text "vsync_counter_5" (rect 0 0 106 12)(font "Arial" ))
317                 (text "vsync_counter_5" (rect 161 619 267 631)(font "Arial" ))
318                 (line (pt 288 624)(pt 272 624)(line_width 1))
319         )
320         (port
321                 (pt 288 640)
322                 (output)
323                 (text "vsync_counter_4" (rect 0 0 106 12)(font "Arial" ))
324                 (text "vsync_counter_4" (rect 161 635 267 647)(font "Arial" ))
325                 (line (pt 288 640)(pt 272 640)(line_width 1))
326         )
327         (port
328                 (pt 288 656)
329                 (output)
330                 (text "vsync_counter_3" (rect 0 0 106 12)(font "Arial" ))
331                 (text "vsync_counter_3" (rect 161 651 267 663)(font "Arial" ))
332                 (line (pt 288 656)(pt 272 656)(line_width 1))
333         )
334         (port
335                 (pt 288 672)
336                 (output)
337                 (text "vsync_counter_2" (rect 0 0 106 12)(font "Arial" ))
338                 (text "vsync_counter_2" (rect 161 667 267 679)(font "Arial" ))
339                 (line (pt 288 672)(pt 272 672)(line_width 1))
340         )
341         (port
342                 (pt 288 688)
343                 (output)
344                 (text "vsync_counter_1" (rect 0 0 106 12)(font "Arial" ))
345                 (text "vsync_counter_1" (rect 161 683 267 695)(font "Arial" ))
346                 (line (pt 288 688)(pt 272 688)(line_width 1))
347         )
348         (port
349                 (pt 288 704)
350                 (output)
351                 (text "vsync_counter_0" (rect 0 0 106 12)(font "Arial" ))
352                 (text "vsync_counter_0" (rect 161 699 267 711)(font "Arial" ))
353                 (line (pt 288 704)(pt 272 704)(line_width 1))
354         )
355         (port
356                 (pt 288 720)
357                 (output)
358                 (text "hsync_counter_9" (rect 0 0 106 12)(font "Arial" ))
359                 (text "hsync_counter_9" (rect 161 715 267 727)(font "Arial" ))
360                 (line (pt 288 720)(pt 272 720)(line_width 1))
361         )
362         (port
363                 (pt 288 736)
364                 (output)
365                 (text "hsync_counter_8" (rect 0 0 106 12)(font "Arial" ))
366                 (text "hsync_counter_8" (rect 161 731 267 743)(font "Arial" ))
367                 (line (pt 288 736)(pt 272 736)(line_width 1))
368         )
369         (port
370                 (pt 288 752)
371                 (output)
372                 (text "hsync_counter_7" (rect 0 0 106 12)(font "Arial" ))
373                 (text "hsync_counter_7" (rect 161 747 267 759)(font "Arial" ))
374                 (line (pt 288 752)(pt 272 752)(line_width 1))
375         )
376         (port
377                 (pt 288 768)
378                 (output)
379                 (text "hsync_counter_6" (rect 0 0 106 12)(font "Arial" ))
380                 (text "hsync_counter_6" (rect 161 763 267 775)(font "Arial" ))
381                 (line (pt 288 768)(pt 272 768)(line_width 1))
382         )
383         (port
384                 (pt 288 784)
385                 (output)
386                 (text "hsync_counter_5" (rect 0 0 106 12)(font "Arial" ))
387                 (text "hsync_counter_5" (rect 161 779 267 791)(font "Arial" ))
388                 (line (pt 288 784)(pt 272 784)(line_width 1))
389         )
390         (port
391                 (pt 288 800)
392                 (output)
393                 (text "hsync_counter_4" (rect 0 0 106 12)(font "Arial" ))
394                 (text "hsync_counter_4" (rect 161 795 267 807)(font "Arial" ))
395                 (line (pt 288 800)(pt 272 800)(line_width 1))
396         )
397         (port
398                 (pt 288 816)
399                 (output)
400                 (text "hsync_counter_3" (rect 0 0 106 12)(font "Arial" ))
401                 (text "hsync_counter_3" (rect 161 811 267 823)(font "Arial" ))
402                 (line (pt 288 816)(pt 272 816)(line_width 1))
403         )
404         (port
405                 (pt 288 832)
406                 (output)
407                 (text "hsync_counter_2" (rect 0 0 106 12)(font "Arial" ))
408                 (text "hsync_counter_2" (rect 161 827 267 839)(font "Arial" ))
409                 (line (pt 288 832)(pt 272 832)(line_width 1))
410         )
411         (port
412                 (pt 288 848)
413                 (output)
414                 (text "hsync_counter_1" (rect 0 0 106 12)(font "Arial" ))
415                 (text "hsync_counter_1" (rect 161 843 267 855)(font "Arial" ))
416                 (line (pt 288 848)(pt 272 848)(line_width 1))
417         )
418         (port
419                 (pt 288 864)
420                 (output)
421                 (text "hsync_counter_0" (rect 0 0 106 12)(font "Arial" ))
422                 (text "hsync_counter_0" (rect 161 859 267 871)(font "Arial" ))
423                 (line (pt 288 864)(pt 272 864)(line_width 1))
424         )
425         (port
426                 (pt 288 880)
427                 (output)
428                 (text "d_set_vsync_counter" (rect 0 0 134 12)(font "Arial" ))
429                 (text "d_set_vsync_counter" (rect 133 875 267 887)(font "Arial" ))
430                 (line (pt 288 880)(pt 272 880)(line_width 1))
431         )
432         (port
433                 (pt 288 896)
434                 (output)
435                 (text "v_sync" (rect 0 0 42 12)(font "Arial" ))
436                 (text "v_sync" (rect 225 891 267 903)(font "Arial" ))
437                 (line (pt 288 896)(pt 272 896)(line_width 1))
438         )
439         (port
440                 (pt 288 912)
441                 (output)
442                 (text "h_sync" (rect 0 0 42 12)(font "Arial" ))
443                 (text "h_sync" (rect 225 907 267 919)(font "Arial" ))
444                 (line (pt 288 912)(pt 272 912)(line_width 1))
445         )
446         (port
447                 (pt 288 928)
448                 (output)
449                 (text "h_enable_sig" (rect 0 0 84 12)(font "Arial" ))
450                 (text "h_enable_sig" (rect 183 923 267 935)(font "Arial" ))
451                 (line (pt 288 928)(pt 272 928)(line_width 1))
452         )
453         (port
454                 (pt 288 944)
455                 (output)
456                 (text "v_enable_sig" (rect 0 0 84 12)(font "Arial" ))
457                 (text "v_enable_sig" (rect 183 939 267 951)(font "Arial" ))
458                 (line (pt 288 944)(pt 272 944)(line_width 1))
459         )
460         (port
461                 (pt 288 960)
462                 (output)
463                 (text "un6_dly_counter_0_x" (rect 0 0 134 12)(font "Arial" ))
464                 (text "un6_dly_counter_0_x" (rect 133 955 267 967)(font "Arial" ))
465                 (line (pt 288 960)(pt 272 960)(line_width 1))
466         )
467         (port
468                 (pt 288 976)
469                 (output)
470                 (text "d_set_hsync_counter" (rect 0 0 134 12)(font "Arial" ))
471                 (text "d_set_hsync_counter" (rect 133 971 267 983)(font "Arial" ))
472                 (line (pt 288 976)(pt 272 976)(line_width 1))
473         )
474         (drawing
475                 (rectangle (rect 16 16 272 1008)(line_width 1))
476         )
477 )