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

📄 traffic_light.bdf

📁 CPLD控制交通灯程序
💻 BDF
📖 第 1 页 / 共 2 页
字号:
		(text "numb[3..0]" (rect 0 0 53 12)(font "Arial" ))
		(text "numb[3..0]" (rect 86 43 139 55)(font "Arial" ))
		(line (pt 160 48)(pt 144 48)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 144 80)(line_width 1))
	)
)
(symbol
	(rect 688 -24 800 72)
	(text "frequency" (rect 5 0 64 14)(font "Arial" (font_size 8)))
	(text "inst4" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "clk4m" (rect 0 0 31 14)(font "Arial" (font_size 8)))
		(text "clk4m" (rect 21 27 52 41)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 112 32)
		(output)
		(text "clk1k" (rect 0 0 28 14)(font "Arial" (font_size 8)))
		(text "clk1k" (rect 63 27 91 41)(font "Arial" (font_size 8)))
		(line (pt 112 32)(pt 96 32)(line_width 1))
	)
	(port
		(pt 112 48)
		(output)
		(text "clk1" (rect 0 0 22 14)(font "Arial" (font_size 8)))
		(text "clk1" (rect 69 43 91 57)(font "Arial" (font_size 8)))
		(line (pt 112 48)(pt 96 48)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 96 80)(line_width 1))
	)
)
(symbol
	(rect 944 -32 1080 160)
	(text "controller" (rect 5 0 49 12)(font "Arial" ))
	(text "inst" (rect 8 176 25 188)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "clock" (rect 0 0 25 12)(font "Arial" ))
		(text "clock" (rect 21 27 46 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "reset" (rect 0 0 24 12)(font "Arial" ))
		(text "reset" (rect 21 43 45 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "hold" (rect 0 0 20 12)(font "Arial" ))
		(text "hold" (rect 21 59 41 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 136 32)
		(output)
		(text "flash" (rect 0 0 24 12)(font "Arial" ))
		(text "flash" (rect 91 27 115 39)(font "Arial" ))
		(line (pt 136 32)(pt 120 32)(line_width 1))
	)
	(port
		(pt 136 48)
		(output)
		(text "numa[4..0]" (rect 0 0 53 12)(font "Arial" ))
		(text "numa[4..0]" (rect 62 43 115 55)(font "Arial" ))
		(line (pt 136 48)(pt 120 48)(line_width 3))
	)
	(port
		(pt 136 64)
		(output)
		(text "numb[4..0]" (rect 0 0 53 12)(font "Arial" ))
		(text "numb[4..0]" (rect 62 59 115 71)(font "Arial" ))
		(line (pt 136 64)(pt 120 64)(line_width 3))
	)
	(port
		(pt 136 80)
		(output)
		(text "reda" (rect 0 0 21 12)(font "Arial" ))
		(text "reda" (rect 94 75 115 87)(font "Arial" ))
		(line (pt 136 80)(pt 120 80)(line_width 1))
	)
	(port
		(pt 136 96)
		(output)
		(text "greena" (rect 0 0 33 12)(font "Arial" ))
		(text "greena" (rect 82 91 115 103)(font "Arial" ))
		(line (pt 136 96)(pt 120 96)(line_width 1))
	)
	(port
		(pt 136 112)
		(output)
		(text "yellowa" (rect 0 0 36 12)(font "Arial" ))
		(text "yellowa" (rect 79 107 115 119)(font "Arial" ))
		(line (pt 136 112)(pt 120 112)(line_width 1))
	)
	(port
		(pt 136 128)
		(output)
		(text "redb" (rect 0 0 21 12)(font "Arial" ))
		(text "redb" (rect 94 123 115 135)(font "Arial" ))
		(line (pt 136 128)(pt 120 128)(line_width 1))
	)
	(port
		(pt 136 144)
		(output)
		(text "greenb" (rect 0 0 33 12)(font "Arial" ))
		(text "greenb" (rect 82 139 115 151)(font "Arial" ))
		(line (pt 136 144)(pt 120 144)(line_width 1))
	)
	(port
		(pt 136 160)
		(output)
		(text "yellowb" (rect 0 0 36 12)(font "Arial" ))
		(text "yellowb" (rect 79 155 115 167)(font "Arial" ))
		(line (pt 136 160)(pt 120 160)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 120 176)(line_width 1))
	)
)
(symbol
	(rect 1216 288 1376 448)
	(text "leddongtai" (rect 5 0 54 12)(font "Arial" ))
	(text "inst3" (rect 8 144 31 156)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "clock" (rect 0 0 25 12)(font "Arial" ))
		(text "clock" (rect 21 27 46 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "flash" (rect 0 0 24 12)(font "Arial" ))
		(text "flash" (rect 21 43 45 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "ewh[6..0]" (rect 0 0 44 12)(font "Arial" ))
		(text "ewh[6..0]" (rect 21 59 65 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 3))
	)
	(port
		(pt 0 80)
		(input)
		(text "ewl[6..0]" (rect 0 0 41 12)(font "Arial" ))
		(text "ewl[6..0]" (rect 21 75 62 87)(font "Arial" ))
		(line (pt 0 80)(pt 16 80)(line_width 3))
	)
	(port
		(pt 0 96)
		(input)
		(text "snh[6..0]" (rect 0 0 43 12)(font "Arial" ))
		(text "snh[6..0]" (rect 21 91 64 103)(font "Arial" ))
		(line (pt 0 96)(pt 16 96)(line_width 3))
	)
	(port
		(pt 0 112)
		(input)
		(text "snl[6..0]" (rect 0 0 40 12)(font "Arial" ))
		(text "snl[6..0]" (rect 21 107 61 119)(font "Arial" ))
		(line (pt 0 112)(pt 16 112)(line_width 3))
	)
	(port
		(pt 160 32)
		(output)
		(text "leddisp[6..0]" (rect 0 0 60 12)(font "Arial" ))
		(text "leddisp[6..0]" (rect 79 27 139 39)(font "Arial" ))
		(line (pt 160 32)(pt 144 32)(line_width 3))
	)
	(port
		(pt 160 48)
		(output)
		(text "sel[3..0]" (rect 0 0 40 12)(font "Arial" ))
		(text "sel[3..0]" (rect 99 43 139 55)(font "Arial" ))
		(line (pt 160 48)(pt 144 48)(line_width 3))
	)
	(port
		(pt 160 64)
		(output)
		(text "dp" (rect 0 0 11 12)(font "Arial" ))
		(text "dp" (rect 128 59 139 71)(font "Arial" ))
		(line (pt 160 64)(pt 144 64)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 144 144)(line_width 1))
	)
)
(connector
	(pt 888 0)
	(pt 888 24)
)
(connector
	(text "reset" (rect 920 0 944 12)(font "Arial" ))
	(pt 944 16)
	(pt 912 16)
)
(connector
	(text "hold" (rect 920 16 940 28)(font "Arial" ))
	(pt 944 32)
	(pt 912 32)
)
(connector
	(pt 824 216)
	(pt 912 216)
)
(connector
	(pt 912 216)
	(pt 936 216)
)
(connector
	(pt 912 528)
	(pt 936 528)
)
(connector
	(pt 912 424)
	(pt 936 424)
)
(connector
	(pt 912 424)
	(pt 912 528)
)
(connector
	(pt 912 320)
	(pt 936 320)
)
(connector
	(pt 912 216)
	(pt 912 320)
)
(connector
	(pt 912 320)
	(pt 912 424)
)
(connector
	(text "flash" (rect 1088 -16 1112 -4)(font "Arial" ))
	(pt 1080 0)
	(pt 1120 0)
)
(connector
	(text "numb[4..0]" (rect 1088 16 1141 28)(font "Arial" ))
	(pt 1080 32)
	(pt 1120 32)
	(bus)
)
(connector
	(text "numa[4..0]" (rect 1088 0 1141 12)(font "Arial" ))
	(pt 1080 16)
	(pt 1120 16)
	(bus)
)
(connector
	(text "numb[4..0]" (rect 520 384 573 396)(font "Arial" ))
	(pt 512 400)
	(pt 552 400)
	(bus)
)
(connector
	(text "numa[4..0]" (rect 520 280 573 292)(font "Arial" ))
	(pt 512 296)
	(pt 552 296)
	(bus)
)
(connector
	(pt 872 280)
	(pt 872 232)
	(bus)
)
(connector
	(pt 872 232)
	(pt 936 232)
	(bus)
)
(connector
	(pt 872 296)
	(pt 872 336)
	(bus)
)
(connector
	(pt 872 336)
	(pt 936 336)
	(bus)
)
(connector
	(pt 872 440)
	(pt 872 384)
	(bus)
)
(connector
	(pt 864 400)
	(pt 864 544)
	(bus)
)
(connector
	(pt 864 544)
	(pt 936 544)
	(bus)
)
(connector
	(pt 1160 216)
	(pt 1160 352)
	(bus)
)
(connector
	(pt 1088 320)
	(pt 1144 320)
	(bus)
)
(connector
	(pt 1144 320)
	(pt 1144 368)
	(bus)
)
(connector
	(pt 1144 368)
	(pt 1216 368)
	(bus)
)
(connector
	(pt 1088 424)
	(pt 1144 424)
	(bus)
)
(connector
	(pt 1144 424)
	(pt 1144 384)
	(bus)
)
(connector
	(pt 1144 384)
	(pt 1216 384)
	(bus)
)
(connector
	(pt 1088 528)
	(pt 1160 528)
	(bus)
)
(connector
	(pt 1160 528)
	(pt 1160 400)
	(bus)
)
(connector
	(pt 1160 400)
	(pt 1216 400)
	(bus)
)
(connector
	(pt 1088 216)
	(pt 1160 216)
	(bus)
)
(connector
	(pt 1160 352)
	(pt 1216 352)
	(bus)
)
(connector
	(text "flash" (rect 1184 320 1208 332)(font "Arial" ))
	(pt 1216 336)
	(pt 1176 336)
)
(connector
	(text "clk1k" (rect 1184 304 1209 316)(font "Arial" ))
	(pt 1216 320)
	(pt 1176 320)
)
(connector
	(text "clk1k" (rect 808 -8 833 4)(font "Arial" ))
	(pt 800 8)
	(pt 824 8)
)
(connector
	(text "<<__$DEF_ALIAS527>>" (rect 720 280 838 292)(font "Arial" )(invisible))
	(pt 872 296)
	(pt 712 296)
	(bus)
)
(connector
	(text "<<__$DEF_ALIAS529>>" (rect 720 264 838 276)(font "Arial" )(invisible))
	(pt 872 280)
	(pt 712 280)
	(bus)
)
(connector
	(text "<<__$DEF_ALIAS531>>" (rect 720 368 838 380)(font "Arial" )(invisible))
	(pt 872 384)
	(pt 712 384)
	(bus)
)
(connector
	(text "<<__$DEF_ALIAS533>>" (rect 720 384 838 396)(font "Arial" )(invisible))
	(pt 864 400)
	(pt 712 400)
	(bus)
)
(connector
	(pt 936 440)
	(pt 872 440)
	(bus)
)
(connector
	(text "clk1k" (rect 520 264 545 276)(font "Arial" ))
	(pt 552 280)
	(pt 512 280)
)
(connector
	(text "clk1k" (rect 520 368 545 380)(font "Arial" ))
	(pt 552 384)
	(pt 512 384)
)
(connector
	(pt 888 0)
	(pt 944 0)
)
(connector
	(pt 824 8)
	(pt 824 216)
)
(connector
	(pt 800 24)
	(pt 888 24)
)
(junction (pt 912 216))
(junction (pt 912 424))
(junction (pt 912 320))

⌨️ 快捷键说明

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