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

📄 usbrefdesign.bdf

📁 这是一个在MAX II CPLD利用FT245BM 模块实现USB传输的读写程序
💻 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.
*/
(header "graphic" (version "1.3"))
(pin
	(input)
	(rect -144 64 24 80)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "clk" (rect 9 0 23 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)))
)
(pin
	(input)
	(rect 32 208 200 224)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "TXE_n" (rect 9 0 39 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)))
)
(pin
	(input)
	(rect 32 224 200 240)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "RXF_n" (rect 9 0 42 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)))
)
(pin
	(input)
	(rect 32 176 200 192)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "Reset" (rect 9 0 38 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)))
)
(pin
	(input)
	(rect -104 408 64 424)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "key_in" (rect 9 0 42 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)))
)
(pin
	(output)
	(rect 776 192 952 208)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "USB_WR" (rect 90 0 137 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))
	)
)
(pin
	(output)
	(rect 776 160 952 176)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "USB_WU" (rect 90 0 137 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))
	)
)
(pin
	(bidir)
	(rect -64 280 112 296)
	(text "BIDIR" (rect 151 0 175 10)(font "Arial" (font_size 6)))
	(text "USB_data[7..0]" (rect 11 0 86 12)(font "Arial" ))
	(pt 176 8)
	(drawing
		(line (pt 120 4)(pt 98 4)(line_width 1))
		(line (pt 176 8)(pt 124 8)(line_width 1))
		(line (pt 120 12)(pt 98 12)(line_width 1))
		(line (pt 98 4)(pt 94 8)(line_width 1))
		(line (pt 98 12)(pt 94 8)(line_width 1))
		(line (pt 120 4)(pt 124 8)(line_width 1))
		(line (pt 124 8)(pt 120 12)(line_width 1))
	)
	(flipy)
	(text "VCC" (rect 152 7 172 17)(font "Arial" (font_size 6)))
)
(symbol
	(rect 448 136 704 264)
	(text "USB_T" (rect 5 0 39 12)(font "Arial" ))
	(text "inst2" (rect 8 112 31 124)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "Clock" (rect 0 0 28 12)(font "Arial" ))
		(text "Clock" (rect 21 27 49 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "Reset" (rect 0 0 29 12)(font "Arial" ))
		(text "Reset" (rect 21 43 50 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "EnablePassivesController" (rect 0 0 126 12)(font "Arial" ))
		(text "EnablePassivesController" (rect 21 59 147 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 0 80)
		(input)
		(text "TXE_n" (rect 0 0 30 12)(font "Arial" ))
		(text "TXE_n" (rect 21 75 51 87)(font "Arial" ))
		(line (pt 0 80)(pt 16 80)(line_width 1))
	)
	(port
		(pt 0 96)
		(input)
		(text "RXF_n" (rect 0 0 33 12)(font "Arial" ))
		(text "RXF_n" (rect 21 91 54 103)(font "Arial" ))
		(line (pt 0 96)(pt 16 96)(line_width 1))
	)
	(port
		(pt 256 32)
		(output)
		(text "USB_WU" (rect 0 0 47 12)(font "Arial" ))
		(text "USB_WU" (rect 188 27 235 39)(font "Arial" ))
		(line (pt 256 32)(pt 240 32)(line_width 1))
	)
	(port
		(pt 256 48)
		(output)
		(text "Data2USB[7..0]" (rect 0 0 77 12)(font "Arial" ))
		(text "Data2USB[7..0]" (rect 158 43 235 55)(font "Arial" ))
		(line (pt 256 48)(pt 240 48)(line_width 3))
	)
	(port
		(pt 256 64)
		(output)
		(text "USB_WR" (rect 0 0 47 12)(font "Arial" ))
		(text "USB_WR" (rect 188 59 235 71)(font "Arial" ))
		(line (pt 256 64)(pt 240 64)(line_width 1))
	)
	(port
		(pt 256 80)
		(output)
		(text "TriEnableIn" (rect 0 0 54 12)(font "Arial" ))
		(text "TriEnableIn" (rect 181 75 235 87)(font "Arial" ))
		(line (pt 256 80)(pt 240 80)(line_width 1))
	)
	(port
		(pt 256 96)
		(output)
		(text "TriEnableDout" (rect 0 0 68 12)(font "Arial" ))
		(text "TriEnableDout" (rect 167 91 235 103)(font "Arial" ))
		(line (pt 256 96)(pt 240 96)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 240 112)(line_width 1))
	)
)
(symbol
	(rect 144 248 264 304)
	(text "lpm_bustri0" (rect -8 1 71 17)(font "Arial" (font_size 10)))
	(text "inst" (rect 95 40 112 52)(font "Arial" ))
	(port
		(pt 80 56)
		(input)
		(text "enabledt" (rect 0 0 48 14)(font "Arial" (font_size 8)))
		(text "enabledt" (rect 32 10 80 24)(font "Arial" (font_size 8))(invisible))
		(line (pt 80 56)(pt 80 44)(line_width 1))
	)
	(port
		(pt 120 40)
		(input)
		(text "data[7..0]" (rect 0 0 53 14)(font "Arial" (font_size 8)))
		(text "data[7..0]" (rect 70 -5 123 9)(font "Arial" (font_size 8))(invisible))
		(line (pt 120 40)(pt 88 40)(line_width 3))
	)
	(port
		(pt 80 0)
		(input)
		(text "enabletr" (rect 0 0 46 14)(font "Arial" (font_size 8)))
		(text "enabletr" (rect 34 -36 80 -22)(font "Arial" (font_size 8))(invisible))
	)
	(port
		(pt 120 24)
		(output)
		(text "result[7..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
		(text "result[7..0]" (rect 63 -25 123 -11)(font "Arial" (font_size 8))(invisible))
		(line (pt 120 24)(pt 88 24)(line_width 3))
	)
	(port
		(pt 0 40)
		(bidir)
		(text "tridata[7..0]" (rect 0 0 63 14)(font "Arial" (font_size 8)))
		(text "tridata[7..0]" (rect -67 -14 -4 0)(font "Arial" (font_size 8))(invisible))
		(line (pt 0 40)(pt 72 40)(line_width 3))
	)
	(drawing
		(text "8" (rect 32 41 37 53)(font "Arial" ))
		(text "8" (rect 100 41 105 53)(font "Arial" ))
		(text "8" (rect 100 25 105 37)(font "Arial" ))
		(line (pt 72 16)(pt 88 24)(line_width 1))
		(line (pt 88 24)(pt 72 32)(line_width 1))
		(line (pt 72 32)(pt 72 16)(line_width 1))
		(line (pt 88 32)(pt 72 40)(line_width 1))
		(line (pt 72 40)(pt 88 48)(line_width 1))
		(line (pt 88 48)(pt 88 32)(line_width 1))
		(line (pt 72 24)(pt 64 24)(line_width 3))
		(line (pt 64 24)(pt 64 40)(line_width 3))
		(line (pt 42 44)(pt 34 36)(line_width 1))
		(line (pt 110 44)(pt 102 36)(line_width 1))
		(line (pt 110 28)(pt 102 20)(line_width 1))
		(line (pt 80 0)(pt 80 20)(line_width 1))
	)
	(flipy)
)
(symbol
	(rect 96 368 192 464)
	(text "key_down" (rect 5 0 54 12)(font "Arial" ))
	(text "inst4" (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 "key_in" (rect 0 0 33 12)(font "Arial" ))
		(text "key_in" (rect 21 43 54 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 96 32)
		(output)
		(text "TEN" (rect 0 0 21 12)(font "Arial" ))
		(text "TEN" (rect 54 27 75 39)(font "Arial" ))
		(line (pt 96 32)(pt 80 32)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 80 80)(line_width 1))
	)
)
(connector
	(pt 344 96)
	(pt 752 96)
	(bus)
)
(connector
	(pt 304 384)
	(pt 784 384)
)
(connector
	(pt 344 96)
	(pt 344 288)
	(bus)
)
(connector
	(pt 752 336)
	(pt 224 336)
)
(connector
	(pt 224 336)
	(pt 224 304)
)
(connector
	(pt 344 288)
	(pt 264 288)
	(bus)
)
(connector
	(pt 112 288)
	(pt 144 288)
	(bus)
)
(connector
	(pt 304 384)
	(pt 304 240)
)
(connector
	(pt 304 240)
	(pt 224 240)
)
(connector
	(pt 224 248)
	(pt 224 240)
)
(connector
	(pt 200 216)
	(pt 448 216)
)
(connector
	(pt 200 232)
	(pt 448 232)
)
(connector
	(pt 200 184)
	(pt 448 184)
)
(connector
	(pt 192 400)
	(pt 400 400)
)
(connector
	(pt 400 400)
	(pt 400 200)
)
(connector
	(pt 400 200)
	(pt 448 200)
)
(connector
	(pt 96 400)
	(pt -88 400)
)
(connector
	(pt -88 96)
	(pt -88 400)
)
(connector
	(pt -88 96)
	(pt 88 96)
)
(connector
	(pt 88 96)
	(pt 88 72)
)
(connector
	(pt 64 416)
	(pt 96 416)
)
(connector
	(pt 752 232)
	(pt 752 336)
)
(connector
	(pt 752 232)
	(pt 704 232)
)
(connector
	(pt 784 216)
	(pt 784 384)
)
(connector
	(pt 784 216)
	(pt 704 216)
)
(connector
	(pt 704 200)
	(pt 776 200)
)
(connector
	(pt 752 184)
	(pt 752 96)
	(bus)
)
(connector
	(pt 752 184)
	(pt 704 184)
	(bus)
)
(connector
	(pt 704 168)
	(pt 776 168)
)
(connector
	(pt 400 72)
	(pt 400 168)
)
(connector
	(pt 24 72)
	(pt 88 72)
)
(connector
	(pt 88 72)
	(pt 400 72)
)
(connector
	(pt 400 168)
	(pt 448 168)
)
(junction (pt 88 72))

⌨️ 快捷键说明

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