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

📄 usb2_v.bdf

📁 USB2_V例子工程是一个FPGA数据通过USB2.0传输到PC机的示例.
💻 BDF
字号:
/*
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.
*/
//#pragma file_not_in_maxplusii_format
(header "graphic" (version "1.3"))
(pin
	(input)
	(rect -112 264 56 280)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "clk" (rect 5 0 19 12)(font "Arial" ))
	(pt 168 8)
	(drawing
		(line (pt 92 12)(pt 117 12)(line_width 1))
		(line (pt 92 4)(pt 117 4)(line_width 1))
		(line (pt 121 8)(pt 168 8)(line_width 1))
		(line (pt 92 12)(pt 92 4)(line_width 1))
		(line (pt 117 4)(pt 121 8)(line_width 1))
		(line (pt 117 12)(pt 121 8)(line_width 1))
	)
	(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
	(annotation_block (location)(rect -160 280 -112 296))
)
(pin
	(input)
	(rect -112 280 56 296)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "reset" (rect 5 0 29 12)(font "Arial" ))
	(pt 168 8)
	(drawing
		(line (pt 92 12)(pt 117 12)(line_width 1))
		(line (pt 92 4)(pt 117 4)(line_width 1))
		(line (pt 121 8)(pt 168 8)(line_width 1))
		(line (pt 92 12)(pt 92 4)(line_width 1))
		(line (pt 117 4)(pt 121 8)(line_width 1))
		(line (pt 117 12)(pt 121 8)(line_width 1))
	)
	(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
	(annotation_block (location)(rect -168 296 -120 312))
)
(pin
	(input)
	(rect 80 336 248 352)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "fifo_full" (rect 5 0 43 12)(font "Arial" ))
	(pt 168 8)
	(drawing
		(line (pt 92 12)(pt 117 12)(line_width 1))
		(line (pt 92 4)(pt 117 4)(line_width 1))
		(line (pt 121 8)(pt 168 8)(line_width 1))
		(line (pt 92 12)(pt 92 4)(line_width 1))
		(line (pt 117 4)(pt 121 8)(line_width 1))
		(line (pt 117 12)(pt 121 8)(line_width 1))
	)
	(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
	(annotation_block (location)(rect 104 384 152 400))
)
(pin
	(output)
	(rect 568 280 744 296)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "sloe" (rect 90 0 110 12)(font "Arial" ))
	(pt 0 8)
	(drawing
		(line (pt 0 8)(pt 52 8)(line_width 1))
		(line (pt 52 4)(pt 78 4)(line_width 1))
		(line (pt 52 12)(pt 78 12)(line_width 1))
		(line (pt 52 12)(pt 52 4)(line_width 1))
		(line (pt 78 4)(pt 82 8)(line_width 1))
		(line (pt 82 8)(pt 78 12)(line_width 1))
		(line (pt 78 12)(pt 82 8)(line_width 1))
	)
	(annotation_block (location)(rect 880 344 928 360))
)
(pin
	(output)
	(rect 568 296 744 312)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "slrd" (rect 90 0 107 12)(font "Arial" ))
	(pt 0 8)
	(drawing
		(line (pt 0 8)(pt 52 8)(line_width 1))
		(line (pt 52 4)(pt 78 4)(line_width 1))
		(line (pt 52 12)(pt 78 12)(line_width 1))
		(line (pt 52 12)(pt 52 4)(line_width 1))
		(line (pt 78 4)(pt 82 8)(line_width 1))
		(line (pt 82 8)(pt 78 12)(line_width 1))
		(line (pt 78 12)(pt 82 8)(line_width 1))
	)
	(annotation_block (location)(rect 880 400 928 416))
)
(pin
	(output)
	(rect 656 216 832 232)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "fifoadr[1..0]" (rect 90 0 149 12)(font "Arial" ))
	(pt 0 8)
	(drawing
		(line (pt 0 8)(pt 52 8)(line_width 1))
		(line (pt 52 4)(pt 78 4)(line_width 1))
		(line (pt 52 12)(pt 78 12)(line_width 1))
		(line (pt 52 12)(pt 52 4)(line_width 1))
		(line (pt 78 4)(pt 82 8)(line_width 1))
		(line (pt 82 8)(pt 78 12)(line_width 1))
		(line (pt 78 12)(pt 82 8)(line_width 1))
	)
	(annotation_block (location)(rect 1008 280 1064 312))
)
(pin
	(output)
	(rect 568 232 744 248)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "slwr" (rect 90 0 108 12)(font "Arial" ))
	(pt 0 8)
	(drawing
		(line (pt 0 8)(pt 52 8)(line_width 1))
		(line (pt 52 4)(pt 78 4)(line_width 1))
		(line (pt 52 12)(pt 78 12)(line_width 1))
		(line (pt 52 12)(pt 52 4)(line_width 1))
		(line (pt 78 4)(pt 82 8)(line_width 1))
		(line (pt 82 8)(pt 78 12)(line_width 1))
		(line (pt 78 12)(pt 82 8)(line_width 1))
	)
	(annotation_block (location)(rect 920 344 968 360))
)
(pin
	(output)
	(rect 328 520 504 536)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "PKTEND" (rect 90 0 133 12)(font "Arial" ))
	(pt 0 8)
	(drawing
		(line (pt 0 8)(pt 52 8)(line_width 1))
		(line (pt 52 4)(pt 78 4)(line_width 1))
		(line (pt 52 12)(pt 78 12)(line_width 1))
		(line (pt 52 12)(pt 52 4)(line_width 1))
		(line (pt 78 4)(pt 82 8)(line_width 1))
		(line (pt 82 8)(pt 78 12)(line_width 1))
		(line (pt 78 12)(pt 82 8)(line_width 1))
	)
	(annotation_block (location)(rect 560 512 608 528))
)
(pin
	(bidir)
	(rect 568 248 744 264)
	(text "BIDIR" (rect 1 0 25 10)(font "Arial" (font_size 6)))
	(text "fd[15..0]" (rect 90 0 132 12)(font "Arial" ))
	(pt 0 8)
	(drawing
		(line (pt 56 4)(pt 78 4)(line_width 1))
		(line (pt 0 8)(pt 52 8)(line_width 1))
		(line (pt 56 12)(pt 78 12)(line_width 1))
		(line (pt 78 4)(pt 82 8)(line_width 1))
		(line (pt 78 12)(pt 82 8)(line_width 1))
		(line (pt 56 4)(pt 52 8)(line_width 1))
		(line (pt 52 8)(pt 56 12)(line_width 1))
	)
	(text "VCC" (rect 4 7 24 17)(font "Arial" (font_size 6)))
	(annotation_block (location)(rect 992 272 1048 496))
)
(symbol
	(rect 256 352 288 368)
	(text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
	(text "inst17" (rect 3 5 32 17)(font "Arial" )(invisible))
	(port
		(pt 16 16)
		(output)
		(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
		(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
		(line (pt 16 16)(pt 16 8)(line_width 1))
	)
	(drawing
		(line (pt 8 8)(pt 24 8)(line_width 1))
	)
)
(symbol
	(rect 256 496 288 512)
	(text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
	(text "inst18" (rect 3 5 32 17)(font "Arial" )(invisible))
	(port
		(pt 16 16)
		(output)
		(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
		(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
		(line (pt 16 16)(pt 16 8)(line_width 1))
	)
	(drawing
		(line (pt 8 8)(pt 24 8)(line_width 1))
	)
)
(symbol
	(rect 104 240 264 336)
	(text "usb2_test" (rect 5 0 53 12)(font "Arial" ))
	(text "inst1" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "clk" (rect 0 0 14 12)(font "Arial" ))
		(text "clk" (rect 21 27 35 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 "done_in" (rect 0 0 37 12)(font "Arial" ))
		(text "done_in" (rect 21 59 58 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 160 32)
		(output)
		(text "write_n" (rect 0 0 34 12)(font "Arial" ))
		(text "write_n" (rect 105 27 139 39)(font "Arial" ))
		(line (pt 160 32)(pt 144 32)(line_width 1))
	)
	(port
		(pt 160 48)
		(output)
		(text "dataout[15..0]" (rect 0 0 68 12)(font "Arial" ))
		(text "dataout[15..0]" (rect 71 43 139 55)(font "Arial" ))
		(line (pt 160 48)(pt 144 48)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 144 80)(line_width 1))
	)
)
(symbol
	(rect 368 192 568 384)
	(text "usb_port" (rect 5 0 47 12)(font "Arial" ))
	(text "inst" (rect 8 176 25 188)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "clk" (rect 0 0 14 12)(font "Arial" ))
		(text "clk" (rect 21 27 35 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 "read_n" (rect 0 0 33 12)(font "Arial" ))
		(text "read_n" (rect 21 59 54 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 0 80)
		(input)
		(text "write_n" (rect 0 0 34 12)(font "Arial" ))
		(text "write_n" (rect 21 75 55 87)(font "Arial" ))
		(line (pt 0 80)(pt 16 80)(line_width 1))
	)
	(port
		(pt 0 96)
		(input)
		(text "writedata[15..0]" (rect 0 0 75 12)(font "Arial" ))
		(text "writedata[15..0]" (rect 21 91 96 103)(font "Arial" ))
		(line (pt 0 96)(pt 16 96)(line_width 3))
	)
	(port
		(pt 0 112)
		(input)
		(text "fifo_full_n" (rect 0 0 50 12)(font "Arial" ))
		(text "fifo_full_n" (rect 21 107 71 119)(font "Arial" ))
		(line (pt 0 112)(pt 16 112)(line_width 1))
	)
	(port
		(pt 0 128)
		(input)
		(text "fifo_empty_n" (rect 0 0 67 12)(font "Arial" ))
		(text "fifo_empty_n" (rect 21 123 88 135)(font "Arial" ))
		(line (pt 0 128)(pt 16 128)(line_width 1))
	)
	(port
		(pt 200 32)
		(output)
		(text "fifoadr[1..0]" (rect 0 0 59 12)(font "Arial" ))
		(text "fifoadr[1..0]" (rect 120 27 179 39)(font "Arial" ))
		(line (pt 200 32)(pt 184 32)(line_width 3))
	)
	(port
		(pt 200 48)
		(output)
		(text "slwr_n" (rect 0 0 30 12)(font "Arial" ))
		(text "slwr_n" (rect 149 43 179 55)(font "Arial" ))
		(line (pt 200 48)(pt 184 48)(line_width 1))
	)
	(port
		(pt 200 64)
		(output)
		(text "FD[15..0]" (rect 0 0 47 12)(font "Arial" ))
		(text "FD[15..0]" (rect 132 59 179 71)(font "Arial" ))
		(line (pt 200 64)(pt 184 64)(line_width 3))
	)
	(port
		(pt 200 80)
		(output)
		(text "readdata[15..0]" (rect 0 0 74 12)(font "Arial" ))
		(text "readdata[15..0]" (rect 105 75 179 87)(font "Arial" ))
		(line (pt 200 80)(pt 184 80)(line_width 3))
	)
	(port
		(pt 200 96)
		(output)
		(text "sloe_n" (rect 0 0 31 12)(font "Arial" ))
		(text "sloe_n" (rect 148 91 179 103)(font "Arial" ))
		(line (pt 200 96)(pt 184 96)(line_width 1))
	)
	(port
		(pt 200 112)
		(output)
		(text "slrd_n" (rect 0 0 29 12)(font "Arial" ))
		(text "slrd_n" (rect 150 107 179 119)(font "Arial" ))
		(line (pt 200 112)(pt 184 112)(line_width 1))
	)
	(port
		(pt 200 128)
		(output)
		(text "read_done" (rect 0 0 50 12)(font "Arial" ))
		(text "read_done" (rect 129 123 179 135)(font "Arial" ))
		(line (pt 200 128)(pt 184 128)(line_width 1))
	)
	(port
		(pt 200 144)
		(output)
		(text "write_done" (rect 0 0 51 12)(font "Arial" ))
		(text "write_done" (rect 128 139 179 151)(font "Arial" ))
		(line (pt 200 144)(pt 184 144)(line_width 1))
	)
	(parameter
		"R1"
		"B\"000\""
		""
	)
	(parameter
		"R2"
		"B\"001\""
		""
	)
	(parameter
		"R3"
		"B\"011\""
		""
	)
	(parameter
		"W2"
		"B\"010\""
		""
	)
	(parameter
		"W3"
		"B\"110\""
		""
	)
	(parameter
		"W4"
		"B\"100\""
		""
	)
	(drawing
		(rectangle (rect 16 16 184 176)(line_width 1))
	)
	(annotation_block (parameter)(rect 568 88 672 192))
)
(connector
	(pt 264 288)
	(pt 368 288)
	(bus)
)
(connector
	(pt 368 272)
	(pt 264 272)
)
(connector
	(pt 104 272)
	(pt 56 272)
)
(connector
	(pt 104 288)
	(pt 56 288)
)
(connector
	(pt 368 224)
	(pt 328 224)
)
(connector
	(pt 328 224)
	(pt 328 152)
)
(connector
	(text "clk" (rect 272 136 286 148)(font "Arial" ))
	(pt 328 152)
	(pt 264 152)
)
(connector
	(pt 368 240)
	(pt 312 240)
)
(connector
	(pt 312 168)
	(pt 312 240)
)
(connector
	(text "reset" (rect 268 152 292 164)(font "Arial" ))
	(pt 312 168)
	(pt 248 168)
)
(connector
	(pt 280 304)
	(pt 280 344)
)
(connector
	(pt 368 304)
	(pt 280 304)
)
(connector
	(pt 248 344)
	(pt 280 344)
)
(connector
	(pt 272 368)
	(pt 272 376)
)
(connector
	(pt 272 376)
	(pt 320 376)
)
(connector
	(pt 368 320)
	(pt 320 320)
)
(connector
	(pt 320 320)
	(pt 320 376)
)
(connector
	(pt 272 528)
	(pt 328 528)
)
(connector
	(pt 272 512)
	(pt 272 528)
)
(connector
	(pt 568 224)
	(pt 656 224)
	(bus)
)

⌨️ 快捷键说明

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