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

📄 traffic.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-2004 Altera Corporation
Any  megafunction  design,  and related netlist (encrypted  or  decrypted),
support information,  device programming or simulation file,  and any other
associated  documentation or information  provided by  Altera  or a partner
under  Altera's   Megafunction   Partnership   Program  may  be  used  only
to program  PLD  devices (but not masked  PLD  devices) from  Altera.   Any
other  use  of such  megafunction  design,  netlist,  support  information,
device programming or simulation file,  or any other  related documentation
or information  is prohibited  for  any  other purpose,  including, but not
limited to  modification,  reverse engineering,  de-compiling, or use  with
any other  silicon devices,  unless such use is  explicitly  licensed under
a separate agreement with  Altera  or a megafunction partner.  Title to the
intellectual property,  including patents,  copyrights,  trademarks,  trade
secrets,  or maskworks,  embodied in any such megafunction design, netlist,
support  information,  device programming or simulation file,  or any other
related documentation or information provided by  Altera  or a megafunction
partner, remains with Altera, the megafunction partner, or their respective
licensors. No other licenses, including any licenses needed under any third
party's intellectual property, are provided herein.
*/
(header "symbol" (version "1.1"))
(symbol
	(rect 16 16 216 208)
	(text "traffic" (rect 5 0 35 12)(font "Arial" ))
	(text "inst" (rect 8 176 25 188)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "Clock" (rect 0 0 28 12)(font "Arial" ))
		(text "Clock" (rect 21 27 49 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "Reset" (rect 0 0 29 12)(font "Arial" ))
		(text "Reset" (rect 21 43 50 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 200 32)
		(output)
		(text "Count_Down_LCD[6..0]" (rect 0 0 116 12)(font "Arial" ))
		(text "Count_Down_LCD[6..0]" (rect 63 27 179 39)(font "Arial" ))
		(line (pt 200 32)(pt 184 32)(line_width 3))
	)
	(port
		(pt 200 48)
		(output)
		(text "Strait_A_Out" (rect 0 0 62 12)(font "Arial" ))
		(text "Strait_A_Out" (rect 117 43 179 55)(font "Arial" ))
		(line (pt 200 48)(pt 184 48)(line_width 1))
	)
	(port
		(pt 200 64)
		(output)
		(text "Block_A_Out" (rect 0 0 63 12)(font "Arial" ))
		(text "Block_A_Out" (rect 116 59 179 71)(font "Arial" ))
		(line (pt 200 64)(pt 184 64)(line_width 1))
	)
	(port
		(pt 200 80)
		(output)
		(text "Turn_A_Out" (rect 0 0 57 12)(font "Arial" ))
		(text "Turn_A_Out" (rect 122 75 179 87)(font "Arial" ))
		(line (pt 200 80)(pt 184 80)(line_width 1))
	)
	(port
		(pt 200 96)
		(output)
		(text "Strait_B_Out" (rect 0 0 62 12)(font "Arial" ))
		(text "Strait_B_Out" (rect 117 91 179 103)(font "Arial" ))
		(line (pt 200 96)(pt 184 96)(line_width 1))
	)
	(port
		(pt 200 112)
		(output)
		(text "Block_B_Out" (rect 0 0 63 12)(font "Arial" ))
		(text "Block_B_Out" (rect 116 107 179 119)(font "Arial" ))
		(line (pt 200 112)(pt 184 112)(line_width 1))
	)
	(port
		(pt 200 128)
		(output)
		(text "Turn_B_Out" (rect 0 0 57 12)(font "Arial" ))
		(text "Turn_B_Out" (rect 122 123 179 135)(font "Arial" ))
		(line (pt 200 128)(pt 184 128)(line_width 1))
	)
	(port
		(pt 200 144)
		(output)
		(text "Road_sign[13..0]" (rect 0 0 83 12)(font "Arial" ))
		(text "Road_sign[13..0]" (rect 96 139 179 151)(font "Arial" ))
		(line (pt 200 144)(pt 184 144)(line_width 3))
	)
	(parameter
		"Strait_Block"
		"0"
		""
	)
	(parameter
		"Block_Turn"
		"1"
		""
	)
	(parameter
		"Turn_Block"
		"2"
		""
	)
	(parameter
		"Block_Strait"
		"3"
		""
	)
	(drawing
		(rectangle (rect 16 16 184 176)(line_width 1))
	)
	(annotation_block (parameter)(rect 216 -64 316 16))
)

⌨️ 快捷键说明

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