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

📄 adder8.bdf

📁 8位加法器的实现
💻 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.
*/
//#pragma file_not_in_maxplusii_format
(header "graphic" (version "1.3"))
(pin
	(input)
	(rect 16 -8 184 8)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "A[3..0]" (rect 5 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 16 16 184 32)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "A[7..4]" (rect 5 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 16 32 184 48)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "B[3..0]" (rect 5 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 16 48 184 64)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "B[7..4]" (rect 5 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
	(output)
	(rect 352 48 528 64)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "SUM[7..4]" (rect 90 0 139 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 480 392 656 408)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "COUT" (rect 90 0 120 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 352 0 528 16)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "SUM[3..0]" (rect 90 0 139 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 176 152 280 328)
	(text "74283" (rect 34 0 75 16)(font "Arial" (font_size 10)))
	(text "inst" (rect 3 165 17 175)(font "Arial" (font_size 6)))
	(port
		(pt 0 24)
		(input)
		(text "CIN" (rect 20 16 38 30)(font "Arial" (font_size 8)))
		(text "CIN" (rect 20 16 38 30)(font "Arial" (font_size 8)))
		(line (pt 0 24)(pt 16 24)(line_width 1))
	)
	(port
		(pt 0 40)
		(input)
		(text "A1" (rect 20 32 36 46)(font "Arial" (font_size 8)))
		(text "A1" (rect 20 32 36 46)(font "Arial" (font_size 8)))
		(line (pt 0 40)(pt 16 40)(line_width 1))
	)
	(port
		(pt 0 72)
		(input)
		(text "A2" (rect 20 64 36 78)(font "Arial" (font_size 8)))
		(text "A2" (rect 20 64 36 78)(font "Arial" (font_size 8)))
		(line (pt 0 72)(pt 16 72)(line_width 1))
	)
	(port
		(pt 0 88)
		(input)
		(text "B2" (rect 20 80 35 94)(font "Arial" (font_size 8)))
		(text "B2" (rect 20 80 35 94)(font "Arial" (font_size 8)))
		(line (pt 0 88)(pt 16 88)(line_width 1))
	)
	(port
		(pt 0 104)
		(input)
		(text "A3" (rect 20 96 36 110)(font "Arial" (font_size 8)))
		(text "A3" (rect 20 96 36 110)(font "Arial" (font_size 8)))
		(line (pt 0 104)(pt 16 104)(line_width 1))
	)
	(port
		(pt 0 136)
		(input)
		(text "A4" (rect 20 128 36 142)(font "Arial" (font_size 8)))
		(text "A4" (rect 20 128 36 142)(font "Arial" (font_size 8)))
		(line (pt 0 136)(pt 16 136)(line_width 1))
	)
	(port
		(pt 0 152)
		(input)
		(text "B4" (rect 20 144 35 158)(font "Arial" (font_size 8)))
		(text "B4" (rect 20 144 35 158)(font "Arial" (font_size 8)))
		(line (pt 0 152)(pt 16 152)(line_width 1))
	)
	(port
		(pt 0 56)
		(input)
		(text "B1" (rect 20 48 35 62)(font "Arial" (font_size 8)))
		(text "B1" (rect 20 48 35 62)(font "Arial" (font_size 8)))
		(line (pt 0 56)(pt 16 56)(line_width 1))
	)
	(port
		(pt 0 120)
		(input)
		(text "B3" (rect 20 112 35 126)(font "Arial" (font_size 8)))
		(text "B3" (rect 20 112 35 126)(font "Arial" (font_size 8)))
		(line (pt 0 120)(pt 16 120)(line_width 1))
	)
	(port
		(pt 104 104)
		(output)
		(text "SUM4" (rect 53 96 86 110)(font "Arial" (font_size 8)))
		(text "SUM4" (rect 53 96 86 110)(font "Arial" (font_size 8)))
		(line (pt 88 104)(pt 104 104)(line_width 1))
	)
	(port
		(pt 104 120)
		(output)
		(text "COUT" (rect 53 112 86 126)(font "Arial" (font_size 8)))
		(text "COUT" (rect 53 112 86 126)(font "Arial" (font_size 8)))
		(line (pt 88 120)(pt 104 120)(line_width 1))
	)
	(port
		(pt 104 56)
		(output)
		(text "SUM1" (rect 53 48 86 62)(font "Arial" (font_size 8)))
		(text "SUM1" (rect 53 48 86 62)(font "Arial" (font_size 8)))
		(line (pt 88 56)(pt 104 56)(line_width 1))
	)
	(port
		(pt 104 72)
		(output)
		(text "SUM2" (rect 53 64 86 78)(font "Arial" (font_size 8)))
		(text "SUM2" (rect 53 64 86 78)(font "Arial" (font_size 8)))
		(line (pt 88 72)(pt 104 72)(line_width 1))
	)
	(port
		(pt 104 88)
		(output)
		(text "SUM3" (rect 53 80 86 94)(font "Arial" (font_size 8)))
		(text "SUM3" (rect 53 80 86 94)(font "Arial" (font_size 8)))
		(line (pt 88 88)(pt 104 88)(line_width 1))
	)
	(drawing
		(text "4 BIT ADDER" (rect 23 161 96 175)(font "Arial" (font_size 8)))
		(line (pt 16 160)(pt 16 16)(line_width 1))
		(line (pt 16 16)(pt 88 16)(line_width 1))
		(line (pt 16 160)(pt 88 160)(line_width 1))
		(line (pt 88 160)(pt 88 16)(line_width 1))
	)
)
(symbol
	(rect 408 152 512 328)
	(text "74283" (rect 34 0 75 16)(font "Arial" (font_size 10)))
	(text "inst1" (rect 3 165 26 177)(font "Arial" ))
	(port
		(pt 0 24)
		(input)
		(text "CIN" (rect 20 16 38 30)(font "Arial" (font_size 8)))
		(text "CIN" (rect 20 16 38 30)(font "Arial" (font_size 8)))
		(line (pt 0 24)(pt 16 24)(line_width 1))
	)
	(port
		(pt 0 40)
		(input)
		(text "A1" (rect 20 32 36 46)(font "Arial" (font_size 8)))
		(text "A1" (rect 20 32 36 46)(font "Arial" (font_size 8)))
		(line (pt 0 40)(pt 16 40)(line_width 1))
	)
	(port
		(pt 0 72)
		(input)
		(text "A2" (rect 20 64 36 78)(font "Arial" (font_size 8)))
		(text "A2" (rect 20 64 36 78)(font "Arial" (font_size 8)))
		(line (pt 0 72)(pt 16 72)(line_width 1))
	)
	(port
		(pt 0 88)
		(input)
		(text "B2" (rect 20 80 35 94)(font "Arial" (font_size 8)))
		(text "B2" (rect 20 80 35 94)(font "Arial" (font_size 8)))
		(line (pt 0 88)(pt 16 88)(line_width 1))
	)
	(port
		(pt 0 104)
		(input)
		(text "A3" (rect 20 96 36 110)(font "Arial" (font_size 8)))
		(text "A3" (rect 20 96 36 110)(font "Arial" (font_size 8)))
		(line (pt 0 104)(pt 16 104)(line_width 1))
	)
	(port
		(pt 0 136)
		(input)
		(text "A4" (rect 20 128 36 142)(font "Arial" (font_size 8)))
		(text "A4" (rect 20 128 36 142)(font "Arial" (font_size 8)))
		(line (pt 0 136)(pt 16 136)(line_width 1))
	)
	(port
		(pt 0 152)
		(input)
		(text "B4" (rect 20 144 35 158)(font "Arial" (font_size 8)))
		(text "B4" (rect 20 144 35 158)(font "Arial" (font_size 8)))
		(line (pt 0 152)(pt 16 152)(line_width 1))
	)
	(port
		(pt 0 56)
		(input)
		(text "B1" (rect 20 48 35 62)(font "Arial" (font_size 8)))
		(text "B1" (rect 20 48 35 62)(font "Arial" (font_size 8)))
		(line (pt 0 56)(pt 16 56)(line_width 1))
	)
	(port
		(pt 0 120)
		(input)
		(text "B3" (rect 20 112 35 126)(font "Arial" (font_size 8)))
		(text "B3" (rect 20 112 35 126)(font "Arial" (font_size 8)))
		(line (pt 0 120)(pt 16 120)(line_width 1))
	)
	(port
		(pt 104 104)
		(output)
		(text "SUM4" (rect 53 96 86 110)(font "Arial" (font_size 8)))
		(text "SUM4" (rect 53 96 86 110)(font "Arial" (font_size 8)))
		(line (pt 88 104)(pt 104 104)(line_width 1))
	)
	(port
		(pt 104 120)
		(output)
		(text "COUT" (rect 53 112 86 126)(font "Arial" (font_size 8)))
		(text "COUT" (rect 53 112 86 126)(font "Arial" (font_size 8)))
		(line (pt 88 120)(pt 104 120)(line_width 1))
	)
	(port
		(pt 104 56)
		(output)
		(text "SUM1" (rect 53 48 86 62)(font "Arial" (font_size 8)))
		(text "SUM1" (rect 53 48 86 62)(font "Arial" (font_size 8)))
		(line (pt 88 56)(pt 104 56)(line_width 1))
	)
	(port
		(pt 104 72)
		(output)
		(text "SUM2" (rect 53 64 86 78)(font "Arial" (font_size 8)))
		(text "SUM2" (rect 53 64 86 78)(font "Arial" (font_size 8)))
		(line (pt 88 72)(pt 104 72)(line_width 1))
	)
	(port
		(pt 104 88)
		(output)
		(text "SUM3" (rect 53 80 86 94)(font "Arial" (font_size 8)))
		(text "SUM3" (rect 53 80 86 94)(font "Arial" (font_size 8)))
		(line (pt 88 88)(pt 104 88)(line_width 1))
	)
	(drawing
		(text "4 BIT ADDER" (rect 23 161 96 175)(font "Arial" (font_size 8)))
		(line (pt 16 160)(pt 16 16)(line_width 1))
		(line (pt 16 16)(pt 88 16)(line_width 1))
		(line (pt 16 160)(pt 88 160)(line_width 1))
		(line (pt 88 160)(pt 88 16)(line_width 1))
	)
)
(symbol
	(rect 72 264 104 296)
	(text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6)))
	(text "inst3" (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))
	)
)
(connector
	(pt 176 176)
	(pt 88 176)
)
(connector
	(pt 88 176)
	(pt 88 264)
)
(connector
	(text "A[0]" (rect 152 176 172 188)(font "Arial" ))
	(pt 176 192)
	(pt 152 192)
)
(connector
	(text "B[0]" (rect 150 192 170 204)(font "Arial" ))
	(pt 176 208)
	(pt 152 208)
)
(connector
	(text "A[1]" (rect 160 208 180 220)(font "Arial" ))
	(pt 176 224)
	(pt 152 224)
)
(connector
	(text "B[1]" (rect 156 224 176 236)(font "Arial" ))
	(pt 176 240)
	(pt 152 240)
)
(connector
	(text "A[2]" (rect 156 240 176 252)(font "Arial" ))
	(pt 176 256)
	(pt 152 256)
)
(connector
	(text "B[2]" (rect 156 256 176 268)(font "Arial" ))
	(pt 176 272)
	(pt 152 272)
)
(connector
	(text "A[3]" (rect 160 272 180 284)(font "Arial" ))
	(pt 176 288)
	(pt 152 288)
)
(connector
	(text "B[3]" (rect 160 288 180 300)(font "Arial" ))
	(pt 176 304)
	(pt 152 304)
)
(connector
	(pt 184 0)
	(pt 208 0)
	(bus)
)
(connector
	(pt 184 24)
	(pt 208 24)
	(bus)
)
(connector
	(pt 184 40)
	(pt 208 40)
	(bus)
)
(connector
	(pt 184 56)
	(pt 208 56)
	(bus)
)
(connector
	(pt 280 272)
	(pt 352 272)
)
(connector
	(pt 352 272)
	(pt 352 176)
)
(connector
	(pt 352 176)
	(pt 408 176)
)
(connector
	(pt 352 8)
	(pt 328 8)
	(bus)
)
(connector
	(pt 352 56)
	(pt 336 56)
	(bus)
)
(connector
	(text "A[4]" (rect 400 176 420 188)(font "Arial" ))
	(pt 408 192)
	(pt 392 192)
)
(connector
	(text "B[4]" (rect 400 192 420 204)(font "Arial" ))
	(pt 408 208)
	(pt 392 208)
)
(connector
	(text "A[5]" (rect 400 208 420 220)(font "Arial" ))
	(pt 408 224)
	(pt 392 224)
)
(connector
	(text "B[5]" (rect 400 224 420 236)(font "Arial" ))
	(pt 408 240)
	(pt 392 240)
)
(connector
	(text "A[6]" (rect 400 240 420 252)(font "Arial" ))
	(pt 408 256)
	(pt 392 256)
)
(connector
	(text "B[6]" (rect 400 256 420 268)(font "Arial" ))
	(pt 408 272)
	(pt 392 272)
)
(connector
	(text "A[7]" (rect 400 272 420 284)(font "Arial" ))
	(pt 408 288)
	(pt 392 288)
)
(connector
	(text "B[7]" (rect 400 288 420 300)(font "Arial" ))
	(pt 408 304)
	(pt 392 304)
)
(connector
	(text "SUM[0]" (rect 288 192 324 204)(font "Arial" ))
	(pt 280 208)
	(pt 296 208)
)
(connector
	(text "SUM[1]" (rect 288 208 324 220)(font "Arial" ))
	(pt 280 224)
	(pt 296 224)
)
(connector
	(text "SUM[2]" (rect 288 224 324 236)(font "Arial" ))
	(pt 280 240)
	(pt 296 240)
)
(connector
	(text "SUM[3]" (rect 288 240 324 252)(font "Arial" ))
	(pt 296 256)
	(pt 280 256)
)
(connector
	(text "SUM[4]" (rect 520 192 556 204)(font "Arial" ))
	(pt 512 208)
	(pt 528 208)
)
(connector
	(text "SUM[5]" (rect 520 208 556 220)(font "Arial" ))
	(pt 512 224)
	(pt 528 224)
)
(connector
	(text "SUM[6]" (rect 520 224 556 236)(font "Arial" ))
	(pt 512 240)
	(pt 528 240)
)
(connector
	(text "SUM[7]" (rect 520 240 556 252)(font "Arial" ))
	(pt 512 256)
	(pt 528 256)
)
(connector
	(pt 512 272)
	(pt 560 272)
)
(connector
	(pt 560 272)
	(pt 560 368)
)
(connector
	(pt 480 368)
	(pt 560 368)
)
(connector
	(pt 480 368)
	(pt 480 400)
)

⌨️ 快捷键说明

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