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

📄 interface.bdf

📁 用fpga实现isp接口的源码
💻 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-2006 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 "graphic" (version "1.3"))
(pin
	(input)
	(rect 552 240 720 256)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "NBINDATA[7..0]" (rect 5 0 86 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 128 296 296 312)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "ECS[2]" (rect 5 0 40 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 160 152 328 168)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "RD" (rect 5 0 21 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 128 392 296 408)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "ECS[1]" (rect 5 0 40 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 552 224 736 240)
	(text "OUTPUT" (rect 145 6 183 16)(font "Arial" (font_size 6)))
	(text "NBOUTDATA[7..0]" (rect 5 4 97 16)(font "Arial" ))
	(pt 184 8)
	(drawing
		(line (pt 184 8)(pt 132 8)(line_width 1))
		(line (pt 132 12)(pt 106 12)(line_width 1))
		(line (pt 132 4)(pt 106 4)(line_width 1))
		(line (pt 132 4)(pt 132 12)(line_width 1))
		(line (pt 106 12)(pt 102 8)(line_width 1))
		(line (pt 102 8)(pt 106 4)(line_width 1))
		(line (pt 106 4)(pt 102 8)(line_width 1))
	)
	(rotate180)
)
(pin
	(bidir)
	(rect 848 240 1024 256)
	(text "BIDIR" (rect 1 0 25 10)(font "Arial" (font_size 6)))
	(text "XDATA[7..0]" (rect 90 0 150 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)))
)
(symbol
	(rect 384 296 432 328)
	(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
	(text "inst9" (rect 3 21 26 33)(font "Arial" ))
	(port
		(pt 0 16)
		(input)
		(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
		(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
		(line (pt 0 16)(pt 13 16)(line_width 1))
	)
	(port
		(pt 48 16)
		(output)
		(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
		(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
		(line (pt 39 16)(pt 48 16)(line_width 1))
	)
	(drawing
		(line (pt 13 25)(pt 13 7)(line_width 1))
		(line (pt 13 7)(pt 31 16)(line_width 1))
		(line (pt 13 25)(pt 31 16)(line_width 1))
		(circle (rect 31 12 39 20)(line_width 1))
	)
)
(symbol
	(rect 584 144 648 192)
	(text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
	(text "inst10" (rect 3 37 32 49)(font "Arial" ))
	(port
		(pt 0 16)
		(input)
		(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
		(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
		(line (pt 0 16)(pt 14 16)(line_width 1))
	)
	(port
		(pt 0 32)
		(input)
		(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
		(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
		(line (pt 0 32)(pt 14 32)(line_width 1))
	)
	(port
		(pt 64 24)
		(output)
		(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
		(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
		(line (pt 42 24)(pt 64 24)(line_width 1))
	)
	(drawing
		(line (pt 14 12)(pt 30 12)(line_width 1))
		(line (pt 14 37)(pt 31 37)(line_width 1))
		(line (pt 14 12)(pt 14 37)(line_width 1))
		(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1))
	)
)
(symbol
	(rect 584 280 648 328)
	(text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
	(text "inst11" (rect 3 37 32 49)(font "Arial" ))
	(port
		(pt 0 16)
		(input)
		(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
		(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
		(line (pt 0 16)(pt 14 16)(line_width 1))
	)
	(port
		(pt 0 32)
		(input)
		(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
		(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
		(line (pt 0 32)(pt 14 32)(line_width 1))
	)
	(port
		(pt 64 24)
		(output)
		(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
		(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
		(line (pt 42 24)(pt 64 24)(line_width 1))
	)
	(drawing
		(line (pt 14 12)(pt 30 12)(line_width 1))
		(line (pt 14 37)(pt 31 37)(line_width 1))
		(line (pt 14 12)(pt 14 37)(line_width 1))
		(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1))
	)
)
(symbol
	(rect 744 208 840 264)
	(text "tritest8" (rect 49 1 96 17)(font "Arial" (font_size 10)))
	(text "inst" (rect 8 40 25 52)(font "Arial" ))
	(port
		(pt 40 56)
		(input)
		(text "enabledt" (rect 0 0 48 14)(font "Arial" (font_size 8)))
		(text "enabledt" (rect 40 10 88 24)(font "Arial" (font_size 8))(invisible))
		(line (pt 40 56)(pt 40 44)(line_width 1))
	)
	(port
		(pt 0 40)
		(input)
		(text "data[7..0]" (rect 0 0 53 14)(font "Arial" (font_size 8)))
		(text "data[7..0]" (rect -3 -5 50 9)(font "Arial" (font_size 8))(invisible))
		(line (pt 0 40)(pt 32 40)(line_width 3))
	)
	(port
		(pt 40 0)
		(input)
		(text "enabletr" (rect 0 0 46 14)(font "Arial" (font_size 8)))
		(text "enabletr" (rect 40 -36 86 -22)(font "Arial" (font_size 8))(invisible))
	)
	(port
		(pt 0 24)
		(output)
		(text "result[7..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
		(text "result[7..0]" (rect -3 -25 57 -11)(font "Arial" (font_size 8))(invisible))
		(line (pt 0 24)(pt 32 24)(line_width 3))
	)
	(port
		(pt 96 40)
		(bidir)
		(text "tridata[7..0]" (rect 0 0 63 14)(font "Arial" (font_size 8)))
		(text "tridata[7..0]" (rect 100 -14 163 0)(font "Arial" (font_size 8))(invisible))
		(line (pt 96 40)(pt 48 40)(line_width 3))
	)
	(drawing
		(text "8" (rect 71 41 76 53)(font "Arial" ))
		(text "8" (rect 15 41 20 53)(font "Arial" ))
		(text "8" (rect 15 25 20 37)(font "Arial" ))
		(line (pt 48 16)(pt 32 24)(line_width 1))
		(line (pt 32 24)(pt 48 32)(line_width 1))
		(line (pt 48 32)(pt 48 16)(line_width 1))
		(line (pt 32 32)(pt 48 40)(line_width 1))
		(line (pt 48 40)(pt 32 48)(line_width 1))
		(line (pt 32 48)(pt 32 32)(line_width 1))
		(line (pt 48 24)(pt 56 24)(line_width 3))
		(line (pt 56 24)(pt 56 40)(line_width 3))
		(line (pt 66 44)(pt 74 36)(line_width 1))
		(line (pt 10 44)(pt 18 36)(line_width 1))
		(line (pt 10 28)(pt 18 20)(line_width 1))
		(line (pt 40 0)(pt 40 20)(line_width 1))
	)
)
(symbol
	(rect 432 216 464 264)
	(text "NOT" (rect 22 1 32 21)(font "Arial" (font_size 6))(vertical))
	(text "inst6" (rect -1 3 11 26)(font "Arial" )(vertical))
	(port
		(pt 16 0)
		(input)
		(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
		(text "IN" (rect 13 2 25 13)(font "Courier New" (bold))(vertical)(invisible))
		(line (pt 16 0)(pt 16 13)(line_width 1))
	)
	(port
		(pt 16 48)
		(output)
		(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
		(text "OUT" (rect 13 32 25 49)(font "Courier New" (bold))(vertical)(invisible))
		(line (pt 16 39)(pt 16 48)(line_width 1))
	)
	(drawing
		(line (pt 7 13)(pt 25 13)(line_width 1))
		(line (pt 25 13)(pt 16 31)(line_width 1))
		(line (pt 7 13)(pt 16 31)(line_width 1))
		(circle (rect 12 31 20 39)(line_width 1))
	)
	(rotate270)
)
(symbol
	(rect 304 288 368 336)
	(text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
	(text "inst12" (rect 3 37 32 49)(font "Arial" ))
	(port
		(pt 0 16)
		(input)
		(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
		(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
		(line (pt 0 16)(pt 14 16)(line_width 1))
	)
	(port
		(pt 0 32)
		(input)
		(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
		(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
		(line (pt 0 32)(pt 14 32)(line_width 1))
	)
	(port
		(pt 64 24)
		(output)
		(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
		(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
		(line (pt 42 24)(pt 64 24)(line_width 1))
	)
	(drawing
		(line (pt 14 12)(pt 30 12)(line_width 1))
		(line (pt 14 37)(pt 31 37)(line_width 1))
		(line (pt 14 12)(pt 14 37)(line_width 1))
		(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1))
	)
)
(symbol
	(rect 232 328 264 344)
	(text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
	(text "inst2" (rect 3 5 26 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))
	)
)
(connector
	(pt 744 232)
	(pt 736 232)
	(bus)
)
(connector
	(pt 784 208)
	(pt 784 168)
)
(connector
	(pt 784 264)
	(pt 784 304)
)
(connector
	(pt 536 176)
	(pt 536 312)
)
(connector
	(pt 536 176)
	(pt 584 176)
)
(connector
	(pt 784 168)
	(pt 648 168)
)
(connector
	(pt 720 248)
	(pt 744 248)
	(bus)
)
(connector
	(pt 648 304)
	(pt 784 304)
)
(connector
	(pt 840 248)
	(pt 848 248)
	(bus)
)
(connector
	(pt 448 296)
	(pt 584 296)
)
(connector
	(pt 448 296)
	(pt 448 264)
)
(connector
	(pt 448 216)
	(pt 448 160)
)
(connector
	(pt 328 160)
	(pt 448 160)
)
(connector
	(pt 448 160)
	(pt 584 160)
)
(connector
	(pt 432 312)
	(pt 536 312)
)
(connector
	(pt 536 312)
	(pt 584 312)
)
(connector
	(pt 296 304)
	(pt 304 304)
)
(connector
	(pt 384 312)
	(pt 368 312)
)
(connector
	(pt 280 320)
	(pt 304 320)
)
(connector
	(pt 280 320)
	(pt 280 360)
)
(connector
	(pt 280 360)
	(pt 248 360)
)
(connector
	(pt 248 360)
	(pt 248 344)
)
(connector
	(pt 304 400)
	(pt 296 400)
)
(junction (pt 536 312))
(junction (pt 448 160))

⌨️ 快捷键说明

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