⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 elevator.bsf

📁 大量VHDL写的数字系统设计有用实例达到
💻 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-2007 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.
*/
(header "symbol" (version "1.1"))
(symbol
	(rect 16 16 144 496)
	(text "elevator" (rect 5 0 45 12)(font "Arial" ))
	(text "inst" (rect 8 464 25 476)(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 "full" (rect 0 0 15 12)(font "Arial" ))
		(text "full" (rect 21 43 36 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "stop" (rect 0 0 21 12)(font "Arial" ))
		(text "stop" (rect 21 59 42 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 0 80)
		(input)
		(text "close" (rect 0 0 25 12)(font "Arial" ))
		(text "close" (rect 21 75 46 87)(font "Arial" ))
		(line (pt 0 80)(pt 16 80)(line_width 1))
	)
	(port
		(pt 0 96)
		(input)
		(text "clr" (rect 0 0 11 12)(font "Arial" ))
		(text "clr" (rect 21 91 32 103)(font "Arial" ))
		(line (pt 0 96)(pt 16 96)(line_width 1))
	)
	(port
		(pt 0 112)
		(input)
		(text "up1" (rect 0 0 17 12)(font "Arial" ))
		(text "up1" (rect 21 107 38 119)(font "Arial" ))
		(line (pt 0 112)(pt 16 112)(line_width 1))
	)
	(port
		(pt 0 128)
		(input)
		(text "up2" (rect 0 0 17 12)(font "Arial" ))
		(text "up2" (rect 21 123 38 135)(font "Arial" ))
		(line (pt 0 128)(pt 16 128)(line_width 1))
	)
	(port
		(pt 0 144)
		(input)
		(text "up3" (rect 0 0 17 12)(font "Arial" ))
		(text "up3" (rect 21 139 38 151)(font "Arial" ))
		(line (pt 0 144)(pt 16 144)(line_width 1))
	)
	(port
		(pt 0 160)
		(input)
		(text "up4" (rect 0 0 17 12)(font "Arial" ))
		(text "up4" (rect 21 155 38 167)(font "Arial" ))
		(line (pt 0 160)(pt 16 160)(line_width 1))
	)
	(port
		(pt 0 176)
		(input)
		(text "up5" (rect 0 0 17 12)(font "Arial" ))
		(text "up5" (rect 21 171 38 183)(font "Arial" ))
		(line (pt 0 176)(pt 16 176)(line_width 1))
	)
	(port
		(pt 0 192)
		(input)
		(text "down2" (rect 0 0 30 12)(font "Arial" ))
		(text "down2" (rect 21 187 51 199)(font "Arial" ))
		(line (pt 0 192)(pt 16 192)(line_width 1))
	)
	(port
		(pt 0 208)
		(input)
		(text "down3" (rect 0 0 30 12)(font "Arial" ))
		(text "down3" (rect 21 203 51 215)(font "Arial" ))
		(line (pt 0 208)(pt 16 208)(line_width 1))
	)
	(port
		(pt 0 224)
		(input)
		(text "down4" (rect 0 0 30 12)(font "Arial" ))
		(text "down4" (rect 21 219 51 231)(font "Arial" ))
		(line (pt 0 224)(pt 16 224)(line_width 1))
	)
	(port
		(pt 0 240)
		(input)
		(text "down5" (rect 0 0 30 12)(font "Arial" ))
		(text "down5" (rect 21 235 51 247)(font "Arial" ))
		(line (pt 0 240)(pt 16 240)(line_width 1))
	)
	(port
		(pt 0 256)
		(input)
		(text "down6" (rect 0 0 30 12)(font "Arial" ))
		(text "down6" (rect 21 251 51 263)(font "Arial" ))
		(line (pt 0 256)(pt 16 256)(line_width 1))
	)
	(port
		(pt 0 272)
		(input)
		(text "k1" (rect 0 0 11 12)(font "Arial" ))
		(text "k1" (rect 21 267 32 279)(font "Arial" ))
		(line (pt 0 272)(pt 16 272)(line_width 1))
	)
	(port
		(pt 0 288)
		(input)
		(text "k2" (rect 0 0 11 12)(font "Arial" ))
		(text "k2" (rect 21 283 32 295)(font "Arial" ))
		(line (pt 0 288)(pt 16 288)(line_width 1))
	)
	(port
		(pt 0 304)
		(input)
		(text "k3" (rect 0 0 11 12)(font "Arial" ))
		(text "k3" (rect 21 299 32 311)(font "Arial" ))
		(line (pt 0 304)(pt 16 304)(line_width 1))
	)
	(port
		(pt 0 320)
		(input)
		(text "k4" (rect 0 0 11 12)(font "Arial" ))
		(text "k4" (rect 21 315 32 327)(font "Arial" ))
		(line (pt 0 320)(pt 16 320)(line_width 1))
	)
	(port
		(pt 0 336)
		(input)
		(text "k5" (rect 0 0 11 12)(font "Arial" ))
		(text "k5" (rect 21 331 32 343)(font "Arial" ))
		(line (pt 0 336)(pt 16 336)(line_width 1))
	)
	(port
		(pt 0 352)
		(input)
		(text "k6" (rect 0 0 11 12)(font "Arial" ))
		(text "k6" (rect 21 347 32 359)(font "Arial" ))
		(line (pt 0 352)(pt 16 352)(line_width 1))
	)
	(port
		(pt 0 368)
		(input)
		(text "g1" (rect 0 0 11 12)(font "Arial" ))
		(text "g1" (rect 21 363 32 375)(font "Arial" ))
		(line (pt 0 368)(pt 16 368)(line_width 1))
	)
	(port
		(pt 0 384)
		(input)
		(text "g2" (rect 0 0 11 12)(font "Arial" ))
		(text "g2" (rect 21 379 32 391)(font "Arial" ))
		(line (pt 0 384)(pt 16 384)(line_width 1))
	)
	(port
		(pt 0 400)
		(input)
		(text "g3" (rect 0 0 11 12)(font "Arial" ))
		(text "g3" (rect 21 395 32 407)(font "Arial" ))
		(line (pt 0 400)(pt 16 400)(line_width 1))
	)
	(port
		(pt 0 416)
		(input)
		(text "g4" (rect 0 0 11 12)(font "Arial" ))
		(text "g4" (rect 21 411 32 423)(font "Arial" ))
		(line (pt 0 416)(pt 16 416)(line_width 1))
	)
	(port
		(pt 0 432)
		(input)
		(text "g5" (rect 0 0 11 12)(font "Arial" ))
		(text "g5" (rect 21 427 32 439)(font "Arial" ))
		(line (pt 0 432)(pt 16 432)(line_width 1))
	)
	(port
		(pt 0 448)
		(input)
		(text "g6" (rect 0 0 11 12)(font "Arial" ))
		(text "g6" (rect 21 443 32 455)(font "Arial" ))
		(line (pt 0 448)(pt 16 448)(line_width 1))
	)
	(port
		(pt 128 32)
		(output)
		(text "door[1..0]" (rect 0 0 47 12)(font "Arial" ))
		(text "door[1..0]" (rect 60 27 107 39)(font "Arial" ))
		(line (pt 128 32)(pt 112 32)(line_width 3))
	)
	(port
		(pt 128 48)
		(output)
		(text "led[6..0]" (rect 0 0 40 12)(font "Arial" ))
		(text "led[6..0]" (rect 67 43 107 55)(font "Arial" ))
		(line (pt 128 48)(pt 112 48)(line_width 3))
	)
	(port
		(pt 128 64)
		(output)
		(text "ud" (rect 0 0 11 12)(font "Arial" ))
		(text "ud" (rect 96 59 107 71)(font "Arial" ))
		(line (pt 128 64)(pt 112 64)(line_width 1))
	)
	(port
		(pt 128 80)
		(output)
		(text "alarm" (rect 0 0 27 12)(font "Arial" ))
		(text "alarm" (rect 80 75 107 87)(font "Arial" ))
		(line (pt 128 80)(pt 112 80)(line_width 1))
	)
	(port
		(pt 128 96)
		(output)
		(text "up" (rect 0 0 11 12)(font "Arial" ))
		(text "up" (rect 96 91 107 103)(font "Arial" ))
		(line (pt 128 96)(pt 112 96)(line_width 1))
	)
	(port
		(pt 128 112)
		(output)
		(text "down" (rect 0 0 24 12)(font "Arial" ))
		(text "down" (rect 83 107 107 119)(font "Arial" ))
		(line (pt 128 112)(pt 112 112)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 112 464)(line_width 1))
	)
)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -