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

📄 add4.bdf

📁 《CPLD开发实例》的配套光盘文件
💻 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 16 192 184 208)
	(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 16 152 184 168)
	(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
	(text "b[3..0]" (rect 41 1 76 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 16 120 184 136)
	(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
	(text "a[3..0]" (rect 41 1 76 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 16 88 184 104)
	(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
	(text "cin" (rect 57 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
	(output)
	(rect 616 104 792 120)
	(text "OUTPUT" (rect 1 -1 39 9)(font "Arial" (font_size 6)))
	(text "q[3..0]" (rect 90 0 125 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 616 128 792 144)
	(text "OUTPUT" (rect 1 -1 39 9)(font "Arial" (font_size 6)))
	(text "cout" (rect 90 0 114 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 216 88 376 168)
	(text "ADDER4BIT" (rect 37 -1 121 15)(font "Courier New" (font_size 10)(bold)))
	(text "1" (rect 0 71 5 83)(font "Courier New" (bold)))
	(port
		(pt 0 24)
		(input)
		(text "cin" (rect 20 20 37 32)(font "Courier New" (bold)))
		(text "cin" (rect 20 20 37 32)(font "Courier New" (bold)))
		(line (pt 0 24)(pt 16 24)(line_width 1))
	)
	(port
		(pt 0 40)
		(input)
		(text "a[3..0]" (rect 20 36 61 48)(font "Courier New" (bold)))
		(text "a[3..0]" (rect 20 36 61 48)(font "Courier New" (bold)))
		(line (pt 0 40)(pt 16 40)(line_width 3))
	)
	(port
		(pt 0 56)
		(input)
		(text "b[3..0]" (rect 20 52 61 64)(font "Courier New" (bold)))
		(text "b[3..0]" (rect 20 52 61 64)(font "Courier New" (bold)))
		(line (pt 0 56)(pt 16 56)(line_width 3))
	)
	(port
		(pt 160 24)
		(output)
		(text "s[3..0]" (rect 107 20 148 32)(font "Courier New" (bold)))
		(text "s[3..0]" (rect 107 20 148 32)(font "Courier New" (bold)))
		(line (pt 144 24)(pt 160 24)(line_width 3))
	)
	(port
		(pt 160 40)
		(output)
		(text "cout" (rect 122 36 145 48)(font "Courier New" (bold)))
		(text "cout" (rect 122 36 145 48)(font "Courier New" (bold)))
		(line (pt 144 40)(pt 160 40)(line_width 1))
	)
	(drawing
		(line (pt 16 64)(pt 144 64)(line_width 1))
		(line (pt 16 16)(pt 144 16)(line_width 1))
		(line (pt 16 64)(pt 16 16)(line_width 1))
		(line (pt 144 64)(pt 144 16)(line_width 1))
	)
)
(symbol
	(rect 400 88 560 168)
	(text "REG4" (rect 62 -1 99 15)(font "Courier New" (font_size 10)(bold)))
	(text "12" (rect 0 71 11 83)(font "Courier New" (bold)))
	(port
		(pt 0 24)
		(input)
		(text "d[3..0]" (rect 20 20 61 32)(font "Courier New" (bold)))
		(text "d[3..0]" (rect 20 20 61 32)(font "Courier New" (bold)))
		(line (pt 0 24)(pt 16 24)(line_width 3))
	)
	(port
		(pt 0 40)
		(input)
		(text "ci" (rect 20 36 31 48)(font "Courier New" (bold)))
		(text "ci" (rect 20 36 31 48)(font "Courier New" (bold)))
		(line (pt 0 40)(pt 16 40)(line_width 1))
	)
	(port
		(pt 0 56)
		(input)
		(text "clk" (rect 20 52 37 64)(font "Courier New" (bold)))
		(text "clk" (rect 20 52 37 64)(font "Courier New" (bold)))
		(line (pt 0 56)(pt 16 56)(line_width 1))
	)
	(port
		(pt 160 24)
		(output)
		(text "q[3..0]" (rect 107 20 148 32)(font "Courier New" (bold)))
		(text "q[3..0]" (rect 107 20 148 32)(font "Courier New" (bold)))
		(line (pt 144 24)(pt 160 24)(line_width 3))
	)
	(port
		(pt 160 40)
		(output)
		(text "co" (rect 132 36 143 48)(font "Courier New" (bold)))
		(text "co" (rect 132 36 143 48)(font "Courier New" (bold)))
		(line (pt 144 40)(pt 160 40)(line_width 1))
	)
	(drawing
		(line (pt 16 64)(pt 144 64)(line_width 1))
		(line (pt 16 16)(pt 144 16)(line_width 1))
		(line (pt 16 64)(pt 16 16)(line_width 1))
		(line (pt 144 64)(pt 144 16)(line_width 1))
	)
)
(connector
	(pt 184 160)
	(pt 200 160)
	(bus)
)
(connector
	(pt 184 96)
	(pt 200 96)
)
(connector
	(pt 200 144)
	(pt 216 144)
	(bus)
)
(connector
	(pt 184 128)
	(pt 216 128)
	(bus)
)
(connector
	(pt 200 112)
	(pt 216 112)
)
(connector
	(pt 184 200)
	(pt 384 200)
)
(connector
	(pt 384 144)
	(pt 400 144)
)
(connector
	(pt 376 128)
	(pt 400 128)
)
(connector
	(pt 376 112)
	(pt 400 112)
	(bus)
)
(connector
	(pt 560 112)
	(pt 616 112)
	(bus)
)
(connector
	(pt 560 128)
	(pt 568 128)
)
(connector
	(pt 568 136)
	(pt 616 136)
)
(connector
	(pt 200 160)
	(pt 200 144)
	(bus)
)
(connector
	(pt 200 112)
	(pt 200 96)
)
(connector
	(pt 384 200)
	(pt 384 144)
)
(connector
	(pt 568 136)
	(pt 568 128)
)

⌨️ 快捷键说明

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