📄 keyboard.bsf
字号:
/*
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-2006 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 "symbol" (version "1.1"))
(symbol
(rect 16 16 176 304)
(text "keyboard" (rect 5 0 58 14)(font "Arial" (font_size 8)))
(text "inst" (rect 8 272 25 284)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "clk" (rect 21 27 36 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "C[3..0]" (rect 0 0 36 14)(font "Arial" (font_size 8)))
(text "C[3..0]" (rect 21 43 57 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "clk1" (rect 0 0 22 14)(font "Arial" (font_size 8)))
(text "clk1" (rect 21 59 43 73)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 160 32)
(output)
(text "Q[3..0]" (rect 0 0 37 14)(font "Arial" (font_size 8)))
(text "Q[3..0]" (rect 102 27 139 41)(font "Arial" (font_size 8)))
(line (pt 160 32)(pt 144 32)(line_width 3))
)
(port
(pt 160 48)
(output)
(text "signal" (rect 0 0 33 14)(font "Arial" (font_size 8)))
(text "signal" (rect 106 43 139 57)(font "Arial" (font_size 8)))
(line (pt 160 48)(pt 144 48)(line_width 1))
)
(port
(pt 160 64)
(output)
(text "cfm" (rect 0 0 21 14)(font "Arial" (font_size 8)))
(text "cfm" (rect 118 59 139 73)(font "Arial" (font_size 8)))
(line (pt 160 64)(pt 144 64)(line_width 1))
)
(port
(pt 160 80)
(output)
(text "shift" (rect 0 0 24 14)(font "Arial" (font_size 8)))
(text "shift" (rect 115 75 139 89)(font "Arial" (font_size 8)))
(line (pt 160 80)(pt 144 80)(line_width 1))
)
(port
(pt 160 96)
(output)
(text "DATA[23..0]" (rect 0 0 69 14)(font "Arial" (font_size 8)))
(text "DATA[23..0]" (rect 70 91 139 105)(font "Arial" (font_size 8)))
(line (pt 160 96)(pt 144 96)(line_width 3))
)
(port
(pt 160 112)
(output)
(text "SEL0" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "SEL0" (rect 110 107 139 121)(font "Arial" (font_size 8)))
(line (pt 160 112)(pt 144 112)(line_width 1))
)
(port
(pt 160 128)
(output)
(text "SEL1" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "SEL1" (rect 110 123 139 137)(font "Arial" (font_size 8)))
(line (pt 160 128)(pt 144 128)(line_width 1))
)
(port
(pt 160 144)
(output)
(text "SEL2" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "SEL2" (rect 110 139 139 153)(font "Arial" (font_size 8)))
(line (pt 160 144)(pt 144 144)(line_width 1))
)
(port
(pt 160 160)
(output)
(text "OA" (rect 0 0 18 14)(font "Arial" (font_size 8)))
(text "OA" (rect 121 155 139 169)(font "Arial" (font_size 8)))
(line (pt 160 160)(pt 144 160)(line_width 1))
)
(port
(pt 160 176)
(output)
(text "OB" (rect 0 0 17 14)(font "Arial" (font_size 8)))
(text "OB" (rect 122 171 139 185)(font "Arial" (font_size 8)))
(line (pt 160 176)(pt 144 176)(line_width 1))
)
(port
(pt 160 192)
(output)
(text "OC" (rect 0 0 17 14)(font "Arial" (font_size 8)))
(text "OC" (rect 122 187 139 201)(font "Arial" (font_size 8)))
(line (pt 160 192)(pt 144 192)(line_width 1))
)
(port
(pt 160 208)
(output)
(text "OD" (rect 0 0 17 14)(font "Arial" (font_size 8)))
(text "OD" (rect 122 203 139 217)(font "Arial" (font_size 8)))
(line (pt 160 208)(pt 144 208)(line_width 1))
)
(port
(pt 160 224)
(output)
(text "OE" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "OE" (rect 123 219 139 233)(font "Arial" (font_size 8)))
(line (pt 160 224)(pt 144 224)(line_width 1))
)
(port
(pt 160 240)
(output)
(text "OF" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "OF" (rect 123 235 139 249)(font "Arial" (font_size 8)))
(line (pt 160 240)(pt 144 240)(line_width 1))
)
(port
(pt 160 256)
(output)
(text "OG" (rect 0 0 18 14)(font "Arial" (font_size 8)))
(text "OG" (rect 121 251 139 265)(font "Arial" (font_size 8)))
(line (pt 160 256)(pt 144 256)(line_width 1))
)
(drawing
(rectangle (rect 16 16 144 272)(line_width 1))
)
)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -