📄 elec.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-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 "graphic" (version "1.3"))
(pin
(input)
(rect -160 120 8 136)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "KEY_IN[2..0]" (rect 5 0 71 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 -208 136 -160 184))
)
(pin
(input)
(rect -232 8 -64 24)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "CLK" (rect 5 0 26 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 -280 24 -232 40))
)
(pin
(output)
(rect 624 88 800 104)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "ENLOCK" (rect 90 0 134 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 136 826 152)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "DATA_BCD[7..0]" (rect 90 0 173 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 824 152 872 264))
)
(symbol
(rect -64 -16 48 80)
(text "FP" (rect 5 0 19 12)(font "Arial" ))
(text "inst2" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "CLK" (rect 0 0 21 12)(font "Arial" ))
(text "CLK" (rect 21 27 42 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 112 32)
(output)
(text "CLK_1K" (rect 0 0 40 12)(font "Arial" ))
(text "CLK_1K" (rect 51 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 104 80 312 240)
(text "KEYBOARD" (rect 5 0 66 12)(font "Arial" ))
(text "inst" (rect 8 144 25 156)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "CLK_1K" (rect 0 0 40 12)(font "Arial" ))
(text "CLK_1K" (rect 21 27 61 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "KEY_IN[2..0]" (rect 0 0 66 12)(font "Arial" ))
(text "KEY_IN[2..0]" (rect 21 43 87 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 208 32)
(output)
(text "CLK_SCAN[3..0]" (rect 0 0 83 12)(font "Arial" ))
(text "CLK_SCAN[3..0]" (rect 104 27 187 39)(font "Arial" ))
(line (pt 208 32)(pt 192 32)(line_width 3))
)
(port
(pt 208 48)
(output)
(text "DATA_N[3..0]" (rect 0 0 68 12)(font "Arial" ))
(text "DATA_N[3..0]" (rect 119 43 187 55)(font "Arial" ))
(line (pt 208 48)(pt 192 48)(line_width 3))
)
(port
(pt 208 64)
(output)
(text "DATA_F[3..0]" (rect 0 0 67 12)(font "Arial" ))
(text "DATA_F[3..0]" (rect 120 59 187 71)(font "Arial" ))
(line (pt 208 64)(pt 192 64)(line_width 3))
)
(port
(pt 208 80)
(output)
(text "FLAG_N" (rect 0 0 42 12)(font "Arial" ))
(text "FLAG_N" (rect 145 75 187 87)(font "Arial" ))
(line (pt 208 80)(pt 192 80)(line_width 1))
)
(port
(pt 208 96)
(output)
(text "FLAG_F" (rect 0 0 41 12)(font "Arial" ))
(text "FLAG_F" (rect 146 91 187 103)(font "Arial" ))
(line (pt 208 96)(pt 192 96)(line_width 1))
)
(port
(pt 208 112)
(output)
(text "CLK_CTR" (rect 0 0 49 12)(font "Arial" ))
(text "CLK_CTR" (rect 138 107 187 119)(font "Arial" ))
(line (pt 208 112)(pt 192 112)(line_width 1))
)
(port
(pt 208 128)
(output)
(text "CLK_DEBOUNCE" (rect 0 0 89 12)(font "Arial" ))
(text "CLK_DEBOUNCE" (rect 98 123 187 135)(font "Arial" ))
(line (pt 208 128)(pt 192 128)(line_width 1))
)
(drawing
(rectangle (rect 16 16 192 144)(line_width 1))
)
)
(symbol
(rect 360 96 568 224)
(text "CTRL" (rect 5 0 33 12)(font "Arial" ))
(text "inst1" (rect 8 112 31 124)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "DATA_N[3..0]" (rect 0 0 68 12)(font "Arial" ))
(text "DATA_N[3..0]" (rect 21 27 89 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "DATA_F[3..0]" (rect 0 0 67 12)(font "Arial" ))
(text "DATA_F[3..0]" (rect 21 43 88 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "FLAG_N" (rect 0 0 42 12)(font "Arial" ))
(text "FLAG_N" (rect 21 59 63 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "FLAG_F" (rect 0 0 41 12)(font "Arial" ))
(text "FLAG_F" (rect 21 75 62 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 0 96)
(input)
(text "CLK" (rect 0 0 21 12)(font "Arial" ))
(text "CLK" (rect 21 91 42 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 1))
)
(port
(pt 208 32)
(output)
(text "ENLOCK" (rect 0 0 44 12)(font "Arial" ))
(text "ENLOCK" (rect 143 27 187 39)(font "Arial" ))
(line (pt 208 32)(pt 192 32)(line_width 1))
)
(port
(pt 208 48)
(output)
(text "DATA_BCD[7..0]" (rect 0 0 83 12)(font "Arial" ))
(text "DATA_BCD[7..0]" (rect 104 43 187 55)(font "Arial" ))
(line (pt 208 48)(pt 192 48)(line_width 3))
)
(drawing
(rectangle (rect 16 16 192 112)(line_width 1))
)
)
(connector
(pt 312 128)
(pt 360 128)
(bus)
)
(connector
(pt 312 144)
(pt 360 144)
(bus)
)
(connector
(pt 312 160)
(pt 360 160)
)
(connector
(pt 312 176)
(pt 360 176)
)
(connector
(pt 312 192)
(pt 360 192)
)
(connector
(pt 568 128)
(pt 592 128)
)
(connector
(pt 592 128)
(pt 592 96)
)
(connector
(pt 592 96)
(pt 624 96)
)
(connector
(pt 48 16)
(pt 72 16)
)
(connector
(pt 72 16)
(pt 72 112)
)
(connector
(pt 72 112)
(pt 104 112)
)
(connector
(pt 8 128)
(pt 104 128)
(bus)
)
(connector
(text "DATA[7..0]" (rect 591 128 645 140)(font "Arial" ))
(pt 568 144)
(pt 648 144)
(bus)
)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -