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

📄 top.bdf

📁 verilog语言写的一个四层电梯程序
💻 BDF
📖 第 1 页 / 共 3 页
字号:
		(line (pt 78 12)(pt 82 8)(line_width 1))
	)
	(annotation_block (location)(rect 448 56 496 72))
)
(pin
	(output)
	(rect 272 56 448 72)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "upled" (rect 90 0 115 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 448 72 496 88))
)
(pin
	(output)
	(rect 272 72 448 88)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "downled" (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))
	)
	(annotation_block (location)(rect 448 88 496 104))
)
(pin
	(output)
	(rect 744 -88 920 -72)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "dp2[7..0]" (rect 90 0 133 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 1000 -16 1048 96))
)
(pin
	(output)
	(rect 744 -104 920 -88)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "dp1[7..0]" (rect 90 0 133 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 1000 -32 1048 80))
)
(pin
	(output)
	(rect 744 -72 920 -56)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "dp3[7..0]" (rect 90 0 133 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 1000 0 1048 112))
)
(pin
	(output)
	(rect 744 -56 920 -40)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "dp4[7..0]" (rect 90 0 133 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 1000 16 1048 128))
)
(symbol
	(rect 560 -128 680 0)
	(text "cout" (rect 5 0 26 12)(font "Arial" ))
	(text "inst2" (rect 8 112 31 124)(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 "led1" (rect 0 0 20 12)(font "Arial" ))
		(text "led1" (rect 21 43 41 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "led2" (rect 0 0 20 12)(font "Arial" ))
		(text "led2" (rect 21 59 41 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 0 80)
		(input)
		(text "led3" (rect 0 0 20 12)(font "Arial" ))
		(text "led3" (rect 21 75 41 87)(font "Arial" ))
		(line (pt 0 80)(pt 16 80)(line_width 1))
	)
	(port
		(pt 0 96)
		(input)
		(text "led4" (rect 0 0 20 12)(font "Arial" ))
		(text "led4" (rect 21 91 41 103)(font "Arial" ))
		(line (pt 0 96)(pt 16 96)(line_width 1))
	)
	(port
		(pt 120 32)
		(output)
		(text "dp1[7..0]" (rect 0 0 43 12)(font "Arial" ))
		(text "dp1[7..0]" (rect 56 27 99 39)(font "Arial" ))
		(line (pt 120 32)(pt 104 32)(line_width 3))
	)
	(port
		(pt 120 48)
		(output)
		(text "dp2[7..0]" (rect 0 0 43 12)(font "Arial" ))
		(text "dp2[7..0]" (rect 56 43 99 55)(font "Arial" ))
		(line (pt 120 48)(pt 104 48)(line_width 3))
	)
	(port
		(pt 120 64)
		(output)
		(text "dp3[7..0]" (rect 0 0 43 12)(font "Arial" ))
		(text "dp3[7..0]" (rect 56 59 99 71)(font "Arial" ))
		(line (pt 120 64)(pt 104 64)(line_width 3))
	)
	(port
		(pt 120 80)
		(output)
		(text "dp4[7..0]" (rect 0 0 43 12)(font "Arial" ))
		(text "dp4[7..0]" (rect 56 75 99 87)(font "Arial" ))
		(line (pt 120 80)(pt 104 80)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 104 112)(line_width 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))
	)
)
(symbol
	(rect 560 80 720 304)
	(text "Num_Count" (rect 5 0 64 12)(font "Arial" ))
	(text "inst1" (rect 8 208 31 220)(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 "Start" (rect 0 0 23 12)(font "Arial" ))
		(text "Start" (rect 21 43 44 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "upled" (rect 0 0 25 12)(font "Arial" ))
		(text "upled" (rect 21 59 46 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 0 80)
		(input)
		(text "downled" (rect 0 0 38 12)(font "Arial" ))
		(text "downled" (rect 21 75 59 87)(font "Arial" ))
		(line (pt 0 80)(pt 16 80)(line_width 1))
	)
	(port
		(pt 0 96)
		(input)
		(text "Lock" (rect 0 0 23 12)(font "Arial" ))
		(text "Lock" (rect 21 91 44 103)(font "Arial" ))
		(line (pt 0 96)(pt 16 96)(line_width 1))
	)
	(port
		(pt 0 112)
		(input)
		(text "Alarm" (rect 0 0 28 12)(font "Arial" ))
		(text "Alarm" (rect 21 107 49 119)(font "Arial" ))
		(line (pt 0 112)(pt 16 112)(line_width 1))
	)
	(port
		(pt 0 128)
		(input)
		(text "overweight" (rect 0 0 53 12)(font "Arial" ))
		(text "overweight" (rect 21 123 74 135)(font "Arial" ))
		(line (pt 0 128)(pt 16 128)(line_width 1))
	)
	(port
		(pt 0 144)
		(input)
		(text "Reset" (rect 0 0 29 12)(font "Arial" ))
		(text "Reset" (rect 21 139 50 151)(font "Arial" ))
		(line (pt 0 144)(pt 16 144)(line_width 1))

⌨️ 快捷键说明

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