📄 lift_comtrol_main.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 192 368)
(text "Lift_comtrol_main" (rect 5 0 93 12)(font "Arial" ))
(text "inst" (rect 8 336 25 348)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk0" (rect 0 0 20 12)(font "Arial" ))
(text "clk0" (rect 21 27 41 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "In_num1" (rect 0 0 42 12)(font "Arial" ))
(text "In_num1" (rect 21 43 63 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "In_num2" (rect 0 0 42 12)(font "Arial" ))
(text "In_num2" (rect 21 59 63 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "In_num3" (rect 0 0 42 12)(font "Arial" ))
(text "In_num3" (rect 21 75 63 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 0 96)
(input)
(text "In_num4" (rect 0 0 42 12)(font "Arial" ))
(text "In_num4" (rect 21 91 63 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 1))
)
(port
(pt 0 112)
(input)
(text "Out_up1" (rect 0 0 41 12)(font "Arial" ))
(text "Out_up1" (rect 21 107 62 119)(font "Arial" ))
(line (pt 0 112)(pt 16 112)(line_width 1))
)
(port
(pt 0 128)
(input)
(text "Out_up2" (rect 0 0 41 12)(font "Arial" ))
(text "Out_up2" (rect 21 123 62 135)(font "Arial" ))
(line (pt 0 128)(pt 16 128)(line_width 1))
)
(port
(pt 0 144)
(input)
(text "Out_up3" (rect 0 0 41 12)(font "Arial" ))
(text "Out_up3" (rect 21 139 62 151)(font "Arial" ))
(line (pt 0 144)(pt 16 144)(line_width 1))
)
(port
(pt 0 160)
(input)
(text "Out_down2" (rect 0 0 54 12)(font "Arial" ))
(text "Out_down2" (rect 21 155 75 167)(font "Arial" ))
(line (pt 0 160)(pt 16 160)(line_width 1))
)
(port
(pt 0 176)
(input)
(text "Out_down3" (rect 0 0 54 12)(font "Arial" ))
(text "Out_down3" (rect 21 171 75 183)(font "Arial" ))
(line (pt 0 176)(pt 16 176)(line_width 1))
)
(port
(pt 0 192)
(input)
(text "Out_down4" (rect 0 0 54 12)(font "Arial" ))
(text "Out_down4" (rect 21 187 75 199)(font "Arial" ))
(line (pt 0 192)(pt 16 192)(line_width 1))
)
(port
(pt 0 208)
(input)
(text "Time2" (rect 0 0 29 12)(font "Arial" ))
(text "Time2" (rect 21 203 50 215)(font "Arial" ))
(line (pt 0 208)(pt 16 208)(line_width 1))
)
(port
(pt 0 224)
(input)
(text "Time8" (rect 0 0 29 12)(font "Arial" ))
(text "Time8" (rect 21 219 50 231)(font "Arial" ))
(line (pt 0 224)(pt 16 224)(line_width 1))
)
(port
(pt 0 240)
(input)
(text "Floor_Time" (rect 0 0 54 12)(font "Arial" ))
(text "Floor_Time" (rect 21 235 75 247)(font "Arial" ))
(line (pt 0 240)(pt 16 240)(line_width 1))
)
(port
(pt 0 256)
(input)
(text "Reset" (rect 0 0 29 12)(font "Arial" ))
(text "Reset" (rect 21 251 50 263)(font "Arial" ))
(line (pt 0 256)(pt 16 256)(line_width 1))
)
(port
(pt 0 272)
(input)
(text "Lock" (rect 0 0 23 12)(font "Arial" ))
(text "Lock" (rect 21 267 44 279)(font "Arial" ))
(line (pt 0 272)(pt 16 272)(line_width 1))
)
(port
(pt 0 288)
(input)
(text "Alarm" (rect 0 0 28 12)(font "Arial" ))
(text "Alarm" (rect 21 283 49 295)(font "Arial" ))
(line (pt 0 288)(pt 16 288)(line_width 1))
)
(port
(pt 0 304)
(input)
(text "overweight" (rect 0 0 53 12)(font "Arial" ))
(text "overweight" (rect 21 299 74 311)(font "Arial" ))
(line (pt 0 304)(pt 16 304)(line_width 1))
)
(port
(pt 0 320)
(input)
(text "open" (rect 0 0 23 12)(font "Arial" ))
(text "open" (rect 21 315 44 327)(font "Arial" ))
(line (pt 0 320)(pt 16 320)(line_width 1))
)
(port
(pt 176 32)
(output)
(text "led1" (rect 0 0 20 12)(font "Arial" ))
(text "led1" (rect 135 27 155 39)(font "Arial" ))
(line (pt 176 32)(pt 160 32)(line_width 1))
)
(port
(pt 176 48)
(output)
(text "led2" (rect 0 0 20 12)(font "Arial" ))
(text "led2" (rect 135 43 155 55)(font "Arial" ))
(line (pt 176 48)(pt 160 48)(line_width 1))
)
(port
(pt 176 64)
(output)
(text "led3" (rect 0 0 20 12)(font "Arial" ))
(text "led3" (rect 135 59 155 71)(font "Arial" ))
(line (pt 176 64)(pt 160 64)(line_width 1))
)
(port
(pt 176 80)
(output)
(text "led4" (rect 0 0 20 12)(font "Arial" ))
(text "led4" (rect 135 75 155 87)(font "Arial" ))
(line (pt 176 80)(pt 160 80)(line_width 1))
)
(port
(pt 176 96)
(output)
(text "upled" (rect 0 0 25 12)(font "Arial" ))
(text "upled" (rect 130 91 155 103)(font "Arial" ))
(line (pt 176 96)(pt 160 96)(line_width 1))
)
(port
(pt 176 112)
(output)
(text "downled" (rect 0 0 38 12)(font "Arial" ))
(text "downled" (rect 117 107 155 119)(font "Arial" ))
(line (pt 176 112)(pt 160 112)(line_width 1))
)
(port
(pt 176 128)
(output)
(text "openled" (rect 0 0 37 12)(font "Arial" ))
(text "openled" (rect 118 123 155 135)(font "Arial" ))
(line (pt 176 128)(pt 160 128)(line_width 1))
)
(port
(pt 176 144)
(output)
(text "Start" (rect 0 0 23 12)(font "Arial" ))
(text "Start" (rect 132 139 155 151)(font "Arial" ))
(line (pt 176 144)(pt 160 144)(line_width 1))
)
(port
(pt 176 160)
(output)
(text "overweighted" (rect 0 0 64 12)(font "Arial" ))
(text "overweighted" (rect 91 155 155 167)(font "Arial" ))
(line (pt 176 160)(pt 160 160)(line_width 1))
)
(port
(pt 176 176)
(output)
(text "num1" (rect 0 0 27 12)(font "Arial" ))
(text "num1" (rect 128 171 155 183)(font "Arial" ))
(line (pt 176 176)(pt 160 176)(line_width 1))
)
(port
(pt 176 192)
(output)
(text "num2" (rect 0 0 27 12)(font "Arial" ))
(text "num2" (rect 128 187 155 199)(font "Arial" ))
(line (pt 176 192)(pt 160 192)(line_width 1))
)
(port
(pt 176 208)
(output)
(text "num3" (rect 0 0 27 12)(font "Arial" ))
(text "num3" (rect 128 203 155 215)(font "Arial" ))
(line (pt 176 208)(pt 160 208)(line_width 1))
)
(port
(pt 176 224)
(output)
(text "num4" (rect 0 0 27 12)(font "Arial" ))
(text "num4" (rect 128 219 155 231)(font "Arial" ))
(line (pt 176 224)(pt 160 224)(line_width 1))
)
(port
(pt 176 240)
(output)
(text "up1" (rect 0 0 17 12)(font "Arial" ))
(text "up1" (rect 138 235 155 247)(font "Arial" ))
(line (pt 176 240)(pt 160 240)(line_width 1))
)
(port
(pt 176 256)
(output)
(text "up2" (rect 0 0 17 12)(font "Arial" ))
(text "up2" (rect 138 251 155 263)(font "Arial" ))
(line (pt 176 256)(pt 160 256)(line_width 1))
)
(port
(pt 176 272)
(output)
(text "up3" (rect 0 0 17 12)(font "Arial" ))
(text "up3" (rect 138 267 155 279)(font "Arial" ))
(line (pt 176 272)(pt 160 272)(line_width 1))
)
(port
(pt 176 288)
(output)
(text "down2" (rect 0 0 30 12)(font "Arial" ))
(text "down2" (rect 125 283 155 295)(font "Arial" ))
(line (pt 176 288)(pt 160 288)(line_width 1))
)
(port
(pt 176 304)
(output)
(text "down3" (rect 0 0 30 12)(font "Arial" ))
(text "down3" (rect 125 299 155 311)(font "Arial" ))
(line (pt 176 304)(pt 160 304)(line_width 1))
)
(port
(pt 176 320)
(output)
(text "down4" (rect 0 0 30 12)(font "Arial" ))
(text "down4" (rect 125 315 155 327)(font "Arial" ))
(line (pt 176 320)(pt 160 320)(line_width 1))
)
(drawing
(rectangle (rect 16 16 160 336)(line_width 1))
)
)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -