This repository has been archived on 2023-10-25. You can view files and clone it, but cannot push or open issues or pull requests.
Arkanoid2PDE1/TotalScheme.bdf
Kirill Kirilenko fedfad1352 First commit.
2012-05-21 20:59:39 +04:00

638 lines
15 KiB
Text

/*
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.
*/
//#pragma file_not_in_maxplusii_format
(header "graphic" (version "1.3"))
(pin
(input)
(rect 296 152 464 168)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "clk_50MHz" (rect 5 0 58 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 92 12)(pt 117 12)(line_width 1))
(line (pt 92 4)(pt 117 4)(line_width 1))
(line (pt 121 8)(pt 168 8)(line_width 1))
(line (pt 92 12)(pt 92 4)(line_width 1))
(line (pt 117 4)(pt 121 8)(line_width 1))
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 240 152 288 168))
)
(pin
(input)
(rect 296 168 464 184)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "button1" (rect 5 0 41 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 92 12)(pt 117 12)(line_width 1))
(line (pt 92 4)(pt 117 4)(line_width 1))
(line (pt 121 8)(pt 168 8)(line_width 1))
(line (pt 92 12)(pt 92 4)(line_width 1))
(line (pt 117 4)(pt 121 8)(line_width 1))
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 240 168 296 184))
)
(pin
(input)
(rect 296 184 464 200)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "button2" (rect 5 0 41 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 92 12)(pt 117 12)(line_width 1))
(line (pt 92 4)(pt 117 4)(line_width 1))
(line (pt 121 8)(pt 168 8)(line_width 1))
(line (pt 92 12)(pt 92 4)(line_width 1))
(line (pt 117 4)(pt 121 8)(line_width 1))
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 240 184 296 200))
)
(pin
(input)
(rect 296 200 464 216)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "button3" (rect 5 0 41 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 92 12)(pt 117 12)(line_width 1))
(line (pt 92 4)(pt 117 4)(line_width 1))
(line (pt 121 8)(pt 168 8)(line_width 1))
(line (pt 92 12)(pt 92 4)(line_width 1))
(line (pt 117 4)(pt 121 8)(line_width 1))
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 240 200 296 216))
)
(pin
(input)
(rect 296 216 464 232)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "button4" (rect 5 0 41 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 92 12)(pt 117 12)(line_width 1))
(line (pt 92 4)(pt 117 4)(line_width 1))
(line (pt 121 8)(pt 168 8)(line_width 1))
(line (pt 92 12)(pt 92 4)(line_width 1))
(line (pt 117 4)(pt 121 8)(line_width 1))
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 240 216 296 232))
)
(pin
(output)
(rect 912 304 1088 320)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "led1[6..0]" (rect 90 0 136 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
(annotation_block (location)(rect 1320 320 1368 424))
)
(pin
(output)
(rect 912 320 1088 336)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "led2[6..0]" (rect 90 0 136 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
(annotation_block (location)(rect 1248 336 1296 440))
)
(pin
(output)
(rect 912 336 1088 352)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "led3[6..0]" (rect 90 0 136 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
(annotation_block (location)(rect 1176 352 1224 456))
)
(pin
(output)
(rect 912 352 1088 368)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "led4[6..0]" (rect 90 0 136 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
(annotation_block (location)(rect 1104 368 1152 472))
)
(pin
(output)
(rect 912 152 1088 168)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "h_sync" (rect 90 0 126 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
(annotation_block (location)(rect 1088 152 1144 168))
)
(pin
(output)
(rect 912 184 1088 200)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "red[3..0]" (rect 90 0 131 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
(annotation_block (location)(rect 1248 200 1296 256))
)
(pin
(output)
(rect 912 200 1088 216)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "green[3..0]" (rect 90 0 143 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
(annotation_block (location)(rect 1176 216 1232 272))
)
(pin
(output)
(rect 912 216 1088 232)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "blue[3..0]" (rect 90 0 136 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
(annotation_block (location)(rect 1104 232 1160 288))
)
(pin
(output)
(rect 912 168 1088 184)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "v_sync" (rect 90 0 127 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
(annotation_block (location)(rect 1088 168 1144 184))
)
(pin
(output)
(rect 912 424 1088 440)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "led[7..0]" (rect 90 0 130 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
)
(symbol
(rect 528 128 680 352)
(text "Arkanoid" (rect 5 0 47 12)(font "Arial" ))
(text "inst" (rect 8 208 25 220)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk50MHz" (rect 0 0 47 12)(font "Arial" ))
(text "clk50MHz" (rect 21 27 68 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "button1" (rect 0 0 36 12)(font "Arial" ))
(text "button1" (rect 21 43 57 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "button2" (rect 0 0 36 12)(font "Arial" ))
(text "button2" (rect 21 59 57 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "button3" (rect 0 0 36 12)(font "Arial" ))
(text "button3" (rect 21 75 57 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 0 96)
(input)
(text "button4" (rect 0 0 36 12)(font "Arial" ))
(text "button4" (rect 21 91 57 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 1))
)
(port
(pt 152 32)
(output)
(text "h_sync" (rect 0 0 36 12)(font "Arial" ))
(text "h_sync" (rect 95 27 131 39)(font "Arial" ))
(line (pt 152 32)(pt 136 32)(line_width 1))
)
(port
(pt 152 48)
(output)
(text "v_sync" (rect 0 0 37 12)(font "Arial" ))
(text "v_sync" (rect 94 43 131 55)(font "Arial" ))
(line (pt 152 48)(pt 136 48)(line_width 1))
)
(port
(pt 152 64)
(output)
(text "red[3..0]" (rect 0 0 41 12)(font "Arial" ))
(text "red[3..0]" (rect 90 59 131 71)(font "Arial" ))
(line (pt 152 64)(pt 136 64)(line_width 3))
)
(port
(pt 152 80)
(output)
(text "green[3..0]" (rect 0 0 53 12)(font "Arial" ))
(text "green[3..0]" (rect 78 75 131 87)(font "Arial" ))
(line (pt 152 80)(pt 136 80)(line_width 3))
)
(port
(pt 152 96)
(output)
(text "blue[3..0]" (rect 0 0 46 12)(font "Arial" ))
(text "blue[3..0]" (rect 85 91 131 103)(font "Arial" ))
(line (pt 152 96)(pt 136 96)(line_width 3))
)
(port
(pt 152 112)
(output)
(text "num1[6..0]" (rect 0 0 53 12)(font "Arial" ))
(text "num1[6..0]" (rect 78 107 131 119)(font "Arial" ))
(line (pt 152 112)(pt 136 112)(line_width 3))
)
(port
(pt 152 128)
(output)
(text "num2[6..0]" (rect 0 0 53 12)(font "Arial" ))
(text "num2[6..0]" (rect 78 123 131 135)(font "Arial" ))
(line (pt 152 128)(pt 136 128)(line_width 3))
)
(port
(pt 152 144)
(output)
(text "num3[6..0]" (rect 0 0 53 12)(font "Arial" ))
(text "num3[6..0]" (rect 78 139 131 151)(font "Arial" ))
(line (pt 152 144)(pt 136 144)(line_width 3))
)
(port
(pt 152 160)
(output)
(text "num4[6..0]" (rect 0 0 53 12)(font "Arial" ))
(text "num4[6..0]" (rect 78 155 131 167)(font "Arial" ))
(line (pt 152 160)(pt 136 160)(line_width 3))
)
(port
(pt 152 176)
(output)
(text "led[7..0]" (rect 0 0 40 12)(font "Arial" ))
(text "led[7..0]" (rect 91 171 131 183)(font "Arial" ))
(line (pt 152 176)(pt 136 176)(line_width 3))
)
(parameter
"SCREEN_WIDTH"
"640"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"SCREEN_HEIGHT"
"480"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"CELL_SIZE"
"20"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"BALL_SIZE"
"1"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"BALL_SPEED"
"2"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"PLATFORM_WIDTH"
"8"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"PLATFORM_SPEED"
"1"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"BK_COLOR_R"
"0000"
""
(type "PARAMETER_UNSIGNED_BIN") )
(parameter
"BK_COLOR_G"
"0000"
""
(type "PARAMETER_UNSIGNED_BIN") )
(parameter
"BK_COLOR_B"
"0000"
""
(type "PARAMETER_UNSIGNED_BIN") )
(parameter
"STABLE_COLOR_R"
"0011"
""
(type "PARAMETER_UNSIGNED_BIN") )
(parameter
"STABLE_COLOR_G"
"1100"
""
(type "PARAMETER_UNSIGNED_BIN") )
(parameter
"STABLE_COLOR_B"
"0110"
""
(type "PARAMETER_UNSIGNED_BIN") )
(parameter
"BALL_COLOR_R"
"0000"
""
(type "PARAMETER_UNSIGNED_BIN") )
(parameter
"BALL_COLOR_G"
"0000"
""
(type "PARAMETER_UNSIGNED_BIN") )
(parameter
"BALL_COLOR_B"
"1111"
""
(type "PARAMETER_UNSIGNED_BIN") )
(parameter
"PLATFORM_COLOR_R"
"1111"
""
(type "PARAMETER_UNSIGNED_BIN") )
(parameter
"PLATFORM_COLOR_G"
"0000"
""
(type "PARAMETER_UNSIGNED_BIN") )
(parameter
"PLATFORM_COLOR_B"
"0000"
""
(type "PARAMETER_UNSIGNED_BIN") )
(parameter
"PLATFORM_HEIGHT"
"1"
""
(type "PARAMETER_SIGNED_DEC") )
(drawing
(rectangle (rect 16 16 136 208)(line_width 1))
)
(annotation_block (parameter)(rect 528 -168 760 128))
)
(symbol
(rect 816 416 864 448)
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
(text "inst1" (rect 3 21 26 33)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 13 16)(line_width 1))
)
(port
(pt 48 16)
(output)
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(line (pt 39 16)(pt 48 16)(line_width 1))
)
(drawing
(line (pt 13 25)(pt 13 7)(line_width 1))
(line (pt 13 7)(pt 31 16)(line_width 1))
(line (pt 13 25)(pt 31 16)(line_width 1))
(circle (rect 31 12 39 20)(line_width 1))
)
)
(connector
(pt 680 240)
(pt 808 240)
(bus)
)
(connector
(pt 680 256)
(pt 792 256)
(bus)
)
(connector
(pt 680 272)
(pt 776 272)
(bus)
)
(connector
(pt 680 288)
(pt 760 288)
(bus)
)
(connector
(pt 528 160)
(pt 464 160)
)
(connector
(pt 528 176)
(pt 464 176)
)
(connector
(pt 528 192)
(pt 464 192)
)
(connector
(pt 528 208)
(pt 464 208)
)
(connector
(pt 528 224)
(pt 464 224)
)
(connector
(pt 680 160)
(pt 912 160)
)
(connector
(pt 680 176)
(pt 912 176)
)
(connector
(pt 680 192)
(pt 912 192)
(bus)
)
(connector
(pt 680 208)
(pt 912 208)
(bus)
)
(connector
(pt 680 224)
(pt 912 224)
(bus)
)
(connector
(pt 808 240)
(pt 808 312)
(bus)
)
(connector
(pt 808 312)
(pt 912 312)
(bus)
)
(connector
(pt 792 256)
(pt 792 328)
(bus)
)
(connector
(pt 792 328)
(pt 912 328)
(bus)
)
(connector
(pt 776 272)
(pt 776 344)
(bus)
)
(connector
(pt 776 344)
(pt 912 344)
(bus)
)
(connector
(pt 760 288)
(pt 760 360)
(bus)
)
(connector
(pt 760 360)
(pt 912 360)
(bus)
)
(connector
(pt 680 304)
(pt 720 304)
(bus)
)
(connector
(pt 720 304)
(pt 720 432)
(bus)
)
(connector
(pt 912 432)
(pt 864 432)
(bus)
)
(connector
(pt 720 432)
(pt 816 432)
(bus)
)