📄 lift.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 -392 -32 -224 -16)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "upone" (rect 5 0 34 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 "GND" (rect 136 7 157 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect -416 64 -248 80)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "uptwo" (rect 5 0 33 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 "GND" (rect 136 7 157 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect -416 160 -248 176)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "downtwo" (rect 5 0 46 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 "GND" (rect 136 7 157 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect -416 256 -248 272)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "downthree" (rect 5 0 54 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 "GND" (rect 136 7 157 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect -416 360 -248 376)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "one" (rect 5 0 22 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 "GND" (rect 136 7 157 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect -152 24 16 40)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "two" (rect 5 0 21 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 "GND" (rect 136 7 157 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect -152 120 16 136)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "three" (rect 5 0 29 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 "GND" (rect 136 7 157 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect -152 216 16 232)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "reset" (rect 5 0 29 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 "GND" (rect 136 7 157 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect -152 312 16 328)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "over" (rect 5 0 27 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 "GND" (rect 136 7 157 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect -152 408 16 424)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "emergency" (rect 5 0 60 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 "GND" (rect 136 7 157 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 344 408 512 424)
(text "INPUT" (rect 7 0 35 10)(font "Arial" (font_size 6)))
(text "lock" (rect 104 0 124 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 76 12)(pt 51 12)(line_width 1))
(line (pt 76 4)(pt 51 4)(line_width 1))
(line (pt 47 8)(pt 0 8)(line_width 1))
(line (pt 76 12)(pt 76 4)(line_width 1))
(line (pt 51 4)(pt 47 8)(line_width 1))
(line (pt 51 12)(pt 47 8)(line_width 1))
)
(flipy)
(text "GND" (rect 12 7 33 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect -488 -48 -320 -32)
(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
(output)
(rect 424 144 600 160)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "arrive" (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))
)
)
(pin
(output)
(rect 424 128 600 144)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "lightdown[6..0]" (rect 90 0 160 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 424 112 600 128)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "lightup[6..0]" (rect 90 0 147 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 424 80 600 96)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "locklight" (rect 90 0 130 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 424 64 600 80)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "ovelight" (rect 90 0 128 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 424 48 600 64)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "alarm" (rect 90 0 117 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 696 -56 872 -40)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "serout[6..0]" (rect 90 0 146 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 248 24 424 280)
(text "control" (rect 5 0 38 12)(font "Arial" ))
(text "inst" (rect 8 240 25 252)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "upone" (rect 0 0 29 12)(font "Arial" ))
(text "upone" (rect 21 27 50 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "uptwo" (rect 0 0 28 12)(font "Arial" ))
(text "uptwo" (rect 21 43 49 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "downtwo" (rect 0 0 41 12)(font "Arial" ))
(text "downtwo" (rect 21 59 62 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "downthree" (rect 0 0 49 12)(font "Arial" ))
(text "downthree" (rect 21 75 70 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 0 96)
(input)
(text "one" (rect 0 0 17 12)(font "Arial" ))
(text "one" (rect 21 91 38 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 1))
)
(port
(pt 0 112)
(input)
(text "two" (rect 0 0 16 12)(font "Arial" ))
(text "two" (rect 21 107 37 119)(font "Arial" ))
(line (pt 0 112)(pt 16 112)(line_width 1))
)
(port
(pt 0 128)
(input)
(text "three" (rect 0 0 24 12)(font "Arial" ))
(text "three" (rect 21 123 45 135)(font "Arial" ))
(line (pt 0 128)(pt 16 128)(line_width 1))
)
(port
(pt 0 144)
(input)
(text "reset" (rect 0 0 24 12)(font "Arial" ))
(text "reset" (rect 21 139 45 151)(font "Arial" ))
(line (pt 0 144)(pt 16 144)(line_width 1))
)
(port
(pt 0 160)
(input)
(text "over" (rect 0 0 22 12)(font "Arial" ))
(text "over" (rect 21 155 43 167)(font "Arial" ))
(line (pt 0 160)(pt 16 160)(line_width 1))
)
(port
(pt 0 176)
(input)
(text "emergency" (rect 0 0 55 12)(font "Arial" ))
(text "emergency" (rect 21 171 76 183)(font "Arial" ))
(line (pt 0 176)(pt 16 176)(line_width 1))
)
(port
(pt 0 192)
(input)
(text "lock" (rect 0 0 20 12)(font "Arial" ))
(text "lock" (rect 21 187 41 199)(font "Arial" ))
(line (pt 0 192)(pt 16 192)(line_width 1))
)
(port
(pt 0 208)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 203 35 215)(font "Arial" ))
(line (pt 0 208)(pt 16 208)(line_width 1))
)
(port
(pt 176 32)
(output)
(text "alarm" (rect 0 0 27 12)(font "Arial" ))
(text "alarm" (rect 128 27 155 39)(font "Arial" ))
(line (pt 176 32)(pt 160 32)(line_width 1))
)
(port
(pt 176 48)
(output)
(text "ovelight" (rect 0 0 38 12)(font "Arial" ))
(text "ovelight" (rect 117 43 155 55)(font "Arial" ))
(line (pt 176 48)(pt 160 48)(line_width 1))
)
(port
(pt 176 64)
(output)
(text "locklight" (rect 0 0 40 12)(font "Arial" ))
(text "locklight" (rect 115 59 155 71)(font "Arial" ))
(line (pt 176 64)(pt 160 64)(line_width 1))
)
(port
(pt 176 80)
(output)
(text "p[1..0]" (rect 0 0 31 12)(font "Arial" ))
(text "p[1..0]" (rect 124 75 155 87)(font "Arial" ))
(line (pt 176 80)(pt 160 80)(line_width 3))
)
(port
(pt 176 96)
(output)
(text "lightup[6..0]" (rect 0 0 57 12)(font "Arial" ))
(text "lightup[6..0]" (rect 98 91 155 103)(font "Arial" ))
(line (pt 176 96)(pt 160 96)(line_width 3))
)
(port
(pt 176 112)
(output)
(text "lightdown[6..0]" (rect 0 0 70 12)(font "Arial" ))
(text "lightdown[6..0]" (rect 85 107 155 119)(font "Arial" ))
(line (pt 176 112)(pt 160 112)(line_width 3))
)
(port
(pt 176 128)
(output)
(text "arrive" (rect 0 0 28 12)(font "Arial" ))
(text "arrive" (rect 127 123 155 135)(font "Arial" ))
(line (pt 176 128)(pt 160 128)(line_width 1))
)
(drawing
(rectangle (rect 16 16 160 240)(line_width 1))
)
)
(symbol
(rect 536 -80 696 16)
(text "display" (rect 5 0 40 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 0 48)
(input)
(text "light[1..0]" (rect 0 0 46 12)(font "Arial" ))
(text "light[1..0]" (rect 21 43 67 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 160 32)
(output)
(text "serout[6..0]" (rect 0 0 56 12)(font "Arial" ))
(text "serout[6..0]" (rect 83 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 -224 -72 -128 24)
(text "unshake" (rect 5 0 46 12)(font "Arial" ))
(text "inst2" (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 0 48)
(input)
(text "key" (rect 0 0 18 12)(font "Arial" ))
(text "key" (rect 21 43 39 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 96 32)
(output)
(text "keyout" (rect 0 0 34 12)(font "Arial" ))
(text "keyout" (rect 41 27 75 39)(font "Arial" ))
(line (pt 96 32)(pt 80 32)(line_width 1))
)
(drawing
(rectangle (rect 16 16 80 80)(line_width 1))
)
)
(symbol
(rect -248 24 -152 120)
(text "unshake" (rect 5 0 46 12)(font "Arial" ))
(text "inst3" (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 0 48)
(input)
(text "key" (rect 0 0 18 12)(font "Arial" ))
(text "key" (rect 21 43 39 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 96 32)
(output)
(text "keyout" (rect 0 0 34 12)(font "Arial" ))
(text "keyout" (rect 41 27 75 39)(font "Arial" ))
(line (pt 96 32)(pt 80 32)(line_width 1))
)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -