📄 adder8bit.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 0 104 168 120)
(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
(input)
(rect 0 240 168 256)
(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
(text "B[7..0]" (rect 40 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 0 208 168 224)
(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
(text "A[7..0]" (rect 39 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
(output)
(rect 512 192 688 208)
(text "OUTPUT" (rect 1 -1 39 9)(font "Arial" (font_size 6)))
(text "S[7..0]" (rect 90 0 126 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 512 296 688 312)
(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 200 88 360 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 200 264 360 344)
(text "ADDER4BIT" (rect 37 -1 121 15)(font "Courier New" (font_size 10)(bold)))
(text "2" (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))
)
)
(connector
(pt 360 304)
(pt 512 304)
)
(connector
(pt 168 112)
(pt 200 112)
)
(connector
(pt 200 216)
(pt 360 216)
)
(connector
(text "S[3..0]" (rect 472 96 512 112)(font "Arial" (font_size 8)))
(pt 360 112)
(pt 488 112)
(bus)
)
(connector
(text "S[7..4]" (rect 480 272 520 288)(font "Arial" (font_size 8)))
(pt 360 288)
(pt 488 288)
(bus)
)
(connector
(text "A[7..4]" (rect 184 288 224 304)(font "Arial" (font_size 8)))
(pt 176 304)
(pt 200 304)
(bus)
)
(connector
(text "S[7..0]" (rect 480 184 520 200)(font "Arial" (font_size 8)))
(pt 488 200)
(pt 512 200)
(bus)
)
(connector
(text "A[3..0]" (rect 184 112 224 128)(font "Arial" (font_size 8)))
(pt 176 128)
(pt 200 128)
(bus)
)
(connector
(text "B[7..4]" (rect 184 304 224 320)(font "Arial" (font_size 8)))
(pt 192 320)
(pt 200 320)
(bus)
)
(connector
(text "B[3..0]" (rect 184 128 224 144)(font "Arial" (font_size 8)))
(pt 192 144)
(pt 200 144)
(bus)
)
(connector
(pt 168 248)
(pt 192 248)
(bus)
)
(connector
(pt 168 216)
(pt 176 216)
(bus)
)
(connector
(pt 360 216)
(pt 360 128)
)
(connector
(pt 200 288)
(pt 200 216)
)
(connector
(pt 488 288)
(pt 488 200)
(bus)
)
(connector
(pt 488 200)
(pt 488 112)
(bus)
)
(junction (pt 488 200))
(text "A[7..0]" (rect 120 186 157 200)(font "Arial" (font_size 8)))
(text "B[7..0]" (rect 112 274 148 288)(font "Arial" (font_size 8)))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -