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

📄 voltage2.bdf

📁 FPGA进行脉冲控制的多个源代码实例
💻 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-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 "graphic" (version "1.3"))
(pin
	(input)
	(rect 136 120 304 136)
	(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
	(text "clk" (rect 58 1 73 15)(font "Arial" (font_size 8)))
	(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 40 304 208 320)
	(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
	(text "dataad[7..0]" (rect 14 1 81 15)(font "Arial" (font_size 8)))
	(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 40 320 208 336)
	(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
	(text "busy" (rect 47 1 75 15)(font "Arial" (font_size 8)))
	(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 536 288 712 304)
	(text "OUTPUT" (rect 1 -1 39 9)(font "Arial" (font_size 6)))
	(text "cs" (rect 90 0 104 14)(font "Arial" (font_size 8)))
	(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 800 416 976 432)
	(text "OUTPUT" (rect 1 -1 39 9)(font "Arial" (font_size 6)))
	(text "led3[6..0]" (rect 90 0 141 14)(font "Arial" (font_size 8)))
	(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 800 400 976 416)
	(text "OUTPUT" (rect 1 -1 39 9)(font "Arial" (font_size 6)))
	(text "led2[6..0]" (rect 90 0 141 14)(font "Arial" (font_size 8)))
	(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 800 384 976 400)
	(text "OUTPUT" (rect 1 -1 39 9)(font "Arial" (font_size 6)))
	(text "led1[6..0]" (rect 90 0 141 14)(font "Arial" (font_size 8)))
	(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 536 304 712 320)
	(text "OUTPUT" (rect 1 -1 39 9)(font "Arial" (font_size 6)))
	(text "rd" (rect 90 0 101 14)(font "Arial" (font_size 8)))
	(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))
	)
)
(symbol
	(rect 248 272 496 352)
	(text "AD" (rect 116 63 134 79)(font "Courier New" (font_size 10)(bold)))
	(text "1" (rect 0 2 5 14)(font "Courier New" (bold)))
	(port
		(pt 0 56)
		(input)
		(text "busy" (rect 20 53 43 65)(font "Courier New" (bold)))
		(text "busy" (rect 20 53 43 65)(font "Courier New" (bold)))
		(line (pt 0 56)(pt 16 56)(line_width 1))
	)
	(port
		(pt 0 40)
		(input)
		(text "datain[7..0]" (rect 20 37 90 49)(font "Courier New" (bold)))
		(text "datain[7..0]" (rect 20 37 90 49)(font "Courier New" (bold)))
		(line (pt 0 40)(pt 16 40)(line_width 3))
	)
	(port
		(pt 0 24)
		(input)
		(text "clk" (rect 20 21 37 33)(font "Courier New" (bold)))
		(text "clk" (rect 20 21 37 33)(font "Courier New" (bold)))
		(line (pt 0 24)(pt 16 24)(line_width 1))
	)
	(port
		(pt 248 56)
		(output)
		(text "dataout[7..0]" (rect 165 53 241 65)(font "Courier New" (bold)))
		(text "dataout[7..0]" (rect 165 53 241 65)(font "Courier New" (bold)))
		(line (pt 232 56)(pt 248 56)(line_width 3))
	)
	(port
		(pt 248 40)
		(output)
		(text "cs" (rect 220 37 231 49)(font "Courier New" (bold)))
		(text "cs" (rect 220 37 231 49)(font "Courier New" (bold)))
		(line (pt 232 40)(pt 248 40)(line_width 1))
	)
	(port
		(pt 248 24)
		(output)
		(text "rd" (rect 220 21 231 33)(font "Courier New" (bold)))
		(text "rd" (rect 220 21 231 33)(font "Courier New" (bold)))
		(line (pt 232 24)(pt 248 24)(line_width 1))
	)
	(drawing
		(line (pt 16 16)(pt 232 16)(line_width 1))
		(line (pt 16 64)(pt 232 64)(line_width 1))
		(line (pt 16 16)(pt 16 64)(line_width 1))
		(line (pt 232 16)(pt 232 64)(line_width 1))
	)
	(flipx)
)
(symbol
	(rect 352 104 456 152)
	(text "DIVISION1" (rect 9 -1 93 15)(font "Courier New" (font_size 10)(bold)))
	(text "2" (rect 0 39 5 51)(font "Courier New" (bold)))
	(port
		(pt 0 24)
		(input)
		(text "clk" (rect 20 20 37 32)(font "Courier New" (bold)))
		(text "clk" (rect 20 20 37 32)(font "Courier New" (bold)))
		(line (pt 0 24)(pt 16 24)(line_width 1))
	)
	(port
		(pt 104 24)
		(output)
		(text "clk4" (rect 66 20 89 32)(font "Courier New" (bold)))
		(text "clk4" (rect 66 20 89 32)(font "Courier New" (bold)))
		(line (pt 88 24)(pt 104 24)(line_width 1))
	)
	(drawing
		(line (pt 16 32)(pt 88 32)(line_width 1))
		(line (pt 16 16)(pt 88 16)(line_width 1))
		(line (pt 16 32)(pt 16 16)(line_width 1))
		(line (pt 88 32)(pt 88 16)(line_width 1))
	)
)
(symbol
	(rect 536 368 792 448)
	(text "CODE" (rect 110 -1 147 15)(font "Courier New" (font_size 10)(bold)))
	(text "3" (rect 0 71 5 83)(font "Courier New" (bold)))
	(port
		(pt 0 40)
		(input)
		(text "datain[7..0]" (rect 20 36 90 48)(font "Courier New" (bold)))
		(text "datain[7..0]" (rect 20 36 90 48)(font "Courier New" (bold)))
		(line (pt 0 40)(pt 16 40)(line_width 3))
	)
	(port
		(pt 256 24)
		(output)
		(text "dataout1[6..0]" (rect 168 20 250 32)(font "Courier New" (bold)))
		(text "dataout1[6..0]" (rect 168 20 250 32)(font "Courier New" (bold)))
		(line (pt 240 24)(pt 256 24)(line_width 3))
	)
	(port
		(pt 256 40)
		(output)
		(text "dataout2[6..0]" (rect 168 36 250 48)(font "Courier New" (bold)))
		(text "dataout2[6..0]" (rect 168 36 250 48)(font "Courier New" (bold)))
		(line (pt 240 40)(pt 256 40)(line_width 3))
	)
	(port
		(pt 256 56)
		(output)
		(text "dataout3[6..0]" (rect 168 52 250 64)(font "Courier New" (bold)))
		(text "dataout3[6..0]" (rect 168 52 250 64)(font "Courier New" (bold)))
		(line (pt 240 56)(pt 256 56)(line_width 3))
	)
	(drawing
		(line (pt 16 64)(pt 240 64)(line_width 1))
		(line (pt 16 16)(pt 240 16)(line_width 1))
		(line (pt 16 64)(pt 16 16)(line_width 1))
		(line (pt 240 64)(pt 240 16)(line_width 1))
	)
)
(connector
	(pt 456 128)
	(pt 496 128)
)
(connector
	(pt 216 248)
	(pt 496 248)
)
(connector
	(pt 216 296)
	(pt 248 296)
)
(connector
	(pt 304 128)
	(pt 352 128)
)
(connector
	(pt 496 296)
	(pt 536 296)
)
(connector
	(pt 496 312)
	(pt 536 312)
)
(connector
	(pt 496 328)
	(pt 512 328)
	(bus)
)
(connector
	(pt 512 408)
	(pt 536 408)
	(bus)
)
(connector
	(pt 792 392)
	(pt 800 392)
	(bus)
)
(connector
	(pt 792 408)
	(pt 800 408)
	(bus)
)
(connector
	(pt 792 424)
	(pt 800 424)
	(bus)
)
(connector
	(pt 208 328)
	(pt 248 328)
)
(connector
	(pt 208 312)
	(pt 248 312)
	(bus)
)
(connector
	(pt 496 248)
	(pt 496 128)
)
(connector
	(pt 216 296)
	(pt 216 248)
)
(connector
	(pt 512 408)
	(pt 512 328)
	(bus)
)
(connector
	(pt 352 128)
	(pt 360 128)
)
(connector
	(pt 536 296)
	(pt 544 296)
)
(connector
	(pt 536 408)
	(pt 544 408)
	(bus)
)
(junction (pt 352 128))
(junction (pt 536 296))
(junction (pt 536 408))

⌨️ 快捷键说明

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