ad7864_fifo.bsf

来自「多功能卡的源代码」· BSF 代码 · 共 149 行

BSF
149
字号
/*
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-2008 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 64 64 280 288)
	(text "ad7864_fifo" (rect 5 0 73 14)(font "Arial" (font_size 8)))
	(text "inst" (rect 8 208 25 220)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "sample_start" (rect 0 0 73 14)(font "Arial" (font_size 8)))
		(text "sample_start" (rect 21 27 94 41)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "ad7864_eoc" (rect 0 0 70 14)(font "Arial" (font_size 8)))
		(text "ad7864_eoc" (rect 21 43 91 57)(font "Arial" (font_size 8)))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "ad7864_busy" (rect 0 0 77 14)(font "Arial" (font_size 8)))
		(text "ad7864_busy" (rect 21 59 98 73)(font "Arial" (font_size 8)))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 0 80)
		(input)
		(text "ad_data[11..0]" (rect 0 0 81 14)(font "Arial" (font_size 8)))
		(text "ad_data[11..0]" (rect 21 75 102 89)(font "Arial" (font_size 8)))
		(line (pt 0 80)(pt 16 80)(line_width 3))
	)
	(port
		(pt 0 96)
		(input)
		(text "reset" (rect 0 0 29 14)(font "Arial" (font_size 8)))
		(text "reset" (rect 21 91 50 105)(font "Arial" (font_size 8)))
		(line (pt 0 96)(pt 16 96)(line_width 1))
	)
	(port
		(pt 0 112)
		(input)
		(text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
		(text "clock" (rect 21 107 50 121)(font "Arial" (font_size 8)))
		(line (pt 0 112)(pt 16 112)(line_width 1))
	)
	(port
		(pt 0 128)
		(input)
		(text "readn" (rect 0 0 33 14)(font "Arial" (font_size 8)))
		(text "readn" (rect 21 123 54 137)(font "Arial" (font_size 8)))
		(line (pt 0 128)(pt 16 128)(line_width 1))
	)
	(port
		(pt 216 32)
		(output)
		(text "ad7864_read" (rect 0 0 75 14)(font "Arial" (font_size 8)))
		(text "ad7864_read" (rect 120 27 195 41)(font "Arial" (font_size 8)))
		(line (pt 216 32)(pt 200 32)(line_width 1))
	)
	(port
		(pt 216 48)
		(output)
		(text "ad7864_cs" (rect 0 0 63 14)(font "Arial" (font_size 8)))
		(text "ad7864_cs" (rect 132 43 195 57)(font "Arial" (font_size 8)))
		(line (pt 216 48)(pt 200 48)(line_width 1))
	)
	(port
		(pt 216 64)
		(output)
		(text "ad7864_conv" (rect 0 0 77 14)(font "Arial" (font_size 8)))
		(text "ad7864_conv" (rect 118 59 195 73)(font "Arial" (font_size 8)))
		(line (pt 216 64)(pt 200 64)(line_width 1))
	)
	(port
		(pt 216 80)
		(output)
		(text "ad7864_sel1" (rect 0 0 73 14)(font "Arial" (font_size 8)))
		(text "ad7864_sel1" (rect 122 75 195 89)(font "Arial" (font_size 8)))
		(line (pt 216 80)(pt 200 80)(line_width 1))
	)
	(port
		(pt 216 96)
		(output)
		(text "ad7864_sel2" (rect 0 0 73 14)(font "Arial" (font_size 8)))
		(text "ad7864_sel2" (rect 122 91 195 105)(font "Arial" (font_size 8)))
		(line (pt 216 96)(pt 200 96)(line_width 1))
	)
	(port
		(pt 216 176)
		(output)
		(text "fifo_out[15..0]" (rect 0 0 79 14)(font "Arial" (font_size 8)))
		(text "fifo_out[15..0]" (rect 116 171 195 185)(font "Arial" (font_size 8)))
		(line (pt 216 176)(pt 200 176)(line_width 3))
	)
	(port
		(pt 216 112)
		(output)
		(text "ad7864_sel3" (rect 0 0 73 14)(font "Arial" (font_size 8)))
		(text "ad7864_sel3" (rect 122 107 195 121)(font "Arial" (font_size 8)))
		(line (pt 216 112)(pt 200 112)(line_width 1))
	)
	(port
		(pt 216 144)
		(output)
		(text "half_full" (rect 0 0 44 14)(font "Arial" (font_size 8)))
		(text "half_full" (rect 151 139 195 153)(font "Arial" (font_size 8)))
		(line (pt 216 144)(pt 200 144)(line_width 1))
	)
	(port
		(pt 216 128)
		(output)
		(text "ad7864_sel4" (rect 0 0 73 14)(font "Arial" (font_size 8)))
		(text "ad7864_sel4" (rect 122 123 195 137)(font "Arial" (font_size 8)))
		(line (pt 216 128)(pt 200 128)(line_width 1))
	)
	(port
		(pt 216 160)
		(output)
		(text "empty" (rect 0 0 34 14)(font "Arial" (font_size 8)))
		(text "empty" (rect 161 155 195 169)(font "Arial" (font_size 8)))
		(line (pt 216 160)(pt 200 160)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 200 208)(line_width 1))
	)
)

⌨️ 快捷键说明

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