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

📄 dianti.bsf

📁 我们的课程设计,三层电梯控制器模拟程序.用verilog HDL语言编写
💻 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 200 240)
	(text "dianti" (rect 5 0 30 12)(font "Arial" ))
	(text "inst" (rect 8 208 25 220)(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 "rst" (rect 0 0 12 12)(font "Arial" ))
		(text "rst" (rect 21 43 33 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "up_rq_1" (rect 0 0 38 12)(font "Arial" ))
		(text "up_rq_1" (rect 21 59 59 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 0 80)
		(input)
		(text "up_rq_2" (rect 0 0 38 12)(font "Arial" ))
		(text "up_rq_2" (rect 21 75 59 87)(font "Arial" ))
		(line (pt 0 80)(pt 16 80)(line_width 1))
	)
	(port
		(pt 0 96)
		(input)
		(text "down_rq_2" (rect 0 0 51 12)(font "Arial" ))
		(text "down_rq_2" (rect 21 91 72 103)(font "Arial" ))
		(line (pt 0 96)(pt 16 96)(line_width 1))
	)
	(port
		(pt 0 112)
		(input)
		(text "down_rq_3" (rect 0 0 51 12)(font "Arial" ))
		(text "down_rq_3" (rect 21 107 72 119)(font "Arial" ))
		(line (pt 0 112)(pt 16 112)(line_width 1))
	)
	(port
		(pt 0 128)
		(input)
		(text "to_rq_1" (rect 0 0 36 12)(font "Arial" ))
		(text "to_rq_1" (rect 21 123 57 135)(font "Arial" ))
		(line (pt 0 128)(pt 16 128)(line_width 1))
	)
	(port
		(pt 0 144)
		(input)
		(text "to_rq_2" (rect 0 0 36 12)(font "Arial" ))
		(text "to_rq_2" (rect 21 139 57 151)(font "Arial" ))
		(line (pt 0 144)(pt 16 144)(line_width 1))
	)
	(port
		(pt 0 160)
		(input)
		(text "to_rq_3" (rect 0 0 36 12)(font "Arial" ))
		(text "to_rq_3" (rect 21 155 57 167)(font "Arial" ))
		(line (pt 0 160)(pt 16 160)(line_width 1))
	)
	(port
		(pt 184 32)
		(output)
		(text "up_rq_1_done" (rect 0 0 68 12)(font "Arial" ))
		(text "up_rq_1_done" (rect 95 27 163 39)(font "Arial" ))
		(line (pt 184 32)(pt 168 32)(line_width 1))
	)
	(port
		(pt 184 48)
		(output)
		(text "up_rq_2_done" (rect 0 0 68 12)(font "Arial" ))
		(text "up_rq_2_done" (rect 95 43 163 55)(font "Arial" ))
		(line (pt 184 48)(pt 168 48)(line_width 1))
	)
	(port
		(pt 184 64)
		(output)
		(text "down_rq_2_done" (rect 0 0 81 12)(font "Arial" ))
		(text "down_rq_2_done" (rect 82 59 163 71)(font "Arial" ))
		(line (pt 184 64)(pt 168 64)(line_width 1))
	)
	(port
		(pt 184 80)
		(output)
		(text "down_rq_3_done" (rect 0 0 81 12)(font "Arial" ))
		(text "down_rq_3_done" (rect 82 75 163 87)(font "Arial" ))
		(line (pt 184 80)(pt 168 80)(line_width 1))
	)
	(port
		(pt 184 96)
		(output)
		(text "to_rq_1_done" (rect 0 0 66 12)(font "Arial" ))
		(text "to_rq_1_done" (rect 97 91 163 103)(font "Arial" ))
		(line (pt 184 96)(pt 168 96)(line_width 1))
	)
	(port
		(pt 184 112)
		(output)
		(text "to_rq_2_done" (rect 0 0 66 12)(font "Arial" ))
		(text "to_rq_2_done" (rect 97 107 163 119)(font "Arial" ))
		(line (pt 184 112)(pt 168 112)(line_width 1))
	)
	(port
		(pt 184 128)
		(output)
		(text "to_rq_3_done" (rect 0 0 66 12)(font "Arial" ))
		(text "to_rq_3_done" (rect 97 123 163 135)(font "Arial" ))
		(line (pt 184 128)(pt 168 128)(line_width 1))
	)
	(port
		(pt 184 144)
		(output)
		(text "state_up" (rect 0 0 42 12)(font "Arial" ))
		(text "state_up" (rect 121 139 163 151)(font "Arial" ))
		(line (pt 184 144)(pt 168 144)(line_width 1))
	)
	(port
		(pt 184 160)
		(output)
		(text "state_down" (rect 0 0 55 12)(font "Arial" ))
		(text "state_down" (rect 108 155 163 167)(font "Arial" ))
		(line (pt 184 160)(pt 168 160)(line_width 1))
	)
	(port
		(pt 184 176)
		(output)
		(text "state_open" (rect 0 0 54 12)(font "Arial" ))
		(text "state_open" (rect 109 171 163 183)(font "Arial" ))
		(line (pt 184 176)(pt 168 176)(line_width 1))
	)
	(port
		(pt 184 192)
		(output)
		(text "state_floor[1..0]" (rect 0 0 79 12)(font "Arial" ))
		(text "state_floor[1..0]" (rect 84 187 163 199)(font "Arial" ))
		(line (pt 184 192)(pt 168 192)(line_width 3))
	)
	(parameter
		"DELAY_COUNTER_N"
		"4"
		""
	)
	(parameter
		"DELAY_COUNTER_WIDTH"
		"3"
		""
	)
	(parameter
		"FLOOR1_OPEN"
		"B\"00100\""
		""
	)
	(parameter
		"FLOOR1_OPEN_UP"
		"B\"00101\""
		""
	)
	(parameter
		"FLOOR1_CLOSE_UP"
		"B\"00001\""
		""
	)
	(parameter
		"FLOOR1_STAND"
		"B\"00000\""
		""
	)
	(parameter
		"FLOOR2_OPEN"
		"B\"01100\""
		""
	)
	(parameter
		"FLOOR2_OPEN_UP"
		"B\"01101\""
		""
	)
	(parameter
		"FLOOR2_OPEN_DOWN"
		"B\"01110\""
		""
	)
	(parameter
		"FLOOR2_UP"
		"B\"01001\""
		""
	)
	(parameter
		"FLOOR2_DOWN"
		"B\"01010\""
		""
	)
	(parameter
		"FLOOR2_STAND"
		"B\"01000\""
		""
	)
	(parameter
		"FLOOR3_OPEN"
		"B\"10100\""
		""
	)
	(parameter
		"FLOOR3_OPEN_DOWN"
		"B\"10110\""
		""
	)
	(parameter
		"FLOOR3_DOWN"
		"B\"10010\""
		""
	)
	(parameter
		"FLOOR3_STAND"
		"B\"10000\""
		""
	)
	(drawing
		(rectangle (rect 16 16 168 208)(line_width 1))
	)
	(annotation_block (parameter)(rect 200 -64 300 16))
)

⌨️ 快捷键说明

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