📄 key_matrix44.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-2008 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 16 80 184 96)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "clk" (rect 5 0 19 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)))
)
(pin
(input)
(rect 16 16 184 32)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "key_in[3..0]" (rect 5 0 64 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)))
)
(pin
(output)
(rect 736 64 912 80)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "key_value[3..0]" (rect 90 0 167 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 736 80 912 96)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "key_pressed" (rect 90 0 153 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 736 96 912 112)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "key_function" (rect 90 0 154 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 336 56 496 152)
(text "keysan" (rect 5 0 41 12)(font "Arial" ))
(text "inst" (rect 8 80 25 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk_scan" (rect 0 0 43 12)(font "Arial" ))
(text "clk_scan" (rect 21 27 64 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 160 32)
(output)
(text "keydrv[3..0]" (rect 0 0 61 12)(font "Arial" ))
(text "keydrv[3..0]" (rect 78 27 139 39)(font "Arial" ))
(line (pt 160 32)(pt 144 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 144 80)(line_width 1))
)
)
(symbol
(rect 208 56 320 152)
(text "clk_gen" (rect 5 0 42 12)(font "Arial" ))
(text "inst1" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 27 35 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 112 32)
(output)
(text "clk_scan" (rect 0 0 43 12)(font "Arial" ))
(text "clk_scan" (rect 48 27 91 39)(font "Arial" ))
(line (pt 112 32)(pt 96 32)(line_width 1))
)
(drawing
(rectangle (rect 16 16 96 80)(line_width 1))
)
)
(symbol
(rect 536 40 720 168)
(text "keydecoder_deb" (rect 5 0 86 12)(font "Arial" ))
(text "inst2" (rect 8 112 31 124)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "keyin[3..0]" (rect 0 0 53 12)(font "Arial" ))
(text "keyin[3..0]" (rect 21 27 74 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "keydrv[3..0]" (rect 0 0 61 12)(font "Arial" ))
(text "keydrv[3..0]" (rect 21 43 82 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 59 35 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "clk_scan" (rect 0 0 43 12)(font "Arial" ))
(text "clk_scan" (rect 21 75 64 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 184 32)
(output)
(text "keyvalue[3..0]" (rect 0 0 71 12)(font "Arial" ))
(text "keyvalue[3..0]" (rect 92 27 163 39)(font "Arial" ))
(line (pt 184 32)(pt 168 32)(line_width 3))
)
(port
(pt 184 48)
(output)
(text "keypressed" (rect 0 0 57 12)(font "Arial" ))
(text "keypressed" (rect 106 43 163 55)(font "Arial" ))
(line (pt 184 48)(pt 168 48)(line_width 1))
)
(port
(pt 184 64)
(output)
(text "functionkey" (rect 0 0 59 12)(font "Arial" ))
(text "functionkey" (rect 104 59 163 71)(font "Arial" ))
(line (pt 184 64)(pt 168 64)(line_width 1))
)
(drawing
(rectangle (rect 16 16 168 112)(line_width 1))
)
)
(connector
(pt 496 88)
(pt 536 88)
(bus)
)
(connector
(pt 536 104)
(pt 512 104)
)
(connector
(pt 512 104)
(pt 512 184)
)
(connector
(pt 536 120)
(pt 520 120)
)
(connector
(pt 184 24)
(pt 520 24)
(bus)
)
(connector
(pt 520 24)
(pt 520 72)
(bus)
)
(connector
(pt 536 72)
(pt 520 72)
(bus)
)
(connector
(pt 720 72)
(pt 736 72)
(bus)
)
(connector
(pt 720 88)
(pt 736 88)
)
(connector
(pt 720 104)
(pt 736 104)
)
(connector
(pt 192 88)
(pt 192 184)
)
(connector
(pt 512 184)
(pt 192 184)
)
(connector
(pt 184 88)
(pt 192 88)
)
(connector
(pt 192 88)
(pt 208 88)
)
(connector
(pt 328 88)
(pt 328 208)
)
(connector
(pt 328 208)
(pt 520 208)
)
(connector
(pt 520 120)
(pt 520 208)
)
(connector
(pt 320 88)
(pt 328 88)
)
(connector
(pt 328 88)
(pt 336 88)
)
(junction (pt 328 88))
(junction (pt 192 88))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -