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

📄 main.bsf

📁 FPGA模拟SPI接口驱动3310液晶屏的 详细驱动
💻 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 152 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 "rst" (rect 0 0 12 12)(font "Arial" ))
		(text "rst" (rect 21 43 33 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 136 32)
		(output)
		(text "en_out" (rect 0 0 33 12)(font "Arial" ))
		(text "en_out" (rect 82 27 115 39)(font "Arial" ))
		(line (pt 136 32)(pt 120 32)(line_width 1))
	)
	(port
		(pt 136 48)
		(output)
		(text "data_out[7..0]" (rect 0 0 68 12)(font "Arial" ))
		(text "data_out[7..0]" (rect 47 43 115 55)(font "Arial" ))
		(line (pt 136 48)(pt 120 48)(line_width 3))
	)
	(port
		(pt 136 64)
		(output)
		(text "rst_out" (rect 0 0 34 12)(font "Arial" ))
		(text "rst_out" (rect 81 59 115 71)(font "Arial" ))
		(line (pt 136 64)(pt 120 64)(line_width 1))
	)
	(port
		(pt 136 80)
		(output)
		(text "ce_out" (rect 0 0 33 12)(font "Arial" ))
		(text "ce_out" (rect 82 75 115 87)(font "Arial" ))
		(line (pt 136 80)(pt 120 80)(line_width 1))
	)
	(port
		(pt 136 96)
		(output)
		(text "cmd_out" (rect 0 0 42 12)(font "Arial" ))
		(text "cmd_out" (rect 73 91 115 103)(font "Arial" ))
		(line (pt 136 96)(pt 120 96)(line_width 1))
	)
	(parameter
		"Idle"
		"B\"00000000\""
		""
	)
	(parameter
		"Empty"
		"B\"01100100\""
		""
	)
	(parameter
		"rst_L"
		"B\"00001010\""
		""
	)
	(parameter
		"rst_H"
		"B\"00001011\""
		""
	)
	(parameter
		"ce_L"
		"B\"00001100\""
		""
	)
	(parameter
		"ce_H"
		"B\"00001101\""
		""
	)
	(parameter
		"s1"
		"B\"00000001\""
		""
	)
	(parameter
		"s2"
		"B\"00000010\""
		""
	)
	(parameter
		"s3"
		"B\"00000011\""
		""
	)
	(parameter
		"s4"
		"B\"00000100\""
		""
	)
	(parameter
		"s5"
		"B\"00000101\""
		""
	)
	(parameter
		"s6"
		"B\"00000110\""
		""
	)
	(parameter
		"s7"
		"B\"00000111\""
		""
	)
	(parameter
		"s8"
		"B\"00001000\""
		""
	)
	(parameter
		"s9"
		"B\"00001001\""
		""
	)
	(drawing
		(rectangle (rect 16 16 120 112)(line_width 1))
	)
	(annotation_block (parameter)(rect 152 -64 252 16))
)

⌨️ 快捷键说明

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