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

📄 block1.bdf

📁 很多vhdl例程代码
💻 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 96 64 264 80)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "clock_48M" (rect 5 0 56 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 56 80 224 96)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "key[7..0]" (rect 5 0 49 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 520 64 696 80)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "led[7..0]" (rect 90 0 130 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 512 80 688 96)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "seg[7..0]" (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))
	)
)
(pin
	(output)
	(rect 520 128 696 144)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "dig[7..0]" (rect 90 0 130 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))
	)
)
(symbol
	(rect 304 216 440 312)
	(text "adder8" (rect 5 0 38 12)(font "Arial" ))
	(text "inst" (rect 8 80 25 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "a[7..0]" (rect 0 0 31 12)(font "Arial" ))
		(text "a[7..0]" (rect 21 27 52 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 3))
	)
	(port
		(pt 0 48)
		(input)
		(text "b[7..0]" (rect 0 0 31 12)(font "Arial" ))
		(text "b[7..0]" (rect 21 43 52 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 3))
	)
	(port
		(pt 0 64)
		(input)
		(text "cin" (rect 0 0 14 12)(font "Arial" ))
		(text "cin" (rect 21 59 35 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 136 32)
		(output)
		(text "cout" (rect 0 0 21 12)(font "Arial" ))
		(text "cout" (rect 94 27 115 39)(font "Arial" ))
		(line (pt 136 32)(pt 120 32)(line_width 1))
	)
	(port
		(pt 136 48)
		(output)
		(text "sum[7..0]" (rect 0 0 47 12)(font "Arial" ))
		(text "sum[7..0]" (rect 68 43 115 55)(font "Arial" ))
		(line (pt 136 48)(pt 120 48)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 120 80)(line_width 1))
	)
)
(symbol
	(rect 160 104 192 136)
	(text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6)))
	(text "inst4" (rect 3 21 26 33)(font "Arial" )(invisible))
	(port
		(pt 16 0)
		(output)
		(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
		(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
		(line (pt 16 8)(pt 16 0)(line_width 1))
	)
	(drawing
		(line (pt 8 8)(pt 16 16)(line_width 1))
		(line (pt 16 16)(pt 24 8)(line_width 1))
		(line (pt 8 8)(pt 24 8)(line_width 1))
	)
)
(symbol
	(rect 64 184 96 216)
	(text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6)))
	(text "inst5" (rect 3 21 26 33)(font "Arial" )(invisible))
	(port
		(pt 16 0)
		(output)
		(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
		(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
		(line (pt 16 8)(pt 16 0)(line_width 1))
	)
	(drawing
		(line (pt 8 8)(pt 16 16)(line_width 1))
		(line (pt 16 16)(pt 24 8)(line_width 1))
		(line (pt 8 8)(pt 24 8)(line_width 1))
	)
)
(symbol
	(rect 304 40 464 168)
	(text "key_led" (rect 5 0 43 12)(font "Arial" ))
	(text "inst1" (rect 8 112 31 124)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "clk_48M" (rect 0 0 40 12)(font "Arial" ))
		(text "clk_48M" (rect 21 27 61 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "key[7..0]" (rect 0 0 44 12)(font "Arial" ))
		(text "key[7..0]" (rect 21 43 65 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 3))
	)
	(port
		(pt 0 64)
		(input)
		(text "ledin[3..0]" (rect 0 0 48 12)(font "Arial" ))
		(text "ledin[3..0]" (rect 21 59 69 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 3))
	)
	(port
		(pt 0 80)
		(input)
		(text "data[15..0]" (rect 0 0 53 12)(font "Arial" ))
		(text "data[15..0]" (rect 21 75 74 87)(font "Arial" ))
		(line (pt 0 80)(pt 16 80)(line_width 3))
	)
	(port
		(pt 160 32)
		(output)
		(text "led[7..0]" (rect 0 0 40 12)(font "Arial" ))
		(text "led[7..0]" (rect 99 27 139 39)(font "Arial" ))
		(line (pt 160 32)(pt 144 32)(line_width 3))
	)
	(port
		(pt 160 48)
		(output)
		(text "seg[7..0]" (rect 0 0 43 12)(font "Arial" ))
		(text "seg[7..0]" (rect 96 43 139 55)(font "Arial" ))
		(line (pt 160 48)(pt 144 48)(line_width 3))
	)
	(port
		(pt 160 64)
		(output)
		(text "hex[15..0]" (rect 0 0 49 12)(font "Arial" ))
		(text "hex[15..0]" (rect 90 59 139 71)(font "Arial" ))
		(line (pt 160 64)(pt 144 64)(line_width 3))
	)
	(port
		(pt 160 80)
		(output)
		(text "bin[3..0]" (rect 0 0 40 12)(font "Arial" ))
		(text "bin[3..0]" (rect 99 75 139 87)(font "Arial" ))
		(line (pt 160 80)(pt 144 80)(line_width 3))
	)
	(port
		(pt 160 96)
		(output)
		(text "dig[7..0]" (rect 0 0 40 12)(font "Arial" ))
		(text "dig[7..0]" (rect 99 91 139 103)(font "Arial" ))
		(line (pt 160 96)(pt 144 96)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 144 112)(line_width 1))
	)
)
(connector
	(pt 464 136)
	(pt 520 136)
	(bus)
)
(connector
	(pt 176 104)
	(pt 304 104)
	(bus)
)
(connector
	(text "hex[15..8]" (rect 258 232 307 244)(font "Arial" ))
	(pt 304 248)
	(pt 248 248)
	(bus)
)
(connector
	(text "hex[7..0]" (rect 202 248 245 260)(font "Arial" ))
	(pt 304 264)
	(pt 192 264)
	(bus)
)
(connector
	(text "data[7..0]" (rect 450 248 497 260)(font "Arial" ))
	(pt 440 264)
	(pt 520 264)
	(bus)
)
(connector
	(text "data[8]" (rect 450 232 484 244)(font "Arial" ))
	(pt 440 248)
	(pt 496 248)
)
(connector
	(text "data[15..9]" (rect 90 168 143 180)(font "Arial" ))
	(pt 80 184)
	(pt 136 184)
	(bus)
)
(connector
	(text "data[15..0]" (rect 258 104 311 116)(font "Arial" ))
	(pt 248 120)
	(pt 304 120)
	(bus)
)
(connector
	(text "bin[0]" (rect 282 264 309 276)(font "Arial" ))
	(pt 304 280)
	(pt 272 280)
)
(connector
	(pt 464 72)
	(pt 520 72)
	(bus)
)
(connector
	(pt 464 88)
	(pt 512 88)
	(bus)
)
(connector
	(text "hex[15..0]" (rect 474 88 523 100)(font "Arial" ))
	(pt 464 104)
	(pt 512 104)
	(bus)
)
(connector
	(text "bin[3..0]" (rect 474 104 514 116)(font "Arial" ))
	(pt 464 120)
	(pt 512 120)
	(bus)
)
(connector
	(pt 304 72)
	(pt 264 72)
)
(connector
	(pt 304 88)
	(pt 224 88)
	(bus)
)

⌨️ 快捷键说明

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