This repository has been archived by the owner on Aug 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathejer2.bsf
executable file
·386 lines (386 loc) · 16.9 KB
/
ejer2.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
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
/*
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-2013 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 "symbol" (version "1.1"))
(symbol
(rect 0 0 624 912)
(text "ejer2" (rect 298 -1 316 11)(font "Arial" (font_size 10)))
(text "inst" (rect 8 896 20 908)(font "Arial" ))
(port
(pt 0 72)
(input)
(text "clk_50_in_clk" (rect 0 0 54 12)(font "Arial" (font_size 8)))
(text "clk_50_in_clk" (rect 4 61 82 72)(font "Arial" (font_size 8)))
(line (pt 0 72)(pt 256 72)(line_width 1))
)
(port
(pt 0 112)
(input)
(text "clk_27_in_clk" (rect 0 0 54 12)(font "Arial" (font_size 8)))
(text "clk_27_in_clk" (rect 4 101 82 112)(font "Arial" (font_size 8)))
(line (pt 0 112)(pt 256 112)(line_width 1))
)
(port
(pt 0 152)
(input)
(text "reset_bridge_in_reset_n" (rect 0 0 97 12)(font "Arial" (font_size 8)))
(text "reset_bridge_in_reset_n" (rect 4 141 142 152)(font "Arial" (font_size 8)))
(line (pt 0 152)(pt 256 152)(line_width 1))
)
(port
(pt 0 720)
(input)
(text "switches_external_interface_out_export[17..0]" (rect 0 0 181 12)(font "Arial" (font_size 8)))
(text "switches_external_interface_out_export[17..0]" (rect 4 709 274 720)(font "Arial" (font_size 8)))
(line (pt 0 720)(pt 256 720)(line_width 3))
)
(port
(pt 0 760)
(input)
(text "pushbuttons_external_interface_out_export[3..0]" (rect 0 0 192 12)(font "Arial" (font_size 8)))
(text "pushbuttons_external_interface_out_export[3..0]" (rect 4 749 286 760)(font "Arial" (font_size 8)))
(line (pt 0 760)(pt 256 760)(line_width 3))
)
(port
(pt 624 72)
(output)
(text "sys_clk_out_clk" (rect 0 0 66 12)(font "Arial" (font_size 8)))
(text "sys_clk_out_clk" (rect 542 61 632 72)(font "Arial" (font_size 8)))
(line (pt 624 72)(pt 368 72)(line_width 1))
)
(port
(pt 624 112)
(output)
(text "sdram_clk_out_clk" (rect 0 0 76 12)(font "Arial" (font_size 8)))
(text "sdram_clk_out_clk" (rect 530 101 632 112)(font "Arial" (font_size 8)))
(line (pt 624 112)(pt 368 112)(line_width 1))
)
(port
(pt 624 152)
(output)
(text "vga_clk_out_clk" (rect 0 0 66 12)(font "Arial" (font_size 8)))
(text "vga_clk_out_clk" (rect 542 141 632 152)(font "Arial" (font_size 8)))
(line (pt 624 152)(pt 368 152)(line_width 1))
)
(port
(pt 0 192)
(output)
(text "sdram_out_addr[12..0]" (rect 0 0 90 12)(font "Arial" (font_size 8)))
(text "sdram_out_addr[12..0]" (rect 4 181 130 192)(font "Arial" (font_size 8)))
(line (pt 0 192)(pt 256 192)(line_width 3))
)
(port
(pt 0 208)
(output)
(text "sdram_out_ba[1..0]" (rect 0 0 77 12)(font "Arial" (font_size 8)))
(text "sdram_out_ba[1..0]" (rect 4 197 112 208)(font "Arial" (font_size 8)))
(line (pt 0 208)(pt 256 208)(line_width 3))
)
(port
(pt 0 224)
(output)
(text "sdram_out_cas_n" (rect 0 0 74 12)(font "Arial" (font_size 8)))
(text "sdram_out_cas_n" (rect 4 213 94 224)(font "Arial" (font_size 8)))
(line (pt 0 224)(pt 256 224)(line_width 1))
)
(port
(pt 0 240)
(output)
(text "sdram_out_cke" (rect 0 0 63 12)(font "Arial" (font_size 8)))
(text "sdram_out_cke" (rect 4 229 82 240)(font "Arial" (font_size 8)))
(line (pt 0 240)(pt 256 240)(line_width 1))
)
(port
(pt 0 256)
(output)
(text "sdram_out_cs_n" (rect 0 0 69 12)(font "Arial" (font_size 8)))
(text "sdram_out_cs_n" (rect 4 245 88 256)(font "Arial" (font_size 8)))
(line (pt 0 256)(pt 256 256)(line_width 1))
)
(port
(pt 0 288)
(output)
(text "sdram_out_dqm[3..0]" (rect 0 0 87 12)(font "Arial" (font_size 8)))
(text "sdram_out_dqm[3..0]" (rect 4 277 118 288)(font "Arial" (font_size 8)))
(line (pt 0 288)(pt 256 288)(line_width 3))
)
(port
(pt 0 304)
(output)
(text "sdram_out_ras_n" (rect 0 0 73 12)(font "Arial" (font_size 8)))
(text "sdram_out_ras_n" (rect 4 293 94 304)(font "Arial" (font_size 8)))
(line (pt 0 304)(pt 256 304)(line_width 1))
)
(port
(pt 0 320)
(output)
(text "sdram_out_we_n" (rect 0 0 70 12)(font "Arial" (font_size 8)))
(text "sdram_out_we_n" (rect 4 309 88 320)(font "Arial" (font_size 8)))
(line (pt 0 320)(pt 256 320)(line_width 1))
)
(port
(pt 0 360)
(output)
(text "flash_bridge_out_tcm_chipselect_out" (rect 0 0 148 12)(font "Arial" (font_size 8)))
(text "flash_bridge_out_tcm_chipselect_out" (rect 4 349 214 360)(font "Arial" (font_size 8)))
(line (pt 0 360)(pt 256 360)(line_width 1))
)
(port
(pt 0 376)
(output)
(text "flash_bridge_out_tcm_address_out[22..0]" (rect 0 0 167 12)(font "Arial" (font_size 8)))
(text "flash_bridge_out_tcm_address_out[22..0]" (rect 4 365 238 376)(font "Arial" (font_size 8)))
(line (pt 0 376)(pt 256 376)(line_width 3))
)
(port
(pt 0 392)
(output)
(text "flash_bridge_out_tcm_write_out" (rect 0 0 128 12)(font "Arial" (font_size 8)))
(text "flash_bridge_out_tcm_write_out" (rect 4 381 184 392)(font "Arial" (font_size 8)))
(line (pt 0 392)(pt 256 392)(line_width 1))
)
(port
(pt 0 408)
(output)
(text "flash_bridge_out_tcm_read_out" (rect 0 0 128 12)(font "Arial" (font_size 8)))
(text "flash_bridge_out_tcm_read_out" (rect 4 397 178 408)(font "Arial" (font_size 8)))
(line (pt 0 408)(pt 256 408)(line_width 1))
)
(port
(pt 0 464)
(output)
(text "red_leds_external_interface_out_export[17..0]" (rect 0 0 182 12)(font "Arial" (font_size 8)))
(text "red_leds_external_interface_out_export[17..0]" (rect 4 453 274 464)(font "Arial" (font_size 8)))
(line (pt 0 464)(pt 256 464)(line_width 3))
)
(port
(pt 0 504)
(output)
(text "green_leds_external_interface_out_export[8..0]" (rect 0 0 188 12)(font "Arial" (font_size 8)))
(text "green_leds_external_interface_out_export[8..0]" (rect 4 493 280 504)(font "Arial" (font_size 8)))
(line (pt 0 504)(pt 256 504)(line_width 3))
)
(port
(pt 0 544)
(output)
(text "hex3_hex0_external_interface_out_HEX0[6..0]" (rect 0 0 188 12)(font "Arial" (font_size 8)))
(text "hex3_hex0_external_interface_out_HEX0[6..0]" (rect 4 533 262 544)(font "Arial" (font_size 8)))
(line (pt 0 544)(pt 256 544)(line_width 3))
)
(port
(pt 0 560)
(output)
(text "hex3_hex0_external_interface_out_HEX1[6..0]" (rect 0 0 187 12)(font "Arial" (font_size 8)))
(text "hex3_hex0_external_interface_out_HEX1[6..0]" (rect 4 549 262 560)(font "Arial" (font_size 8)))
(line (pt 0 560)(pt 256 560)(line_width 3))
)
(port
(pt 0 576)
(output)
(text "hex3_hex0_external_interface_out_HEX2[6..0]" (rect 0 0 188 12)(font "Arial" (font_size 8)))
(text "hex3_hex0_external_interface_out_HEX2[6..0]" (rect 4 565 262 576)(font "Arial" (font_size 8)))
(line (pt 0 576)(pt 256 576)(line_width 3))
)
(port
(pt 0 592)
(output)
(text "hex3_hex0_external_interface_out_HEX3[6..0]" (rect 0 0 188 12)(font "Arial" (font_size 8)))
(text "hex3_hex0_external_interface_out_HEX3[6..0]" (rect 4 581 262 592)(font "Arial" (font_size 8)))
(line (pt 0 592)(pt 256 592)(line_width 3))
)
(port
(pt 0 632)
(output)
(text "hex7_hex4_external_interface_out_HEX4[6..0]" (rect 0 0 191 12)(font "Arial" (font_size 8)))
(text "hex7_hex4_external_interface_out_HEX4[6..0]" (rect 4 621 262 632)(font "Arial" (font_size 8)))
(line (pt 0 632)(pt 256 632)(line_width 3))
)
(port
(pt 0 648)
(output)
(text "hex7_hex4_external_interface_out_HEX5[6..0]" (rect 0 0 189 12)(font "Arial" (font_size 8)))
(text "hex7_hex4_external_interface_out_HEX5[6..0]" (rect 4 637 262 648)(font "Arial" (font_size 8)))
(line (pt 0 648)(pt 256 648)(line_width 3))
)
(port
(pt 0 664)
(output)
(text "hex7_hex4_external_interface_out_HEX6[6..0]" (rect 0 0 189 12)(font "Arial" (font_size 8)))
(text "hex7_hex4_external_interface_out_HEX6[6..0]" (rect 4 653 262 664)(font "Arial" (font_size 8)))
(line (pt 0 664)(pt 256 664)(line_width 3))
)
(port
(pt 0 680)
(output)
(text "hex7_hex4_external_interface_out_HEX7[6..0]" (rect 0 0 189 12)(font "Arial" (font_size 8)))
(text "hex7_hex4_external_interface_out_HEX7[6..0]" (rect 4 669 262 680)(font "Arial" (font_size 8)))
(line (pt 0 680)(pt 256 680)(line_width 3))
)
(port
(pt 0 816)
(output)
(text "char_lcd_external_interface_out_ON" (rect 0 0 148 12)(font "Arial" (font_size 8)))
(text "char_lcd_external_interface_out_ON" (rect 4 805 208 816)(font "Arial" (font_size 8)))
(line (pt 0 816)(pt 256 816)(line_width 1))
)
(port
(pt 0 832)
(output)
(text "char_lcd_external_interface_out_BLON" (rect 0 0 160 12)(font "Arial" (font_size 8)))
(text "char_lcd_external_interface_out_BLON" (rect 4 821 220 832)(font "Arial" (font_size 8)))
(line (pt 0 832)(pt 256 832)(line_width 1))
)
(port
(pt 0 848)
(output)
(text "char_lcd_external_interface_out_EN" (rect 0 0 148 12)(font "Arial" (font_size 8)))
(text "char_lcd_external_interface_out_EN" (rect 4 837 208 848)(font "Arial" (font_size 8)))
(line (pt 0 848)(pt 256 848)(line_width 1))
)
(port
(pt 0 864)
(output)
(text "char_lcd_external_interface_out_RS" (rect 0 0 148 12)(font "Arial" (font_size 8)))
(text "char_lcd_external_interface_out_RS" (rect 4 853 208 864)(font "Arial" (font_size 8)))
(line (pt 0 864)(pt 256 864)(line_width 1))
)
(port
(pt 0 880)
(output)
(text "char_lcd_external_interface_out_RW" (rect 0 0 153 12)(font "Arial" (font_size 8)))
(text "char_lcd_external_interface_out_RW" (rect 4 869 208 880)(font "Arial" (font_size 8)))
(line (pt 0 880)(pt 256 880)(line_width 1))
)
(port
(pt 0 272)
(bidir)
(text "sdram_out_dq[31..0]" (rect 0 0 82 12)(font "Arial" (font_size 8)))
(text "sdram_out_dq[31..0]" (rect 4 261 118 272)(font "Arial" (font_size 8)))
(line (pt 0 272)(pt 256 272)(line_width 3))
)
(port
(pt 0 424)
(bidir)
(text "flash_bridge_out_tcm_data_out[7..0]" (rect 0 0 147 12)(font "Arial" (font_size 8)))
(text "flash_bridge_out_tcm_data_out[7..0]" (rect 4 413 214 424)(font "Arial" (font_size 8)))
(line (pt 0 424)(pt 256 424)(line_width 3))
)
(port
(pt 0 800)
(bidir)
(text "char_lcd_external_interface_out_DATA[7..0]" (rect 0 0 184 12)(font "Arial" (font_size 8)))
(text "char_lcd_external_interface_out_DATA[7..0]" (rect 4 789 256 800)(font "Arial" (font_size 8)))
(line (pt 0 800)(pt 256 800)(line_width 3))
)
(drawing
(text "clk_50_in" (rect 201 43 456 99)(font "Arial" (color 128 0 0)(font_size 9)))
(text "clk" (rect 261 67 540 144)(font "Arial" (color 0 0 0)))
(text "clk_27_in" (rect 201 83 456 179)(font "Arial" (color 128 0 0)(font_size 9)))
(text "clk" (rect 261 107 540 224)(font "Arial" (color 0 0 0)))
(text "reset_bridge_in" (rect 165 123 420 259)(font "Arial" (color 128 0 0)(font_size 9)))
(text "reset_n" (rect 261 147 564 304)(font "Arial" (color 0 0 0)))
(text "sys_clk_out" (rect 369 43 804 99)(font "Arial" (color 128 0 0)(font_size 9)))
(text "clk" (rect 353 67 724 144)(font "Arial" (color 0 0 0)))
(text "sdram_clk_out" (rect 369 83 816 179)(font "Arial" (color 128 0 0)(font_size 9)))
(text "clk" (rect 353 107 724 224)(font "Arial" (color 0 0 0)))
(text "vga_clk_out" (rect 369 123 804 259)(font "Arial" (color 128 0 0)(font_size 9)))
(text "clk" (rect 353 147 724 304)(font "Arial" (color 0 0 0)))
(text "sdram_out" (rect 194 163 442 339)(font "Arial" (color 128 0 0)(font_size 9)))
(text "addr" (rect 261 187 546 384)(font "Arial" (color 0 0 0)))
(text "ba" (rect 261 203 534 416)(font "Arial" (color 0 0 0)))
(text "cas_n" (rect 261 219 552 448)(font "Arial" (color 0 0 0)))
(text "cke" (rect 261 235 540 480)(font "Arial" (color 0 0 0)))
(text "cs_n" (rect 261 251 546 512)(font "Arial" (color 0 0 0)))
(text "dq" (rect 261 267 534 544)(font "Arial" (color 0 0 0)))
(text "dqm" (rect 261 283 540 576)(font "Arial" (color 0 0 0)))
(text "ras_n" (rect 261 299 552 608)(font "Arial" (color 0 0 0)))
(text "we_n" (rect 261 315 546 640)(font "Arial" (color 0 0 0)))
(text "flash_bridge_out" (rect 158 331 412 675)(font "Arial" (color 128 0 0)(font_size 9)))
(text "tcm_chipselect_out" (rect 261 355 630 720)(font "Arial" (color 0 0 0)))
(text "tcm_address_out" (rect 261 371 612 752)(font "Arial" (color 0 0 0)))
(text "tcm_write_out" (rect 261 387 600 784)(font "Arial" (color 0 0 0)))
(text "tcm_read_out" (rect 261 403 594 816)(font "Arial" (color 0 0 0)))
(text "tcm_data_out" (rect 261 419 594 848)(font "Arial" (color 0 0 0)))
(text "red_leds_external_interface_out" (rect 67 435 320 883)(font "Arial" (color 128 0 0)(font_size 9)))
(text "export" (rect 261 459 558 928)(font "Arial" (color 0 0 0)))
(text "green_leds_external_interface_out" (rect 53 475 304 963)(font "Arial" (color 128 0 0)(font_size 9)))
(text "export" (rect 261 499 558 1008)(font "Arial" (color 0 0 0)))
(text "hex3_hex0_external_interface_out" (rect 56 515 304 1043)(font "Arial" (color 128 0 0)(font_size 9)))
(text "HEX0" (rect 261 539 546 1088)(font "Arial" (color 0 0 0)))
(text "HEX1" (rect 261 555 546 1120)(font "Arial" (color 0 0 0)))
(text "HEX2" (rect 261 571 546 1152)(font "Arial" (color 0 0 0)))
(text "HEX3" (rect 261 587 546 1184)(font "Arial" (color 0 0 0)))
(text "hex7_hex4_external_interface_out" (rect 56 603 304 1219)(font "Arial" (color 128 0 0)(font_size 9)))
(text "HEX4" (rect 261 627 546 1264)(font "Arial" (color 0 0 0)))
(text "HEX5" (rect 261 643 546 1296)(font "Arial" (color 0 0 0)))
(text "HEX6" (rect 261 659 546 1328)(font "Arial" (color 0 0 0)))
(text "HEX7" (rect 261 675 546 1360)(font "Arial" (color 0 0 0)))
(text "switches_external_interface_out" (rect 67 691 320 1395)(font "Arial" (color 128 0 0)(font_size 9)))
(text "export" (rect 261 715 558 1440)(font "Arial" (color 0 0 0)))
(text "pushbuttons_external_interface_out" (rect 47 731 298 1475)(font "Arial" (color 128 0 0)(font_size 9)))
(text "export" (rect 261 755 558 1520)(font "Arial" (color 0 0 0)))
(text "char_lcd_external_interface_out" (rect 69 771 324 1555)(font "Arial" (color 128 0 0)(font_size 9)))
(text "DATA" (rect 261 795 546 1600)(font "Arial" (color 0 0 0)))
(text "ON" (rect 261 811 534 1632)(font "Arial" (color 0 0 0)))
(text "BLON" (rect 261 827 546 1664)(font "Arial" (color 0 0 0)))
(text "EN" (rect 261 843 534 1696)(font "Arial" (color 0 0 0)))
(text "RS" (rect 261 859 534 1728)(font "Arial" (color 0 0 0)))
(text "RW" (rect 261 875 534 1760)(font "Arial" (color 0 0 0)))
(text " ejer2 " (rect 600 896 1242 1802)(font "Arial" ))
(line (pt 257 52)(pt 257 76)(line_width 1))
(line (pt 258 52)(pt 258 76)(line_width 1))
(line (pt 257 92)(pt 257 116)(line_width 1))
(line (pt 258 92)(pt 258 116)(line_width 1))
(line (pt 257 132)(pt 257 156)(line_width 1))
(line (pt 258 132)(pt 258 156)(line_width 1))
(line (pt 367 52)(pt 367 76)(line_width 1))
(line (pt 366 52)(pt 366 76)(line_width 1))
(line (pt 367 92)(pt 367 116)(line_width 1))
(line (pt 366 92)(pt 366 116)(line_width 1))
(line (pt 367 132)(pt 367 156)(line_width 1))
(line (pt 366 132)(pt 366 156)(line_width 1))
(line (pt 257 172)(pt 257 324)(line_width 1))
(line (pt 258 172)(pt 258 324)(line_width 1))
(line (pt 257 340)(pt 257 428)(line_width 1))
(line (pt 258 340)(pt 258 428)(line_width 1))
(line (pt 257 444)(pt 257 468)(line_width 1))
(line (pt 258 444)(pt 258 468)(line_width 1))
(line (pt 257 484)(pt 257 508)(line_width 1))
(line (pt 258 484)(pt 258 508)(line_width 1))
(line (pt 257 524)(pt 257 596)(line_width 1))
(line (pt 258 524)(pt 258 596)(line_width 1))
(line (pt 257 612)(pt 257 684)(line_width 1))
(line (pt 258 612)(pt 258 684)(line_width 1))
(line (pt 257 700)(pt 257 724)(line_width 1))
(line (pt 258 700)(pt 258 724)(line_width 1))
(line (pt 257 740)(pt 257 764)(line_width 1))
(line (pt 258 740)(pt 258 764)(line_width 1))
(line (pt 257 780)(pt 257 884)(line_width 1))
(line (pt 258 780)(pt 258 884)(line_width 1))
(line (pt 256 32)(pt 368 32)(line_width 1))
(line (pt 368 32)(pt 368 896)(line_width 1))
(line (pt 256 896)(pt 368 896)(line_width 1))
(line (pt 256 32)(pt 256 896)(line_width 1))
(line (pt 0 0)(pt 624 0)(line_width 1))
(line (pt 624 0)(pt 624 912)(line_width 1))
(line (pt 0 912)(pt 624 912)(line_width 1))
(line (pt 0 0)(pt 0 912)(line_width 1))
)
)