📄 keyboard.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 472 384 488 552)
(text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical))
(text "r1" (rect 1 115 13 124)(font "Arial" )(vertical))
(pt 8 0)
(drawing
(line (pt 12 76)(pt 12 51)(line_width 1))
(line (pt 4 76)(pt 4 51)(line_width 1))
(line (pt 8 47)(pt 8 0)(line_width 1))
(line (pt 12 76)(pt 4 76)(line_width 1))
(line (pt 4 51)(pt 8 47)(line_width 1))
(line (pt 12 51)(pt 8 47)(line_width 1))
)
(rotate90)
(text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical))
)
(pin
(input)
(rect 488 384 504 552)
(text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical))
(text "r2" (rect 0 116 12 125)(font "Arial" )(vertical))
(pt 8 0)
(drawing
(line (pt 12 76)(pt 12 51)(line_width 1))
(line (pt 4 76)(pt 4 51)(line_width 1))
(line (pt 8 47)(pt 8 0)(line_width 1))
(line (pt 12 76)(pt 4 76)(line_width 1))
(line (pt 4 51)(pt 8 47)(line_width 1))
(line (pt 12 51)(pt 8 47)(line_width 1))
)
(rotate90)
(text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical))
)
(pin
(input)
(rect 504 384 520 558)
(text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical))
(text "r3" (rect 0 116 12 125)(font "Arial" )(vertical))
(pt 8 0)
(drawing
(line (pt 12 76)(pt 12 51)(line_width 1))
(line (pt 4 76)(pt 4 51)(line_width 1))
(line (pt 8 47)(pt 8 0)(line_width 1))
(line (pt 12 76)(pt 4 76)(line_width 1))
(line (pt 4 51)(pt 8 47)(line_width 1))
(line (pt 12 51)(pt 8 47)(line_width 1))
)
(rotate90)
(text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical))
)
(pin
(input)
(rect 520 384 536 564)
(text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical))
(text "r4" (rect 0 116 12 125)(font "Arial" )(vertical))
(pt 8 0)
(drawing
(line (pt 12 76)(pt 12 51)(line_width 1))
(line (pt 4 76)(pt 4 51)(line_width 1))
(line (pt 8 47)(pt 8 0)(line_width 1))
(line (pt 12 76)(pt 4 76)(line_width 1))
(line (pt 4 51)(pt 8 47)(line_width 1))
(line (pt 12 51)(pt 8 47)(line_width 1))
)
(rotate90)
(text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical))
)
(pin
(input)
(rect 696 224 864 240)
(text "INPUT" (rect 7 6 35 16)(font "Arial" (font_size 6)))
(text "clock" (rect 116 4 141 16)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 76 4)(pt 51 4)(line_width 1))
(line (pt 76 12)(pt 51 12)(line_width 1))
(line (pt 47 8)(pt 0 8)(line_width 1))
(line (pt 76 4)(pt 76 12)(line_width 1))
(line (pt 51 12)(pt 47 8)(line_width 1))
(line (pt 51 4)(pt 47 8)(line_width 1))
)
(rotate180)
(text "VCC" (rect 12 -1 32 9)(font "Arial" (font_size 6)))
)
(pin
(output)
(rect 648 -136 824 -120)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "col1" (rect 90 0 110 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))
)
)
(pin
(output)
(rect 648 -112 824 -96)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "col2" (rect 90 0 110 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))
)
)
(pin
(output)
(rect 648 -88 824 -72)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "col3" (rect 90 0 110 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))
)
)
(pin
(output)
(rect 648 -64 824 -48)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "col4" (rect 90 0 110 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))
)
)
(pin
(output)
(rect 648 -40 824 -24)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "row1" (rect 90 0 112 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))
)
)
(pin
(output)
(rect 648 -16 824 0)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "row2" (rect 90 0 112 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))
)
)
(pin
(output)
(rect 648 8 824 24)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "row3" (rect 90 0 112 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))
)
)
(pin
(output)
(rect 648 32 824 48)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "row4" (rect 90 0 112 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))
)
)
(pin
(output)
(rect 160 376 176 552)
(text "OUTPUT" (rect 6 1 16 39)(font "Arial" (font_size 6))(vertical))
(text "c1" (rect 4 90 16 101)(font "Arial" )(vertical))
(pt 8 0)
(drawing
(line (pt 8 0)(pt 8 52)(line_width 1))
(line (pt 12 52)(pt 12 78)(line_width 1))
(line (pt 4 52)(pt 4 78)(line_width 1))
(line (pt 4 52)(pt 12 52)(line_width 1))
(line (pt 12 78)(pt 8 82)(line_width 1))
(line (pt 8 82)(pt 4 78)(line_width 1))
(line (pt 4 78)(pt 8 82)(line_width 1))
)
(rotate270)
)
(pin
(output)
(rect 176 376 192 552)
(text "OUTPUT" (rect 6 1 16 39)(font "Arial" (font_size 6))(vertical))
(text "c2" (rect 4 90 16 101)(font "Arial" )(vertical))
(pt 8 0)
(drawing
(line (pt 8 0)(pt 8 52)(line_width 1))
(line (pt 12 52)(pt 12 78)(line_width 1))
(line (pt 4 52)(pt 4 78)(line_width 1))
(line (pt 4 52)(pt 12 52)(line_width 1))
(line (pt 12 78)(pt 8 82)(line_width 1))
(line (pt 8 82)(pt 4 78)(line_width 1))
(line (pt 4 78)(pt 8 82)(line_width 1))
)
(rotate270)
)
(pin
(output)
(rect 192 376 208 552)
(text "OUTPUT" (rect 6 1 16 39)(font "Arial" (font_size 6))(vertical))
(text "c3" (rect 4 90 16 101)(font "Arial" )(vertical))
(pt 8 0)
(drawing
(line (pt 8 0)(pt 8 52)(line_width 1))
(line (pt 12 52)(pt 12 78)(line_width 1))
(line (pt 4 52)(pt 4 78)(line_width 1))
(line (pt 4 52)(pt 12 52)(line_width 1))
(line (pt 12 78)(pt 8 82)(line_width 1))
(line (pt 8 82)(pt 4 78)(line_width 1))
(line (pt 4 78)(pt 8 82)(line_width 1))
)
(rotate270)
)
(pin
(output)
(rect 208 376 224 552)
(text "OUTPUT" (rect 6 1 16 39)(font "Arial" (font_size 6))(vertical))
(text "c4" (rect 4 90 16 101)(font "Arial" )(vertical))
(pt 8 0)
(drawing
(line (pt 8 0)(pt 8 52)(line_width 1))
(line (pt 12 52)(pt 12 78)(line_width 1))
(line (pt 4 52)(pt 4 78)(line_width 1))
(line (pt 4 52)(pt 12 52)(line_width 1))
(line (pt 12 78)(pt 8 82)(line_width 1))
(line (pt 8 82)(pt 4 78)(line_width 1))
(line (pt 4 78)(pt 8 82)(line_width 1))
)
(rotate270)
)
(pin
(output)
(rect 648 592 824 608)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "report" (rect 90 0 118 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 240 56 424 176)
(text "74161" (rect 0 34 16 75)(font "Arial" (font_size 10))(vertical))
(text "inst1" (rect 173 94 185 117)(font "Arial" )(vertical))
(port
(pt 136 120)
(input)
(text "CLRN" (rect 21 129 52 143)(font "Arial" (font_size 8)))
(text "CLRN" (rect 129 68 143 99)(font "Arial" (font_size 8))(vertical))
(line (pt 136 120)(pt 136 112)(line_width 1))
)
(port
(pt 160 120)
(input)
(text "CLK" (rect 21 153 44 167)(font "Arial" (font_size 8)))
(text "CLK" (rect 153 76 167 99)(font "Arial" (font_size 8))(vertical))
(line (pt 160 120)(pt 160 104)(line_width 1))
)
(port
(pt 120 120)
(input)
(text "ENP" (rect 21 113 43 127)(font "Arial" (font_size 8)))
(text "ENP" (rect 113 77 127 99)(font "Arial" (font_size 8))(vertical))
(line (pt 120 120)(pt 120 104)(line_width 1))
)
(port
(pt 24 120)
(input)
(text "LDN" (rect 21 17 44 31)(font "Arial" (font_size 8)))
(text "LDN" (rect 17 76 31 99)(font "Arial" (font_size 8))(vertical))
(line (pt 24 120)(pt 24 112)(line_width 1))
)
(port
(pt 40 120)
(input)
(text "A" (rect 21 33 30 47)(font "Arial" (font_size 8)))
(text "A" (rect 33 90 47 99)(font "Arial" (font_size 8))(vertical))
(line (pt 40 120)(pt 40 104)(line_width 1))
)
(port
(pt 88 120)
(input)
(text "D" (rect 21 81 29 95)(font "Arial" (font_size 8)))
(text "D" (rect 81 91 95 99)(font "Arial" (font_size 8))(vertical))
(line (pt 88 120)(pt 88 104)(line_width 1))
)
(port
(pt 104 120)
(input)
(text "ENT" (rect 21 97 43 111)(font "Arial" (font_size 8)))
(text "ENT" (rect 97 77 111 99)(font "Arial" (font_size 8))(vertical))
(line (pt 104 120)(pt 104 104)(line_width 1))
)
(port
(pt 56 120)
(input)
(text "B" (rect 21 49 29 63)(font "Arial" (font_size 8)))
(text "B" (rect 49 91 63 99)(font "Arial" (font_size 8))(vertical))
(line (pt 56 120)(pt 56 104)(line_width 1))
)
(port
(pt 72 120)
(input)
(text "C" (rect 21 65 29 79)(font "Arial" (font_size 8)))
(text "C" (rect 65 91 79 99)(font "Arial" (font_size 8))(vertical))
(line (pt 72 120)(pt 72 104)(line_width 1))
)
(port
(pt 104 0)
(output)
(text "QD" (rect 85 97 102 111)(font "Arial" (font_size 8)))
(text "QD" (rect 97 18 111 35)(font "Arial" (font_size 8))(vertical))
(line (pt 104 16)(pt 104 0)(line_width 1))
)
(port
(pt 88 0)
(output)
(text "QC" (rect 85 81 102 95)(font "Arial" (font_size 8)))
(text "QC" (rect 81 18 95 35)(font "Arial" (font_size 8))(vertical))
(line (pt 88 16)(pt 88 0)(line_width 1))
)
(port
(pt 72 0)
(output)
(text "QB" (rect 85 65 102 79)(font "Arial" (font_size 8)))
(text "QB" (rect 65 18 79 35)(font "Arial" (font_size 8))(vertical))
(line (pt 72 16)(pt 72 0)(line_width 1))
)
(port
(pt 56 0)
(output)
(text "QA" (rect 85 49 103 63)(font "Arial" (font_size 8)))
(text "QA" (rect 49 17 63 35)(font "Arial" (font_size 8))(vertical))
(line (pt 56 16)(pt 56 0)(line_width 1))
)
(port
(pt 120 0)
(output)
(text "RCO" (rect 77 113 102 127)(font "Arial" (font_size 8)))
(text "RCO" (rect 113 18 127 43)(font "Arial" (font_size 8))(vertical))
(line (pt 120 16)(pt 120 0)(line_width 1))
)
(drawing
(text "COUNTER" (rect 169 26 183 82)(font "Arial" (font_size 8))(vertical))
(line (pt 16 104)(pt 16 16)(line_width 1))
(line (pt 168 104)(pt 168 16)(line_width 1))
(line (pt 168 104)(pt 16 104)(line_width 1))
(line (pt 168 16)(pt 16 16)(line_width 1))
(circle (rect 20 104 28 112)(line_width 1))
(circle (rect 132 104 140 112)(line_width 1))
)
(rotate90)
)
(symbol
(rect 440 56 624 176)
(text "74161" (rect 0 34 16 75)(font "Arial" (font_size 10))(vertical))
(text "inst2" (rect 173 94 185 117)(font "Arial" )(vertical))
(port
(pt 136 120)
(input)
(text "CLRN" (rect 21 129 52 143)(font "Arial" (font_size 8)))
(text "CLRN" (rect 129 68 143 99)(font "Arial" (font_size 8))(vertical))
(line (pt 136 120)(pt 136 112)(line_width 1))
)
(port
(pt 160 120)
(input)
(text "CLK" (rect 21 153 44 167)(font "Arial" (font_size 8)))
(text "CLK" (rect 153 76 167 99)(font "Arial" (font_size 8))(vertical))
(line (pt 160 120)(pt 160 104)(line_width 1))
)
(port
(pt 120 120)
(input)
(text "ENP" (rect 21 113 43 127)(font "Arial" (font_size 8)))
(text "ENP" (rect 113 77 127 99)(font "Arial" (font_size 8))(vertical))
(line (pt 120 120)(pt 120 104)(line_width 1))
)
(port
(pt 24 120)
(input)
(text "LDN" (rect 21 17 44 31)(font "Arial" (font_size 8)))
(text "LDN" (rect 17 76 31 99)(font "Arial" (font_size 8))(vertical))
(line (pt 24 120)(pt 24 112)(line_width 1))
)
(port
(pt 40 120)
(input)
(text "A" (rect 21 33 30 47)(font "Arial" (font_size 8)))
(text "A" (rect 33 90 47 99)(font "Arial" (font_size 8))(vertical))
(line (pt 40 120)(pt 40 104)(line_width 1))
)
(port
(pt 88 120)
(input)
(text "D" (rect 21 81 29 95)(font "Arial" (font_size 8)))
(text "D" (rect 81 91 95 99)(font "Arial" (font_size 8))(vertical))
(line (pt 88 120)(pt 88 104)(line_width 1))
)
(port
(pt 104 120)
(input)
(text "ENT" (rect 21 97 43 111)(font "Arial" (font_size 8)))
(text "ENT" (rect 97 77 111 99)(font "Arial" (font_size 8))(vertical))
(line (pt 104 120)(pt 104 104)(line_width 1))
)
(port
(pt 56 120)
(input)
(text "B" (rect 21 49 29 63)(font "Arial" (font_size 8)))
(text "B" (rect 49 91 63 99)(font "Arial" (font_size 8))(vertical))
(line (pt 56 120)(pt 56 104)(line_width 1))
)
(port
(pt 72 120)
(input)
(text "C" (rect 21 65 29 79)(font "Arial" (font_size 8)))
(text "C" (rect 65 91 79 99)(font "Arial" (font_size 8))(vertical))
(line (pt 72 120)(pt 72 104)(line_width 1))
)
(port
(pt 104 0)
(output)
(text "QD" (rect 85 97 102 111)(font "Arial" (font_size 8)))
(text "QD" (rect 97 18 111 35)(font "Arial" (font_size 8))(vertical))
(line (pt 104 16)(pt 104 0)(line_width 1))
)
(port
(pt 88 0)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -