📄 key_scan1.bdf
字号:
/*
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-2005 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 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 "graphic" (version "1.3"))
(pin
(input)
(rect 304 304 472 320)
(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
(text "diny4" (rect 45 1 75 15)(font "Arial" (font_size 8)))
(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 304 272 392 304))
)
(pin
(input)
(rect 304 240 472 256)
(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
(text "diny3" (rect 45 1 75 15)(font "Arial" (font_size 8)))
(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 304 208 392 240))
)
(pin
(input)
(rect 304 176 472 192)
(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
(text "diny2" (rect 45 1 75 15)(font "Arial" (font_size 8)))
(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 304 144 392 176))
)
(pin
(input)
(rect 304 16 472 32)
(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
(text "rst" (rect 58 1 73 15)(font "Arial" (font_size 8)))
(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 304 32 392 64))
)
(pin
(input)
(rect 304 112 472 128)
(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
(text "diny1" (rect 45 1 75 15)(font "Arial" (font_size 8)))
(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 304 80 392 112))
)
(pin
(input)
(rect 304 0 472 16)
(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
(text "clk_in" (rect 44 1 75 15)(font "Arial" (font_size 8)))
(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 304 -32 392 0))
)
(pin
(output)
(rect 1608 192 1784 208)
(text "OUTPUT" (rect 1 -1 39 9)(font "Arial" (font_size 6)))
(text "segment[6..0]" (rect 90 0 166 14)(font "Arial" (font_size 8)))
(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 1608 72 1696 184))
)
(pin
(output)
(rect 1616 280 1824 296)
(text "OUTPUT" (rect 1 -1 39 9)(font "Arial" (font_size 6)))
(text "com_dec_bit[5..0]" (rect 90 0 190 14)(font "Arial" (font_size 8)))
(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 1616 304 1704 408))
)
(pin
(output)
(rect 960 104 1136 120)
(text "OUTPUT" (rect 1 -1 39 9)(font "Arial" (font_size 6)))
(text "scan_out[3..0]" (rect 90 0 171 14)(font "Arial" (font_size 8)))
(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 1048 24 1136 96))
)
(symbol
(rect 488 288 600 352)
(text "qudou" (rect 33 -1 80 15)(font "Courier New" (font_size 10)(bold)))
(text "13" (rect 0 55 11 67)(font "Courier New" (bold)))
(port
(pt 0 24)
(input)
(text "diny" (rect 20 20 43 32)(font "Courier New" (bold)))
(text "diny" (rect 20 20 43 32)(font "Courier New" (bold)))
(line (pt 0 24)(pt 16 24)(line_width 1))
)
(port
(pt 0 40)
(input)
(text "clk" (rect 20 36 37 48)(font "Courier New" (bold)))
(text "clk" (rect 20 36 37 48)(font "Courier New" (bold)))
(line (pt 0 40)(pt 16 40)(line_width 1))
)
(port
(pt 112 24)
(output)
(text "qout" (rect 74 20 97 32)(font "Courier New" (bold)))
(text "qout" (rect 74 20 97 32)(font "Courier New" (bold)))
(line (pt 96 24)(pt 112 24)(line_width 1))
)
(drawing
(line (pt 16 48)(pt 96 48)(line_width 1))
(line (pt 16 16)(pt 96 16)(line_width 1))
(line (pt 16 48)(pt 16 16)(line_width 1))
(line (pt 96 48)(pt 96 16)(line_width 1))
)
)
(symbol
(rect 488 224 600 288)
(text "qudou" (rect 33 -1 80 15)(font "Courier New" (font_size 10)(bold)))
(text "11" (rect 0 55 11 67)(font "Courier New" (bold)))
(port
(pt 0 24)
(input)
(text "diny" (rect 20 20 43 32)(font "Courier New" (bold)))
(text "diny" (rect 20 20 43 32)(font "Courier New" (bold)))
(line (pt 0 24)(pt 16 24)(line_width 1))
)
(port
(pt 0 40)
(input)
(text "clk" (rect 20 36 37 48)(font "Courier New" (bold)))
(text "clk" (rect 20 36 37 48)(font "Courier New" (bold)))
(line (pt 0 40)(pt 16 40)(line_width 1))
)
(port
(pt 112 24)
(output)
(text "qout" (rect 74 20 97 32)(font "Courier New" (bold)))
(text "qout" (rect 74 20 97 32)(font "Courier New" (bold)))
(line (pt 96 24)(pt 112 24)(line_width 1))
)
(drawing
(line (pt 16 48)(pt 96 48)(line_width 1))
(line (pt 16 16)(pt 96 16)(line_width 1))
(line (pt 16 48)(pt 16 16)(line_width 1))
(line (pt 96 48)(pt 96 16)(line_width 1))
)
)
(symbol
(rect 488 160 600 224)
(text "qudou" (rect 33 -1 80 15)(font "Courier New" (font_size 10)(bold)))
(text "10" (rect 0 55 11 67)(font "Courier New" (bold)))
(port
(pt 0 24)
(input)
(text "diny" (rect 20 20 43 32)(font "Courier New" (bold)))
(text "diny" (rect 20 20 43 32)(font "Courier New" (bold)))
(line (pt 0 24)(pt 16 24)(line_width 1))
)
(port
(pt 0 40)
(input)
(text "clk" (rect 20 36 37 48)(font "Courier New" (bold)))
(text "clk" (rect 20 36 37 48)(font "Courier New" (bold)))
(line (pt 0 40)(pt 16 40)(line_width 1))
)
(port
(pt 112 24)
(output)
(text "qout" (rect 74 20 97 32)(font "Courier New" (bold)))
(text "qout" (rect 74 20 97 32)(font "Courier New" (bold)))
(line (pt 96 24)(pt 112 24)(line_width 1))
)
(drawing
(line (pt 16 48)(pt 96 48)(line_width 1))
(line (pt 16 16)(pt 96 16)(line_width 1))
(line (pt 16 48)(pt 16 16)(line_width 1))
(line (pt 96 48)(pt 96 16)(line_width 1))
)
)
(symbol
(rect 488 96 600 160)
(text "qudou" (rect 33 -1 80 15)(font "Courier New" (font_size 10)(bold)))
(text "6" (rect 0 55 5 67)(font "Courier New" (bold)))
(port
(pt 0 24)
(input)
(text "diny" (rect 20 20 43 32)(font "Courier New" (bold)))
(text "diny" (rect 20 20 43 32)(font "Courier New" (bold)))
(line (pt 0 24)(pt 16 24)(line_width 1))
)
(port
(pt 0 40)
(input)
(text "clk" (rect 20 36 37 48)(font "Courier New" (bold)))
(text "clk" (rect 20 36 37 48)(font "Courier New" (bold)))
(line (pt 0 40)(pt 16 40)(line_width 1))
)
(port
(pt 112 24)
(output)
(text "qout" (rect 74 20 97 32)(font "Courier New" (bold)))
(text "qout" (rect 74 20 97 32)(font "Courier New" (bold)))
(line (pt 96 24)(pt 112 24)(line_width 1))
)
(drawing
(line (pt 16 48)(pt 96 48)(line_width 1))
(line (pt 16 16)(pt 96 16)(line_width 1))
(line (pt 16 48)(pt 16 16)(line_width 1))
(line (pt 96 48)(pt 96 16)(line_width 1))
)
)
(symbol
(rect 1376 176 1600 224)
(text "decode47" (rect 74 -1 149 15)(font "Courier New" (font_size 10)(bold)))
(text "37" (rect 0 39 11 51)(font "Courier New" (bold)))
(port
(pt 0 24)
(input)
(text "dec[3..0]" (rect 20 20 73 32)(font "Courier New" (bold)))
(text "dec[3..0]" (rect 20 20 73 32)(font "Courier New" (bold)))
(line (pt 0 24)(pt 16 24)(line_width 3))
)
(port
(pt 224 24)
(output)
(text "segment[6..0]" (rect 141 20 217 32)(font "Courier New" (bold)))
(text "segment[6..0]" (rect 141 20 217 32)(font "Courier New" (bold)))
(line (pt 208 24)(pt 224 24)(line_width 3))
)
(drawing
(line (pt 16 32)(pt 208 32)(line_width 1))
(line (pt 16 16)(pt 208 16)(line_width 1))
(line (pt 16 32)(pt 16 16)(line_width 1))
(line (pt 208 32)(pt 208 16)(line_width 1))
)
)
(symbol
(rect 944 128 1136 256)
(text "mux1_6" (rect 68 -1 124 15)(font "Courier New" (font_size 10)(bold)))
(text "49" (rect 0 119 11 131)(font "Courier New" (bold)))
(port
(pt 0 40)
(input)
(text "in[3..0]" (rect 20 36 67 48)(font "Courier New" (bold)))
(text "in[3..0]" (rect 20 36 67 48)(font "Courier New" (bold)))
(line (pt 0 40)(pt 16 40)(line_width 3))
)
(port
(pt 0 56)
(input)
(text "rst" (rect 20 52 37 64)(font "Courier New" (bold)))
(text "rst" (rect 20 52 37 64)(font "Courier New" (bold)))
(line (pt 0 56)(pt 16 56)(line_width 1))
)
(port
(pt 0 72)
(input)
(text "clk" (rect 20 68 37 80)(font "Courier New" (bold)))
(text "clk" (rect 20 68 37 80)(font "Courier New" (bold)))
(line (pt 0 72)(pt 16 72)(line_width 1))
)
(port
(pt 0 88)
(input)
(text "int0" (rect 20 84 43 96)(font "Courier New" (bold)))
(text "int0" (rect 20 84 43 96)(font "Courier New" (bold)))
(line (pt 0 88)(pt 16 88)(line_width 1))
)
(port
(pt 192 24)
(output)
(text "out0[3..0]" (rect 124 20 183 32)(font "Courier New" (bold)))
(text "out0[3..0]" (rect 124 20 183 32)(font "Courier New" (bold)))
(line (pt 176 24)(pt 192 24)(line_width 3))
)
(port
(pt 192 40)
(output)
(text "out1[3..0]" (rect 124 36 183 48)(font "Courier New" (bold)))
(text "out1[3..0]" (rect 124 36 183 48)(font "Courier New" (bold)))
(line (pt 176 40)(pt 192 40)(line_width 3))
)
(port
(pt 192 56)
(output)
(text "out2[3..0]" (rect 124 52 183 64)(font "Courier New" (bold)))
(text "out2[3..0]" (rect 124 52 183 64)(font "Courier New" (bold)))
(line (pt 176 56)(pt 192 56)(line_width 3))
)
(port
(pt 192 72)
(output)
(text "out3[3..0]" (rect 124 68 183 80)(font "Courier New" (bold)))
(text "out3[3..0]" (rect 124 68 183 80)(font "Courier New" (bold)))
(line (pt 176 72)(pt 192 72)(line_width 3))
)
(port
(pt 192 88)
(output)
(text "out4[3..0]" (rect 124 84 183 96)(font "Courier New" (bold)))
(text "out4[3..0]" (rect 124 84 183 96)(font "Courier New" (bold)))
(line (pt 176 88)(pt 192 88)(line_width 3))
)
(port
(pt 192 104)
(output)
(text "out5[3..0]" (rect 124 100 183 112)(font "Courier New" (bold)))
(text "out5[3..0]" (rect 124 100 183 112)(font "Courier New" (bold)))
(line (pt 176 104)(pt 192 104)(line_width 3))
)
(drawing
(line (pt 16 112)(pt 176 112)(line_width 1))
(line (pt 16 16)(pt 176 16)(line_width 1))
(line (pt 16 112)(pt 16 16)(line_width 1))
(line (pt 176 112)(pt 176 16)(line_width 1))
)
)
(symbol
(rect 1160 128 1368 272)
(text "mux6_1" (rect 76 -1 132 15)(font "Courier New" (font_size 10)(bold)))
(text "53" (rect 0 135 11 147)(font "Courier New" (bold)))
(port
(pt 0 24)
(input)
(text "cnt0[3..0]" (rect 20 20 79 32)(font "Courier New" (bold)))
(text "cnt0[3..0]" (rect 20 20 79 32)(font "Courier New" (bold)))
(line (pt 0 24)(pt 16 24)(line_width 3))
)
(port
(pt 0 40)
(input)
(text "cnt1[3..0]" (rect 20 36 79 48)(font "Courier New" (bold)))
(text "cnt1[3..0]" (rect 20 36 79 48)(font "Courier New" (bold)))
(line (pt 0 40)(pt 16 40)(line_width 3))
)
(port
(pt 0 56)
(input)
(text "cnt2[3..0]" (rect 20 52 79 64)(font "Courier New" (bold)))
(text "cnt2[3..0]" (rect 20 52 79 64)(font "Courier New" (bold)))
(line (pt 0 56)(pt 16 56)(line_width 3))
)
(port
(pt 0 72)
(input)
(text "cnt3[3..0]" (rect 20 68 79 80)(font "Courier New" (bold)))
(text "cnt3[3..0]" (rect 20 68 79 80)(font "Courier New" (bold)))
(line (pt 0 72)(pt 16 72)(line_width 3))
)
(port
(pt 0 88)
(input)
(text "cnt4[3..0]" (rect 20 84 79 96)(font "Courier New" (bold)))
(text "cnt4[3..0]" (rect 20 84 79 96)(font "Courier New" (bold)))
(line (pt 0 88)(pt 16 88)(line_width 3))
)
(port
(pt 0 104)
(input)
(text "cnt5[3..0]" (rect 20 100 79 112)(font "Courier New" (bold)))
(text "cnt5[3..0]" (rect 20 100 79 112)(font "Courier New" (bold)))
(line (pt 0 104)(pt 16 104)(line_width 3))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -