dritter slot
[dide_16.git] / bsp2 / Designflow / ppr / download / vga.bsf
diff --git a/bsp2/Designflow/ppr/download/vga.bsf b/bsp2/Designflow/ppr/download/vga.bsf
new file mode 100644 (file)
index 0000000..cb4d845
--- /dev/null
@@ -0,0 +1,260 @@
+/*
+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-2009 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 16 16 296 560)
+       (text "vga" (rect 5 0 26 12)(font "Arial" ))
+       (text "inst" (rect 8 528 36 540)(font "Arial" ))
+       (port
+               (pt 0 32)
+               (input)
+               (text "clk_pin" (rect 0 0 49 12)(font "Arial" ))
+               (text "clk_pin" (rect 21 27 70 39)(font "Arial" ))
+               (line (pt 0 32)(pt 16 32)(line_width 1))
+       )
+       (port
+               (pt 0 48)
+               (input)
+               (text "reset_pin" (rect 0 0 63 12)(font "Arial" ))
+               (text "reset_pin" (rect 21 43 84 55)(font "Arial" ))
+               (line (pt 0 48)(pt 16 48)(line_width 1))
+       )
+       (port
+               (pt 280 32)
+               (output)
+               (text "r0_pin" (rect 0 0 42 12)(font "Arial" ))
+               (text "r0_pin" (rect 217 27 259 39)(font "Arial" ))
+               (line (pt 280 32)(pt 264 32)(line_width 1))
+       )
+       (port
+               (pt 280 48)
+               (output)
+               (text "r1_pin" (rect 0 0 42 12)(font "Arial" ))
+               (text "r1_pin" (rect 217 43 259 55)(font "Arial" ))
+               (line (pt 280 48)(pt 264 48)(line_width 1))
+       )
+       (port
+               (pt 280 64)
+               (output)
+               (text "r2_pin" (rect 0 0 42 12)(font "Arial" ))
+               (text "r2_pin" (rect 217 59 259 71)(font "Arial" ))
+               (line (pt 280 64)(pt 264 64)(line_width 1))
+       )
+       (port
+               (pt 280 80)
+               (output)
+               (text "g0_pin" (rect 0 0 42 12)(font "Arial" ))
+               (text "g0_pin" (rect 217 75 259 87)(font "Arial" ))
+               (line (pt 280 80)(pt 264 80)(line_width 1))
+       )
+       (port
+               (pt 280 96)
+               (output)
+               (text "g1_pin" (rect 0 0 42 12)(font "Arial" ))
+               (text "g1_pin" (rect 217 91 259 103)(font "Arial" ))
+               (line (pt 280 96)(pt 264 96)(line_width 1))
+       )
+       (port
+               (pt 280 112)
+               (output)
+               (text "g2_pin" (rect 0 0 42 12)(font "Arial" ))
+               (text "g2_pin" (rect 217 107 259 119)(font "Arial" ))
+               (line (pt 280 112)(pt 264 112)(line_width 1))
+       )
+       (port
+               (pt 280 128)
+               (output)
+               (text "b0_pin" (rect 0 0 42 12)(font "Arial" ))
+               (text "b0_pin" (rect 217 123 259 135)(font "Arial" ))
+               (line (pt 280 128)(pt 264 128)(line_width 1))
+       )
+       (port
+               (pt 280 144)
+               (output)
+               (text "b1_pin" (rect 0 0 42 12)(font "Arial" ))
+               (text "b1_pin" (rect 217 139 259 151)(font "Arial" ))
+               (line (pt 280 144)(pt 264 144)(line_width 1))
+       )
+       (port
+               (pt 280 160)
+               (output)
+               (text "hsync_pin" (rect 0 0 63 12)(font "Arial" ))
+               (text "hsync_pin" (rect 196 155 259 167)(font "Arial" ))
+               (line (pt 280 160)(pt 264 160)(line_width 1))
+       )
+       (port
+               (pt 280 176)
+               (output)
+               (text "vsync_pin" (rect 0 0 63 12)(font "Arial" ))
+               (text "vsync_pin" (rect 196 171 259 183)(font "Arial" ))
+               (line (pt 280 176)(pt 264 176)(line_width 1))
+       )
+       (port
+               (pt 280 192)
+               (output)
+               (text "seven_seg_pin[13..0]" (rect 0 0 141 12)(font "Arial" ))
+               (text "seven_seg_pin[13..0]" (rect 118 187 259 199)(font "Arial" ))
+               (line (pt 280 192)(pt 264 192)(line_width 3))
+       )
+       (port
+               (pt 280 208)
+               (output)
+               (text "d_hsync" (rect 0 0 49 12)(font "Arial" ))
+               (text "d_hsync" (rect 210 203 259 215)(font "Arial" ))
+               (line (pt 280 208)(pt 264 208)(line_width 1))
+       )
+       (port
+               (pt 280 224)
+               (output)
+               (text "d_vsync" (rect 0 0 49 12)(font "Arial" ))
+               (text "d_vsync" (rect 210 219 259 231)(font "Arial" ))
+               (line (pt 280 224)(pt 264 224)(line_width 1))
+       )
+       (port
+               (pt 280 240)
+               (output)
+               (text "d_column_counter[9..0]" (rect 0 0 155 12)(font "Arial" ))
+               (text "d_column_counter[9..0]" (rect 104 235 259 247)(font "Arial" ))
+               (line (pt 280 240)(pt 264 240)(line_width 3))
+       )
+       (port
+               (pt 280 256)
+               (output)
+               (text "d_line_counter[8..0]" (rect 0 0 141 12)(font "Arial" ))
+               (text "d_line_counter[8..0]" (rect 118 251 259 263)(font "Arial" ))
+               (line (pt 280 256)(pt 264 256)(line_width 3))
+       )
+       (port
+               (pt 280 272)
+               (output)
+               (text "d_set_column_counter" (rect 0 0 141 12)(font "Arial" ))
+               (text "d_set_column_counter" (rect 118 267 259 279)(font "Arial" ))
+               (line (pt 280 272)(pt 264 272)(line_width 1))
+       )
+       (port
+               (pt 280 288)
+               (output)
+               (text "d_set_line_counter" (rect 0 0 127 12)(font "Arial" ))
+               (text "d_set_line_counter" (rect 132 283 259 295)(font "Arial" ))
+               (line (pt 280 288)(pt 264 288)(line_width 1))
+       )
+       (port
+               (pt 280 304)
+               (output)
+               (text "d_hsync_counter[9..0]" (rect 0 0 148 12)(font "Arial" ))
+               (text "d_hsync_counter[9..0]" (rect 111 299 259 311)(font "Arial" ))
+               (line (pt 280 304)(pt 264 304)(line_width 3))
+       )
+       (port
+               (pt 280 320)
+               (output)
+               (text "d_vsync_counter[9..0]" (rect 0 0 148 12)(font "Arial" ))
+               (text "d_vsync_counter[9..0]" (rect 111 315 259 327)(font "Arial" ))
+               (line (pt 280 320)(pt 264 320)(line_width 3))
+       )
+       (port
+               (pt 280 336)
+               (output)
+               (text "d_set_hsync_counter" (rect 0 0 134 12)(font "Arial" ))
+               (text "d_set_hsync_counter" (rect 125 331 259 343)(font "Arial" ))
+               (line (pt 280 336)(pt 264 336)(line_width 1))
+       )
+       (port
+               (pt 280 352)
+               (output)
+               (text "d_set_vsync_counter" (rect 0 0 134 12)(font "Arial" ))
+               (text "d_set_vsync_counter" (rect 125 347 259 359)(font "Arial" ))
+               (line (pt 280 352)(pt 264 352)(line_width 1))
+       )
+       (port
+               (pt 280 368)
+               (output)
+               (text "d_h_enable" (rect 0 0 70 12)(font "Arial" ))
+               (text "d_h_enable" (rect 189 363 259 375)(font "Arial" ))
+               (line (pt 280 368)(pt 264 368)(line_width 1))
+       )
+       (port
+               (pt 280 384)
+               (output)
+               (text "d_v_enable" (rect 0 0 70 12)(font "Arial" ))
+               (text "d_v_enable" (rect 189 379 259 391)(font "Arial" ))
+               (line (pt 280 384)(pt 264 384)(line_width 1))
+       )
+       (port
+               (pt 280 400)
+               (output)
+               (text "d_r" (rect 0 0 21 12)(font "Arial" ))
+               (text "d_r" (rect 238 395 259 407)(font "Arial" ))
+               (line (pt 280 400)(pt 264 400)(line_width 1))
+       )
+       (port
+               (pt 280 416)
+               (output)
+               (text "d_g" (rect 0 0 21 12)(font "Arial" ))
+               (text "d_g" (rect 238 411 259 423)(font "Arial" ))
+               (line (pt 280 416)(pt 264 416)(line_width 1))
+       )
+       (port
+               (pt 280 432)
+               (output)
+               (text "d_b" (rect 0 0 21 12)(font "Arial" ))
+               (text "d_b" (rect 238 427 259 439)(font "Arial" ))
+               (line (pt 280 432)(pt 264 432)(line_width 1))
+       )
+       (port
+               (pt 280 448)
+               (output)
+               (text "d_hsync_state[0..6]" (rect 0 0 134 12)(font "Arial" ))
+               (text "d_hsync_state[0..6]" (rect 125 443 259 455)(font "Arial" ))
+               (line (pt 280 448)(pt 264 448)(line_width 3))
+       )
+       (port
+               (pt 280 464)
+               (output)
+               (text "d_vsync_state[0..6]" (rect 0 0 134 12)(font "Arial" ))
+               (text "d_vsync_state[0..6]" (rect 125 459 259 471)(font "Arial" ))
+               (line (pt 280 464)(pt 264 464)(line_width 3))
+       )
+       (port
+               (pt 280 480)
+               (output)
+               (text "d_state_clk" (rect 0 0 77 12)(font "Arial" ))
+               (text "d_state_clk" (rect 182 475 259 487)(font "Arial" ))
+               (line (pt 280 480)(pt 264 480)(line_width 1))
+       )
+       (port
+               (pt 280 496)
+               (output)
+               (text "d_toggle" (rect 0 0 56 12)(font "Arial" ))
+               (text "d_toggle" (rect 203 491 259 503)(font "Arial" ))
+               (line (pt 280 496)(pt 264 496)(line_width 1))
+       )
+       (port
+               (pt 280 512)
+               (output)
+               (text "d_toggle_counter[24..0]" (rect 0 0 162 12)(font "Arial" ))
+               (text "d_toggle_counter[24..0]" (rect 97 507 259 519)(font "Arial" ))
+               (line (pt 280 512)(pt 264 512)(line_width 3))
+       )
+       (drawing
+               (rectangle (rect 16 16 264 528)(line_width 1))
+       )
+)