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

📄 adder_4.bdf

📁 4位全加器设计
💻 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 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 -88 168 80 184)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "a[3..0]" (rect 5 0 36 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 -80 304 88 320)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "b[3..0]" (rect 5 0 36 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 472 192 648 208)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "s[4..0]" (rect 90 0 121 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 192 112 288 208)
	(text "adder" (rect 5 0 38 14)(font "Arial" (font_size 8)))
	(text "inst1" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "a" (rect 0 0 7 14)(font "Arial" (font_size 8)))
		(text "a" (rect 21 27 28 41)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "b" (rect 0 0 7 14)(font "Arial" (font_size 8)))
		(text "b" (rect 21 43 28 57)(font "Arial" (font_size 8)))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "c" (rect 0 0 7 14)(font "Arial" (font_size 8)))
		(text "c" (rect 21 59 28 73)(font "Arial" (font_size 8)))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 96 32)
		(output)
		(text "so" (rect 0 0 14 14)(font "Arial" (font_size 8)))
		(text "so" (rect 61 27 75 41)(font "Arial" (font_size 8)))
		(line (pt 96 32)(pt 80 32)(line_width 1))
	)
	(port
		(pt 96 48)
		(output)
		(text "co" (rect 0 0 14 14)(font "Arial" (font_size 8)))
		(text "co" (rect 61 43 75 57)(font "Arial" (font_size 8)))
		(line (pt 96 48)(pt 80 48)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 80 80)(line_width 1))
	)
)
(symbol
	(rect 192 224 288 320)
	(text "adder" (rect 5 0 38 14)(font "Arial" (font_size 8)))
	(text "inst2" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "a" (rect 0 0 7 14)(font "Arial" (font_size 8)))
		(text "a" (rect 21 27 28 41)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "b" (rect 0 0 7 14)(font "Arial" (font_size 8)))
		(text "b" (rect 21 43 28 57)(font "Arial" (font_size 8)))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "c" (rect 0 0 7 14)(font "Arial" (font_size 8)))
		(text "c" (rect 21 59 28 73)(font "Arial" (font_size 8)))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 96 32)
		(output)
		(text "so" (rect 0 0 14 14)(font "Arial" (font_size 8)))
		(text "so" (rect 61 27 75 41)(font "Arial" (font_size 8)))
		(line (pt 96 32)(pt 80 32)(line_width 1))
	)
	(port
		(pt 96 48)
		(output)
		(text "co" (rect 0 0 14 14)(font "Arial" (font_size 8)))
		(text "co" (rect 61 43 75 57)(font "Arial" (font_size 8)))
		(line (pt 96 48)(pt 80 48)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 80 80)(line_width 1))
	)
)
(symbol
	(rect 192 344 288 440)
	(text "adder" (rect 5 0 38 14)(font "Arial" (font_size 8)))
	(text "inst3" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "a" (rect 0 0 7 14)(font "Arial" (font_size 8)))
		(text "a" (rect 21 27 28 41)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "b" (rect 0 0 7 14)(font "Arial" (font_size 8)))
		(text "b" (rect 21 43 28 57)(font "Arial" (font_size 8)))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "c" (rect 0 0 7 14)(font "Arial" (font_size 8)))
		(text "c" (rect 21 59 28 73)(font "Arial" (font_size 8)))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 96 32)
		(output)
		(text "so" (rect 0 0 14 14)(font "Arial" (font_size 8)))
		(text "so" (rect 61 27 75 41)(font "Arial" (font_size 8)))
		(line (pt 96 32)(pt 80 32)(line_width 1))
	)
	(port
		(pt 96 48)
		(output)
		(text "co" (rect 0 0 14 14)(font "Arial" (font_size 8)))
		(text "co" (rect 61 43 75 57)(font "Arial" (font_size 8)))
		(line (pt 96 48)(pt 80 48)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 80 80)(line_width 1))
	)
)
(symbol
	(rect 192 -8 288 88)
	(text "half_ad" (rect 5 0 47 14)(font "Arial" (font_size 8)))
	(text "inst" (rect 8 80 25 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "a" (rect 0 0 7 14)(font "Arial" (font_size 8)))
		(text "a" (rect 21 27 28 41)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "b" (rect 0 0 7 14)(font "Arial" (font_size 8)))
		(text "b" (rect 21 43 28 57)(font "Arial" (font_size 8)))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 96 32)
		(output)
		(text "so" (rect 0 0 14 14)(font "Arial" (font_size 8)))
		(text "so" (rect 61 27 75 41)(font "Arial" (font_size 8)))
		(line (pt 96 32)(pt 80 32)(line_width 1))
	)
	(port
		(pt 96 48)
		(output)
		(text "co" (rect 0 0 14 14)(font "Arial" (font_size 8)))
		(text "co" (rect 61 43 75 57)(font "Arial" (font_size 8)))
		(line (pt 96 48)(pt 80 48)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 80 80)(line_width 1))
	)
)
(connector
	(pt 192 144)
	(pt 160 144)
)
(connector
	(pt 192 256)
	(pt 160 256)
)
(connector
	(pt 192 376)
	(pt 160 376)
)
(connector
	(pt 288 40)
	(pt 336 40)
)
(connector
	(pt 336 40)
	(pt 336 96)
)
(connector
	(pt 336 96)
	(pt 160 96)
)
(connector
	(pt 160 96)
	(pt 160 144)
)
(connector
	(pt 288 160)
	(pt 336 160)
)
(connector
	(pt 336 216)
	(pt 160 216)
)
(connector
	(pt 336 160)
	(pt 336 216)
)
(connector
	(pt 160 216)
	(pt 160 256)
)
(connector
	(pt 288 272)
	(pt 336 272)
)
(connector
	(pt 336 272)
	(pt 336 328)
)
(connector
	(pt 336 328)
	(pt 160 328)
)
(connector
	(pt 160 328)
	(pt 160 376)
)
(connector
	(text "a0" (rect 170 8 181 20)(font "Arial" ))
	(pt 192 24)
	(pt 160 24)
)
(connector
	(text "b0" (rect 170 24 181 36)(font "Arial" ))
	(pt 192 40)
	(pt 160 40)
)
(connector
	(text "a1" (rect 170 144 181 156)(font "Arial" ))
	(pt 192 160)
	(pt 160 160)
)
(connector
	(text "a2" (rect 170 256 181 268)(font "Arial" ))
	(pt 192 272)
	(pt 160 272)
)
(connector
	(text "a3" (rect 170 376 181 388)(font "Arial" ))
	(pt 192 392)
	(pt 160 392)
)
(connector
	(text "b1" (rect 170 160 181 172)(font "Arial" ))
	(pt 192 176)
	(pt 160 176)
)
(connector
	(text "b2" (rect 170 272 181 284)(font "Arial" ))
	(pt 192 288)
	(pt 160 288)
)
(connector
	(text "b3" (rect 178 392 189 404)(font "Arial" ))
	(pt 192 408)
	(pt 168 408)
)
(connector
	(text "s0" (rect 298 8 309 20)(font "Arial" ))
	(pt 288 24)
	(pt 312 24)
)
(connector
	(text "s1" (rect 298 128 309 140)(font "Arial" ))
	(pt 288 144)
	(pt 328 144)
)
(connector
	(text "s2" (rect 298 240 309 252)(font "Arial" ))
	(pt 288 256)
	(pt 336 256)
)
(connector
	(text "s3" (rect 298 360 309 372)(font "Arial" ))
	(pt 288 376)
	(pt 336 376)
)
(connector
	(text "s4" (rect 298 376 309 388)(font "Arial" ))
	(pt 288 392)
	(pt 336 392)
)

⌨️ 快捷键说明

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