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

📄 main.bsf

📁 基于CPLD的4X4键盘输入+液晶显示程序
💻 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-2005 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 160 144)
	(text "main" (rect 5 0 28 12)(font "Arial" ))
	(text "inst" (rect 8 112 25 124)(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 "din[3..0]" (rect 0 0 40 12)(font "Arial" ))
		(text "din[3..0]" (rect 21 43 61 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 3))
	)
	(port
		(pt 144 32)
		(output)
		(text "doutq[3..0]" (rect 0 0 53 12)(font "Arial" ))
		(text "doutq[3..0]" (rect 70 27 123 39)(font "Arial" ))
		(line (pt 144 32)(pt 128 32)(line_width 3))
	)
	(port
		(pt 144 48)
		(output)
		(text "doutb[3..0]" (rect 0 0 53 12)(font "Arial" ))
		(text "doutb[3..0]" (rect 70 43 123 55)(font "Arial" ))
		(line (pt 144 48)(pt 128 48)(line_width 3))
	)
	(port
		(pt 144 64)
		(output)
		(text "douts[3..0]" (rect 0 0 53 12)(font "Arial" ))
		(text "douts[3..0]" (rect 70 59 123 71)(font "Arial" ))
		(line (pt 144 64)(pt 128 64)(line_width 3))
	)
	(port
		(pt 144 80)
		(output)
		(text "doutg[3..0]" (rect 0 0 53 12)(font "Arial" ))
		(text "doutg[3..0]" (rect 70 75 123 87)(font "Arial" ))
		(line (pt 144 80)(pt 128 80)(line_width 3))
	)
	(port
		(pt 144 96)
		(output)
		(text "todac[9..0]" (rect 0 0 53 12)(font "Arial" ))
		(text "todac[9..0]" (rect 70 91 123 103)(font "Arial" ))
		(line (pt 144 96)(pt 128 96)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 128 112)(line_width 1))
	)
)

⌨️ 快捷键说明

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