dritter slot
[dide_16.git] / bsp2 / Designflow / ppr / download / vga.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 296 560)
24         (text "vga" (rect 5 0 26 12)(font "Arial" ))
25         (text "inst" (rect 8 528 36 540)(font "Arial" ))
26         (port
27                 (pt 0 32)
28                 (input)
29                 (text "clk_pin" (rect 0 0 49 12)(font "Arial" ))
30                 (text "clk_pin" (rect 21 27 70 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 "reset_pin" (rect 0 0 63 12)(font "Arial" ))
37                 (text "reset_pin" (rect 21 43 84 55)(font "Arial" ))
38                 (line (pt 0 48)(pt 16 48)(line_width 1))
39         )
40         (port
41                 (pt 280 32)
42                 (output)
43                 (text "r0_pin" (rect 0 0 42 12)(font "Arial" ))
44                 (text "r0_pin" (rect 217 27 259 39)(font "Arial" ))
45                 (line (pt 280 32)(pt 264 32)(line_width 1))
46         )
47         (port
48                 (pt 280 48)
49                 (output)
50                 (text "r1_pin" (rect 0 0 42 12)(font "Arial" ))
51                 (text "r1_pin" (rect 217 43 259 55)(font "Arial" ))
52                 (line (pt 280 48)(pt 264 48)(line_width 1))
53         )
54         (port
55                 (pt 280 64)
56                 (output)
57                 (text "r2_pin" (rect 0 0 42 12)(font "Arial" ))
58                 (text "r2_pin" (rect 217 59 259 71)(font "Arial" ))
59                 (line (pt 280 64)(pt 264 64)(line_width 1))
60         )
61         (port
62                 (pt 280 80)
63                 (output)
64                 (text "g0_pin" (rect 0 0 42 12)(font "Arial" ))
65                 (text "g0_pin" (rect 217 75 259 87)(font "Arial" ))
66                 (line (pt 280 80)(pt 264 80)(line_width 1))
67         )
68         (port
69                 (pt 280 96)
70                 (output)
71                 (text "g1_pin" (rect 0 0 42 12)(font "Arial" ))
72                 (text "g1_pin" (rect 217 91 259 103)(font "Arial" ))
73                 (line (pt 280 96)(pt 264 96)(line_width 1))
74         )
75         (port
76                 (pt 280 112)
77                 (output)
78                 (text "g2_pin" (rect 0 0 42 12)(font "Arial" ))
79                 (text "g2_pin" (rect 217 107 259 119)(font "Arial" ))
80                 (line (pt 280 112)(pt 264 112)(line_width 1))
81         )
82         (port
83                 (pt 280 128)
84                 (output)
85                 (text "b0_pin" (rect 0 0 42 12)(font "Arial" ))
86                 (text "b0_pin" (rect 217 123 259 135)(font "Arial" ))
87                 (line (pt 280 128)(pt 264 128)(line_width 1))
88         )
89         (port
90                 (pt 280 144)
91                 (output)
92                 (text "b1_pin" (rect 0 0 42 12)(font "Arial" ))
93                 (text "b1_pin" (rect 217 139 259 151)(font "Arial" ))
94                 (line (pt 280 144)(pt 264 144)(line_width 1))
95         )
96         (port
97                 (pt 280 160)
98                 (output)
99                 (text "hsync_pin" (rect 0 0 63 12)(font "Arial" ))
100                 (text "hsync_pin" (rect 196 155 259 167)(font "Arial" ))
101                 (line (pt 280 160)(pt 264 160)(line_width 1))
102         )
103         (port
104                 (pt 280 176)
105                 (output)
106                 (text "vsync_pin" (rect 0 0 63 12)(font "Arial" ))
107                 (text "vsync_pin" (rect 196 171 259 183)(font "Arial" ))
108                 (line (pt 280 176)(pt 264 176)(line_width 1))
109         )
110         (port
111                 (pt 280 192)
112                 (output)
113                 (text "seven_seg_pin[13..0]" (rect 0 0 141 12)(font "Arial" ))
114                 (text "seven_seg_pin[13..0]" (rect 118 187 259 199)(font "Arial" ))
115                 (line (pt 280 192)(pt 264 192)(line_width 3))
116         )
117         (port
118                 (pt 280 208)
119                 (output)
120                 (text "d_hsync" (rect 0 0 49 12)(font "Arial" ))
121                 (text "d_hsync" (rect 210 203 259 215)(font "Arial" ))
122                 (line (pt 280 208)(pt 264 208)(line_width 1))
123         )
124         (port
125                 (pt 280 224)
126                 (output)
127                 (text "d_vsync" (rect 0 0 49 12)(font "Arial" ))
128                 (text "d_vsync" (rect 210 219 259 231)(font "Arial" ))
129                 (line (pt 280 224)(pt 264 224)(line_width 1))
130         )
131         (port
132                 (pt 280 240)
133                 (output)
134                 (text "d_column_counter[9..0]" (rect 0 0 155 12)(font "Arial" ))
135                 (text "d_column_counter[9..0]" (rect 104 235 259 247)(font "Arial" ))
136                 (line (pt 280 240)(pt 264 240)(line_width 3))
137         )
138         (port
139                 (pt 280 256)
140                 (output)
141                 (text "d_line_counter[8..0]" (rect 0 0 141 12)(font "Arial" ))
142                 (text "d_line_counter[8..0]" (rect 118 251 259 263)(font "Arial" ))
143                 (line (pt 280 256)(pt 264 256)(line_width 3))
144         )
145         (port
146                 (pt 280 272)
147                 (output)
148                 (text "d_set_column_counter" (rect 0 0 141 12)(font "Arial" ))
149                 (text "d_set_column_counter" (rect 118 267 259 279)(font "Arial" ))
150                 (line (pt 280 272)(pt 264 272)(line_width 1))
151         )
152         (port
153                 (pt 280 288)
154                 (output)
155                 (text "d_set_line_counter" (rect 0 0 127 12)(font "Arial" ))
156                 (text "d_set_line_counter" (rect 132 283 259 295)(font "Arial" ))
157                 (line (pt 280 288)(pt 264 288)(line_width 1))
158         )
159         (port
160                 (pt 280 304)
161                 (output)
162                 (text "d_hsync_counter[9..0]" (rect 0 0 148 12)(font "Arial" ))
163                 (text "d_hsync_counter[9..0]" (rect 111 299 259 311)(font "Arial" ))
164                 (line (pt 280 304)(pt 264 304)(line_width 3))
165         )
166         (port
167                 (pt 280 320)
168                 (output)
169                 (text "d_vsync_counter[9..0]" (rect 0 0 148 12)(font "Arial" ))
170                 (text "d_vsync_counter[9..0]" (rect 111 315 259 327)(font "Arial" ))
171                 (line (pt 280 320)(pt 264 320)(line_width 3))
172         )
173         (port
174                 (pt 280 336)
175                 (output)
176                 (text "d_set_hsync_counter" (rect 0 0 134 12)(font "Arial" ))
177                 (text "d_set_hsync_counter" (rect 125 331 259 343)(font "Arial" ))
178                 (line (pt 280 336)(pt 264 336)(line_width 1))
179         )
180         (port
181                 (pt 280 352)
182                 (output)
183                 (text "d_set_vsync_counter" (rect 0 0 134 12)(font "Arial" ))
184                 (text "d_set_vsync_counter" (rect 125 347 259 359)(font "Arial" ))
185                 (line (pt 280 352)(pt 264 352)(line_width 1))
186         )
187         (port
188                 (pt 280 368)
189                 (output)
190                 (text "d_h_enable" (rect 0 0 70 12)(font "Arial" ))
191                 (text "d_h_enable" (rect 189 363 259 375)(font "Arial" ))
192                 (line (pt 280 368)(pt 264 368)(line_width 1))
193         )
194         (port
195                 (pt 280 384)
196                 (output)
197                 (text "d_v_enable" (rect 0 0 70 12)(font "Arial" ))
198                 (text "d_v_enable" (rect 189 379 259 391)(font "Arial" ))
199                 (line (pt 280 384)(pt 264 384)(line_width 1))
200         )
201         (port
202                 (pt 280 400)
203                 (output)
204                 (text "d_r" (rect 0 0 21 12)(font "Arial" ))
205                 (text "d_r" (rect 238 395 259 407)(font "Arial" ))
206                 (line (pt 280 400)(pt 264 400)(line_width 1))
207         )
208         (port
209                 (pt 280 416)
210                 (output)
211                 (text "d_g" (rect 0 0 21 12)(font "Arial" ))
212                 (text "d_g" (rect 238 411 259 423)(font "Arial" ))
213                 (line (pt 280 416)(pt 264 416)(line_width 1))
214         )
215         (port
216                 (pt 280 432)
217                 (output)
218                 (text "d_b" (rect 0 0 21 12)(font "Arial" ))
219                 (text "d_b" (rect 238 427 259 439)(font "Arial" ))
220                 (line (pt 280 432)(pt 264 432)(line_width 1))
221         )
222         (port
223                 (pt 280 448)
224                 (output)
225                 (text "d_hsync_state[0..6]" (rect 0 0 134 12)(font "Arial" ))
226                 (text "d_hsync_state[0..6]" (rect 125 443 259 455)(font "Arial" ))
227                 (line (pt 280 448)(pt 264 448)(line_width 3))
228         )
229         (port
230                 (pt 280 464)
231                 (output)
232                 (text "d_vsync_state[0..6]" (rect 0 0 134 12)(font "Arial" ))
233                 (text "d_vsync_state[0..6]" (rect 125 459 259 471)(font "Arial" ))
234                 (line (pt 280 464)(pt 264 464)(line_width 3))
235         )
236         (port
237                 (pt 280 480)
238                 (output)
239                 (text "d_state_clk" (rect 0 0 77 12)(font "Arial" ))
240                 (text "d_state_clk" (rect 182 475 259 487)(font "Arial" ))
241                 (line (pt 280 480)(pt 264 480)(line_width 1))
242         )
243         (port
244                 (pt 280 496)
245                 (output)
246                 (text "d_toggle" (rect 0 0 56 12)(font "Arial" ))
247                 (text "d_toggle" (rect 203 491 259 503)(font "Arial" ))
248                 (line (pt 280 496)(pt 264 496)(line_width 1))
249         )
250         (port
251                 (pt 280 512)
252                 (output)
253                 (text "d_toggle_counter[24..0]" (rect 0 0 162 12)(font "Arial" ))
254                 (text "d_toggle_counter[24..0]" (rect 97 507 259 519)(font "Arial" ))
255                 (line (pt 280 512)(pt 264 512)(line_width 3))
256         )
257         (drawing
258                 (rectangle (rect 16 16 264 528)(line_width 1))
259         )
260 )