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

📄 spi.bsf

📁 很多仪器都输出同步时钟
💻 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 200 304)
	(text "spi" (rect 5 0 21 14)(font "Arial" (font_size 8)))
	(text "inst" (rect 8 272 25 284)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "spiclk" (rect 0 0 31 14)(font "Arial" (font_size 8)))
		(text "spiclk" (rect 21 27 52 41)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "spisimo" (rect 0 0 42 14)(font "Arial" (font_size 8)))
		(text "spisimo" (rect 21 43 63 57)(font "Arial" (font_size 8)))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "spiste" (rect 0 0 34 14)(font "Arial" (font_size 8)))
		(text "spiste" (rect 21 59 55 73)(font "Arial" (font_size 8)))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 0 80)
		(input)
		(text "clk" (rect 0 0 15 14)(font "Arial" (font_size 8)))
		(text "clk" (rect 21 75 36 89)(font "Arial" (font_size 8)))
		(line (pt 0 80)(pt 16 80)(line_width 1))
	)
	(port
		(pt 0 96)
		(input)
		(text "dspds" (rect 0 0 35 14)(font "Arial" (font_size 8)))
		(text "dspds" (rect 21 91 56 105)(font "Arial" (font_size 8)))
		(line (pt 0 96)(pt 16 96)(line_width 1))
	)
	(port
		(pt 0 112)
		(input)
		(text "dspis" (rect 0 0 30 14)(font "Arial" (font_size 8)))
		(text "dspis" (rect 21 107 51 121)(font "Arial" (font_size 8)))
		(line (pt 0 112)(pt 16 112)(line_width 1))
	)
	(port
		(pt 0 128)
		(input)
		(text "dspps" (rect 0 0 35 14)(font "Arial" (font_size 8)))
		(text "dspps" (rect 21 123 56 137)(font "Arial" (font_size 8)))
		(line (pt 0 128)(pt 16 128)(line_width 1))
	)
	(port
		(pt 0 144)
		(input)
		(text "dsprw" (rect 0 0 37 14)(font "Arial" (font_size 8)))
		(text "dsprw" (rect 21 139 58 153)(font "Arial" (font_size 8)))
		(line (pt 0 144)(pt 16 144)(line_width 1))
	)
	(port
		(pt 0 160)
		(input)
		(text "dsprd" (rect 0 0 33 14)(font "Arial" (font_size 8)))
		(text "dsprd" (rect 21 155 54 169)(font "Arial" (font_size 8)))
		(line (pt 0 160)(pt 16 160)(line_width 1))
	)
	(port
		(pt 0 176)
		(input)
		(text "dspwe" (rect 0 0 40 14)(font "Arial" (font_size 8)))
		(text "dspwe" (rect 21 171 61 185)(font "Arial" (font_size 8)))
		(line (pt 0 176)(pt 16 176)(line_width 1))
	)
	(port
		(pt 0 192)
		(input)
		(text "dspstrb" (rect 0 0 43 14)(font "Arial" (font_size 8)))
		(text "dspstrb" (rect 21 187 64 201)(font "Arial" (font_size 8)))
		(line (pt 0 192)(pt 16 192)(line_width 1))
	)
	(port
		(pt 0 208)
		(input)
		(text "dspvisoe" (rect 0 0 51 14)(font "Arial" (font_size 8)))
		(text "dspvisoe" (rect 21 203 72 217)(font "Arial" (font_size 8)))
		(line (pt 0 208)(pt 16 208)(line_width 1))
	)
	(port
		(pt 0 224)
		(input)
		(text "d[15..0]" (rect 0 0 42 14)(font "Arial" (font_size 8)))
		(text "d[15..0]" (rect 21 219 63 233)(font "Arial" (font_size 8)))
		(line (pt 0 224)(pt 16 224)(line_width 3))
	)
	(port
		(pt 0 240)
		(input)
		(text "a[15..0]" (rect 0 0 42 14)(font "Arial" (font_size 8)))
		(text "a[15..0]" (rect 21 235 63 249)(font "Arial" (font_size 8)))
		(line (pt 0 240)(pt 16 240)(line_width 3))
	)
	(port
		(pt 184 32)
		(output)
		(text "spisomi" (rect 0 0 42 14)(font "Arial" (font_size 8)))
		(text "spisomi" (rect 121 27 163 41)(font "Arial" (font_size 8)))
		(line (pt 184 32)(pt 168 32)(line_width 1))
	)
	(port
		(pt 184 48)
		(output)
		(text "ready" (rect 0 0 33 14)(font "Arial" (font_size 8)))
		(text "ready" (rect 130 43 163 57)(font "Arial" (font_size 8)))
		(line (pt 184 48)(pt 168 48)(line_width 1))
	)
	(port
		(pt 184 64)
		(output)
		(text "rsdsp" (rect 0 0 33 14)(font "Arial" (font_size 8)))
		(text "rsdsp" (rect 130 59 163 73)(font "Arial" (font_size 8)))
		(line (pt 184 64)(pt 168 64)(line_width 1))
	)
	(port
		(pt 184 80)
		(output)
		(text "re" (rect 0 0 11 14)(font "Arial" (font_size 8)))
		(text "re" (rect 152 75 163 89)(font "Arial" (font_size 8)))
		(line (pt 184 80)(pt 168 80)(line_width 1))
	)
	(port
		(pt 184 96)
		(output)
		(text "wrreq" (rect 0 0 35 14)(font "Arial" (font_size 8)))
		(text "wrreq" (rect 128 91 163 105)(font "Arial" (font_size 8)))
		(line (pt 184 96)(pt 168 96)(line_width 1))
	)
	(port
		(pt 184 128)
		(output)
		(text "datain[63..0]" (rect 0 0 69 14)(font "Arial" (font_size 8)))
		(text "datain[63..0]" (rect 94 123 163 137)(font "Arial" (font_size 8)))
		(line (pt 184 128)(pt 168 128)(line_width 3))
	)
	(port
		(pt 184 144)
		(output)
		(text "rdreq" (rect 0 0 30 14)(font "Arial" (font_size 8)))
		(text "rdreq" (rect 133 139 163 153)(font "Arial" (font_size 8)))
		(line (pt 184 144)(pt 168 144)(line_width 1))
	)
	(port
		(pt 184 192)
		(output)
		(text "clkout" (rect 0 0 33 14)(font "Arial" (font_size 8)))
		(text "clkout" (rect 130 187 163 201)(font "Arial" (font_size 8)))
		(line (pt 184 192)(pt 168 192)(line_width 1))
	)
	(port
		(pt 184 208)
		(output)
		(text "wrfull" (rect 0 0 33 14)(font "Arial" (font_size 8)))
		(text "wrfull" (rect 130 203 163 217)(font "Arial" (font_size 8)))
		(line (pt 184 208)(pt 168 208)(line_width 1))
	)
	(port
		(pt 184 224)
		(output)
		(text "rdempty" (rect 0 0 46 14)(font "Arial" (font_size 8)))
		(text "rdempty" (rect 117 219 163 233)(font "Arial" (font_size 8)))
		(line (pt 184 224)(pt 168 224)(line_width 1))
	)
	(port
		(pt 184 112)
		(bidir)
		(text "count[6..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
		(text "count[6..0]" (rect 103 107 163 121)(font "Arial" (font_size 8)))
		(line (pt 184 112)(pt 168 112)(line_width 3))
	)
	(port
		(pt 184 160)
		(bidir)
		(text "enable" (rect 0 0 37 14)(font "Arial" (font_size 8)))
		(text "enable" (rect 126 155 163 169)(font "Arial" (font_size 8)))
		(line (pt 184 160)(pt 168 160)(line_width 1))
	)
	(port
		(pt 184 176)
		(bidir)
		(text "clkcount[31..0]" (rect 0 0 82 14)(font "Arial" (font_size 8)))
		(text "clkcount[31..0]" (rect 81 171 163 185)(font "Arial" (font_size 8)))
		(line (pt 184 176)(pt 168 176)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 168 272)(line_width 1))
	)
)

⌨️ 快捷键说明

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