cctr1.bsf

来自「vhdl实现交通灯设计,可以实现十字路口处交通控制,开发工具quartus」· BSF 代码 · 共 107 行

BSF
107
字号
/*
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 152 208)
	(text "cctr1" (rect 5 0 29 12)(font "Arial" ))
	(text "inst" (rect 8 176 25 188)(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 "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 "leda[0..2]" (rect 0 0 46 12)(font "Arial" ))
		(text "leda[0..2]" (rect 69 27 115 39)(font "Arial" ))
		(line (pt 136 32)(pt 120 32)(line_width 3))
	)
	(port
		(pt 136 48)
		(output)
		(text "ledb[0..2]" (rect 0 0 46 12)(font "Arial" ))
		(text "ledb[0..2]" (rect 69 43 115 55)(font "Arial" ))
		(line (pt 136 48)(pt 120 48)(line_width 3))
	)
	(port
		(pt 136 64)
		(output)
		(text "ledc[0..2]" (rect 0 0 46 12)(font "Arial" ))
		(text "ledc[0..2]" (rect 69 59 115 71)(font "Arial" ))
		(line (pt 136 64)(pt 120 64)(line_width 3))
	)
	(port
		(pt 136 80)
		(output)
		(text "ledd[0..2]" (rect 0 0 46 12)(font "Arial" ))
		(text "ledd[0..2]" (rect 69 75 115 87)(font "Arial" ))
		(line (pt 136 80)(pt 120 80)(line_width 3))
	)
	(port
		(pt 136 96)
		(output)
		(text "cnuma[6..0]" (rect 0 0 59 12)(font "Arial" ))
		(text "cnuma[6..0]" (rect 56 91 115 103)(font "Arial" ))
		(line (pt 136 96)(pt 120 96)(line_width 3))
	)
	(port
		(pt 136 112)
		(output)
		(text "cnumb[6..0]" (rect 0 0 59 12)(font "Arial" ))
		(text "cnumb[6..0]" (rect 56 107 115 119)(font "Arial" ))
		(line (pt 136 112)(pt 120 112)(line_width 3))
	)
	(port
		(pt 136 128)
		(output)
		(text "cnumc[6..0]" (rect 0 0 59 12)(font "Arial" ))
		(text "cnumc[6..0]" (rect 56 123 115 135)(font "Arial" ))
		(line (pt 136 128)(pt 120 128)(line_width 3))
	)
	(port
		(pt 136 144)
		(output)
		(text "cnumd[6..0]" (rect 0 0 59 12)(font "Arial" ))
		(text "cnumd[6..0]" (rect 56 139 115 151)(font "Arial" ))
		(line (pt 136 144)(pt 120 144)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 120 176)(line_width 1))
	)
)

⌨️ 快捷键说明

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