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

📄 controller.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-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 208)
	(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 "hold" (rect 0 0 20 12)(font "Arial" ))
		(text "hold" (rect 21 43 41 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "countnum[5..0]" (rect 0 0 74 12)(font "Arial" ))
		(text "countnum[5..0]" (rect 21 59 95 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 3))
	)
	(port
		(pt 184 32)
		(output)
		(text "numa[4..0]" (rect 0 0 53 12)(font "Arial" ))
		(text "numa[4..0]" (rect 110 27 163 39)(font "Arial" ))
		(line (pt 184 32)(pt 168 32)(line_width 3))
	)
	(port
		(pt 184 48)
		(output)
		(text "numb[4..0]" (rect 0 0 53 12)(font "Arial" ))
		(text "numb[4..0]" (rect 110 43 163 55)(font "Arial" ))
		(line (pt 184 48)(pt 168 48)(line_width 3))
	)
	(port
		(pt 184 64)
		(output)
		(text "reda" (rect 0 0 21 12)(font "Arial" ))
		(text "reda" (rect 142 59 163 71)(font "Arial" ))
		(line (pt 184 64)(pt 168 64)(line_width 1))
	)
	(port
		(pt 184 80)
		(output)
		(text "greena" (rect 0 0 33 12)(font "Arial" ))
		(text "greena" (rect 130 75 163 87)(font "Arial" ))
		(line (pt 184 80)(pt 168 80)(line_width 1))
	)
	(port
		(pt 184 96)
		(output)
		(text "yellowa" (rect 0 0 36 12)(font "Arial" ))
		(text "yellowa" (rect 127 91 163 103)(font "Arial" ))
		(line (pt 184 96)(pt 168 96)(line_width 1))
	)
	(port
		(pt 184 112)
		(output)
		(text "redb" (rect 0 0 21 12)(font "Arial" ))
		(text "redb" (rect 142 107 163 119)(font "Arial" ))
		(line (pt 184 112)(pt 168 112)(line_width 1))
	)
	(port
		(pt 184 128)
		(output)
		(text "greenb" (rect 0 0 33 12)(font "Arial" ))
		(text "greenb" (rect 130 123 163 135)(font "Arial" ))
		(line (pt 184 128)(pt 168 128)(line_width 1))
	)
	(port
		(pt 184 144)
		(output)
		(text "yellowb" (rect 0 0 36 12)(font "Arial" ))
		(text "yellowb" (rect 127 139 163 151)(font "Arial" ))
		(line (pt 184 144)(pt 168 144)(line_width 1))
	)
	(port
		(pt 184 160)
		(output)
		(text "flash" (rect 0 0 24 12)(font "Arial" ))
		(text "flash" (rect 139 155 163 167)(font "Arial" ))
		(line (pt 184 160)(pt 168 160)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 168 176)(line_width 1))
	)
)

⌨️ 快捷键说明

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