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

📄 ram8.bsf

📁 可以受上位机控制的通过fpga的视频信号发生器程序
💻 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 0 0 240 192)
	(text "ram8" (rect 106 1 140 17)(font "Arial" (font_size 10)))
	(text "inst" (rect 8 176 25 188)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "data[7..0]" (rect 0 0 53 14)(font "Arial" (font_size 8)))
		(text "data[7..0]" (rect 4 19 49 32)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 104 32)(line_width 3))
	)
	(port
		(pt 0 48)
		(input)
		(text "wraddress[6..0]" (rect 0 0 92 14)(font "Arial" (font_size 8)))
		(text "wraddress[6..0]" (rect 4 35 73 48)(font "Arial" (font_size 8)))
		(line (pt 0 48)(pt 104 48)(line_width 3))
	)
	(port
		(pt 0 64)
		(input)
		(text "wren" (rect 0 0 30 14)(font "Arial" (font_size 8)))
		(text "wren" (rect 4 51 26 64)(font "Arial" (font_size 8)))
		(line (pt 0 64)(pt 104 64)(line_width 1))
	)
	(port
		(pt 0 88)
		(input)
		(text "rdaddress_a[6..0]" (rect 0 0 101 14)(font "Arial" (font_size 8)))
		(text "rdaddress_a[6..0]" (rect 4 75 84 88)(font "Arial" (font_size 8)))
		(line (pt 0 88)(pt 104 88)(line_width 3))
	)
	(port
		(pt 0 128)
		(input)
		(text "rdaddress_b[6..0]" (rect 0 0 101 14)(font "Arial" (font_size 8)))
		(text "rdaddress_b[6..0]" (rect 4 115 84 128)(font "Arial" (font_size 8)))
		(line (pt 0 128)(pt 104 128)(line_width 3))
	)
	(port
		(pt 0 160)
		(input)
		(text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
		(text "clock" (rect 4 147 27 160)(font "Arial" (font_size 8)))
		(line (pt 0 160)(pt 176 160)(line_width 1))
	)
	(port
		(pt 240 32)
		(output)
		(text "qa[7..0]" (rect 0 0 42 14)(font "Arial" (font_size 8)))
		(text "qa[7..0]" (rect 201 19 237 32)(font "Arial" (font_size 8)))
		(line (pt 240 32)(pt 192 32)(line_width 3))
	)
	(port
		(pt 240 48)
		(output)
		(text "qb[7..0]" (rect 0 0 42 14)(font "Arial" (font_size 8)))
		(text "qb[7..0]" (rect 201 35 237 48)(font "Arial" (font_size 8)))
		(line (pt 240 48)(pt 192 48)(line_width 3))
	)
	(drawing
		(text "8 bits" (rect 132 72 144 95)(font "Arial" )(vertical))
		(text "128 words" (rect 145 63 157 105)(font "Arial" )(vertical))
		(line (pt 120 24)(pt 168 24)(line_width 1))
		(line (pt 168 24)(pt 168 144)(line_width 1))
		(line (pt 168 144)(pt 120 144)(line_width 1))
		(line (pt 120 144)(pt 120 24)(line_width 1))
		(line (pt 142 82)(pt 147 87)(line_width 1))
		(line (pt 142 86)(pt 147 81)(line_width 1))
		(line (pt 104 27)(pt 112 27)(line_width 1))
		(line (pt 112 27)(pt 112 39)(line_width 1))
		(line (pt 112 39)(pt 104 39)(line_width 1))
		(line (pt 104 39)(pt 104 27)(line_width 1))
		(line (pt 104 34)(pt 106 36)(line_width 1))
		(line (pt 106 36)(pt 104 38)(line_width 1))
		(line (pt 96 36)(pt 104 36)(line_width 1))
		(line (pt 112 32)(pt 120 32)(line_width 3))
		(line (pt 104 43)(pt 112 43)(line_width 1))
		(line (pt 112 43)(pt 112 55)(line_width 1))
		(line (pt 112 55)(pt 104 55)(line_width 1))
		(line (pt 104 55)(pt 104 43)(line_width 1))
		(line (pt 104 50)(pt 106 52)(line_width 1))
		(line (pt 106 52)(pt 104 54)(line_width 1))
		(line (pt 96 52)(pt 104 52)(line_width 1))
		(line (pt 112 48)(pt 120 48)(line_width 3))
		(line (pt 104 59)(pt 112 59)(line_width 1))
		(line (pt 112 59)(pt 112 71)(line_width 1))
		(line (pt 112 71)(pt 104 71)(line_width 1))
		(line (pt 104 71)(pt 104 59)(line_width 1))
		(line (pt 104 66)(pt 106 68)(line_width 1))
		(line (pt 106 68)(pt 104 70)(line_width 1))
		(line (pt 96 68)(pt 104 68)(line_width 1))
		(line (pt 112 64)(pt 120 64)(line_width 1))
		(line (pt 104 83)(pt 112 83)(line_width 1))
		(line (pt 112 83)(pt 112 95)(line_width 1))
		(line (pt 112 95)(pt 104 95)(line_width 1))
		(line (pt 104 95)(pt 104 83)(line_width 1))
		(line (pt 104 90)(pt 106 92)(line_width 1))
		(line (pt 106 92)(pt 104 94)(line_width 1))
		(line (pt 96 92)(pt 104 92)(line_width 1))
		(line (pt 112 88)(pt 120 88)(line_width 3))
		(line (pt 104 123)(pt 112 123)(line_width 1))
		(line (pt 112 123)(pt 112 135)(line_width 1))
		(line (pt 112 135)(pt 104 135)(line_width 1))
		(line (pt 104 135)(pt 104 123)(line_width 1))
		(line (pt 104 130)(pt 106 132)(line_width 1))
		(line (pt 106 132)(pt 104 134)(line_width 1))
		(line (pt 96 132)(pt 104 132)(line_width 1))
		(line (pt 112 128)(pt 120 128)(line_width 3))
		(line (pt 96 160)(pt 96 36)(line_width 1))
		(line (pt 176 160)(pt 176 36)(line_width 1))
		(line (pt 176 160)(pt 176 52)(line_width 1))
		(line (pt 184 27)(pt 192 27)(line_width 1))
		(line (pt 192 27)(pt 192 39)(line_width 1))
		(line (pt 192 39)(pt 184 39)(line_width 1))
		(line (pt 184 39)(pt 184 27)(line_width 1))
		(line (pt 184 34)(pt 186 36)(line_width 1))
		(line (pt 186 36)(pt 184 38)(line_width 1))
		(line (pt 176 36)(pt 184 36)(line_width 1))
		(line (pt 168 32)(pt 184 32)(line_width 3))
		(line (pt 184 43)(pt 192 43)(line_width 1))
		(line (pt 192 43)(pt 192 55)(line_width 1))
		(line (pt 192 55)(pt 184 55)(line_width 1))
		(line (pt 184 55)(pt 184 43)(line_width 1))
		(line (pt 184 50)(pt 186 52)(line_width 1))
		(line (pt 186 52)(pt 184 54)(line_width 1))
		(line (pt 176 52)(pt 184 52)(line_width 1))
		(line (pt 168 48)(pt 184 48)(line_width 3))
		(circle (rect 94 158 98 162)(line_width 1))
		(circle (rect 94 158 98 162)(line_width 1))
	)
)

⌨️ 快捷键说明

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