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

📄 usb245i.bsf

📁 基于ALTERA CYCLONE 系列的一个USB实验例程
💻 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-2004 Altera Corporation
Any  megafunction  design,  and related netlist (encrypted  or  decrypted),
support information,  device programming or simulation file,  and any other
associated  documentation or information  provided by  Altera  or a partner
under  Altera's   Megafunction   Partnership   Program  may  be  used  only
to program  PLD  devices (but not masked  PLD  devices) from  Altera.   Any
other  use  of such  megafunction  design,  netlist,  support  information,
device programming or simulation file,  or any other  related documentation
or information  is prohibited  for  any  other purpose,  including, but not
limited to  modification,  reverse engineering,  de-compiling, or use  with
any other  silicon devices,  unless such use is  explicitly  licensed under
a separate agreement with  Altera  or a megafunction partner.  Title to the
intellectual property,  including patents,  copyrights,  trademarks,  trade
secrets,  or maskworks,  embodied in any such megafunction design, netlist,
support  information,  device programming or simulation file,  or any other
related documentation or information provided by  Altera  or a megafunction
partner, remains with Altera, the megafunction partner, or their respective
licensors. No other licenses, including any licenses needed under any third
party's intellectual property, are provided herein.
*/
(header "symbol" (version "1.1"))
(symbol
	(rect 16 16 208 176)
	(text "usb245i" (rect 5 0 42 12)(font "Arial" ))
	(text "inst" (rect 8 144 25 156)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "clk50M" (rect 0 0 34 12)(font "Arial" ))
		(text "clk50M" (rect 21 27 55 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "reset" (rect 0 0 24 12)(font "Arial" ))
		(text "reset" (rect 21 43 45 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "usb_txe" (rect 0 0 38 12)(font "Arial" ))
		(text "usb_txe" (rect 21 59 59 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 0 80)
		(input)
		(text "usb_rxe" (rect 0 0 38 12)(font "Arial" ))
		(text "usb_rxe" (rect 21 75 59 87)(font "Arial" ))
		(line (pt 0 80)(pt 16 80)(line_width 1))
	)
	(port
		(pt 0 96)
		(input)
		(text "sendkey" (rect 0 0 42 12)(font "Arial" ))
		(text "sendkey" (rect 21 91 63 103)(font "Arial" ))
		(line (pt 0 96)(pt 16 96)(line_width 1))
	)
	(port
		(pt 0 112)
		(input)
		(text "senddata[7..0]" (rect 0 0 70 12)(font "Arial" ))
		(text "senddata[7..0]" (rect 21 107 91 119)(font "Arial" ))
		(line (pt 0 112)(pt 16 112)(line_width 3))
	)
	(port
		(pt 192 48)
		(output)
		(text "usb_wr" (rect 0 0 34 12)(font "Arial" ))
		(text "usb_wr" (rect 137 43 171 55)(font "Arial" ))
		(line (pt 192 48)(pt 176 48)(line_width 1))
	)
	(port
		(pt 192 64)
		(output)
		(text "usb_rd" (rect 0 0 33 12)(font "Arial" ))
		(text "usb_rd" (rect 138 59 171 71)(font "Arial" ))
		(line (pt 192 64)(pt 176 64)(line_width 1))
	)
	(port
		(pt 192 80)
		(output)
		(text "usb_siwu" (rect 0 0 44 12)(font "Arial" ))
		(text "usb_siwu" (rect 127 75 171 87)(font "Arial" ))
		(line (pt 192 80)(pt 176 80)(line_width 1))
	)
	(port
		(pt 192 96)
		(output)
		(text "recvdata[7..0]" (rect 0 0 69 12)(font "Arial" ))
		(text "recvdata[7..0]" (rect 102 91 171 103)(font "Arial" ))
		(line (pt 192 96)(pt 176 96)(line_width 3))
	)
	(port
		(pt 192 32)
		(bidir)
		(text "usb_d[7..0]" (rect 0 0 55 12)(font "Arial" ))
		(text "usb_d[7..0]" (rect 116 27 171 39)(font "Arial" ))
		(line (pt 192 32)(pt 176 32)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 176 144)(line_width 1))
	)
)

⌨️ 快捷键说明

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