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

📄 vga_sync.bsf

📁 Its project to move your mouse cursor on a vga monitor. it is very funny -)
💻 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-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 224 208)
	(text "VGA_SYNC" (rect 5 0 65 12)(font "Arial" ))
	(text "inst" (rect 8 176 25 188)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "clock_50Mhz" (rect 0 0 62 12)(font "Arial" ))
		(text "clock_50Mhz" (rect 21 27 83 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "red" (rect 0 0 15 12)(font "Arial" ))
		(text "red" (rect 21 43 36 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "green" (rect 0 0 27 12)(font "Arial" ))
		(text "green" (rect 21 59 48 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 0 80)
		(input)
		(text "blue" (rect 0 0 20 12)(font "Arial" ))
		(text "blue" (rect 21 75 41 87)(font "Arial" ))
		(line (pt 0 80)(pt 16 80)(line_width 1))
	)
	(port
		(pt 208 32)
		(output)
		(text "red_out" (rect 0 0 36 12)(font "Arial" ))
		(text "red_out" (rect 151 27 187 39)(font "Arial" ))
		(line (pt 208 32)(pt 192 32)(line_width 1))
	)
	(port
		(pt 208 48)
		(output)
		(text "green_out" (rect 0 0 48 12)(font "Arial" ))
		(text "green_out" (rect 139 43 187 55)(font "Arial" ))
		(line (pt 208 48)(pt 192 48)(line_width 1))
	)
	(port
		(pt 208 64)
		(output)
		(text "blue_out" (rect 0 0 41 12)(font "Arial" ))
		(text "blue_out" (rect 146 59 187 71)(font "Arial" ))
		(line (pt 208 64)(pt 192 64)(line_width 1))
	)
	(port
		(pt 208 80)
		(output)
		(text "horiz_sync_out" (rect 0 0 74 12)(font "Arial" ))
		(text "horiz_sync_out" (rect 113 75 187 87)(font "Arial" ))
		(line (pt 208 80)(pt 192 80)(line_width 1))
	)
	(port
		(pt 208 96)
		(output)
		(text "vert_sync_out" (rect 0 0 71 12)(font "Arial" ))
		(text "vert_sync_out" (rect 116 91 187 103)(font "Arial" ))
		(line (pt 208 96)(pt 192 96)(line_width 1))
	)
	(port
		(pt 208 112)
		(output)
		(text "video_on" (rect 0 0 44 12)(font "Arial" ))
		(text "video_on" (rect 143 107 187 119)(font "Arial" ))
		(line (pt 208 112)(pt 192 112)(line_width 1))
	)
	(port
		(pt 208 128)
		(output)
		(text "pixel_clock" (rect 0 0 54 12)(font "Arial" ))
		(text "pixel_clock" (rect 133 123 187 135)(font "Arial" ))
		(line (pt 208 128)(pt 192 128)(line_width 1))
	)
	(port
		(pt 208 144)
		(output)
		(text "pixel_row[9..0]" (rect 0 0 70 12)(font "Arial" ))
		(text "pixel_row[9..0]" (rect 117 139 187 151)(font "Arial" ))
		(line (pt 208 144)(pt 192 144)(line_width 3))
	)
	(port
		(pt 208 160)
		(output)
		(text "pixel_column[9..0]" (rect 0 0 89 12)(font "Arial" ))
		(text "pixel_column[9..0]" (rect 98 155 187 167)(font "Arial" ))
		(line (pt 208 160)(pt 192 160)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 192 176)(line_width 1))
	)
)

⌨️ 快捷键说明

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