?? add8.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 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 32 88 200 104)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "cin" (rect 9 0 23 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 216 152 232)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "a[7..0]" (rect 9 0 40 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 240 152 256)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "b[7..0]" (rect 9 0 40 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 240 696 256)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "s[7..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))
)
)
(pin
(output)
(rect 496 344 672 360)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "cout" (rect 90 0 111 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))
)
)
(block
(rect 264 72 376 192)
(text "add4b" (rect 5 5 40 19)(font "Arial" (font_size 8))) (text "inst" (rect 5 106 22 118)(font "Arial" )) (block_io "cin" (input))
(block_io "a[3..0]" (input))
(block_io "b[3..0]" (input))
(block_io "cout" (output))
(block_io "s[3..0]" (output))
(mapper
(pt 0 24)
(input)
(mapping "cin" "cin" )
(annotation_block (mapping)(rect 136 32 224 64))
)
(mapper
(pt 0 56)
(input)
(mapping "a[3..0]" "a[3..0]" )
(annotation_block (mapping)(rect 128 136 216 168))
)
(mapper
(pt 0 88)
(input)
(mapping "b[3..0]" "b[3..0]" )
(annotation_block (mapping)(rect 128 168 216 200))
)
(mapper
(pt 112 48)
(output)
(mapping "s[3..0]" "s[3..0]" )
(annotation_block (mapping)(rect 416 136 504 168))
)
(mapper
(pt 112 96)
(output)
(mapping "cout" "carry_out" )
(annotation_block (mapping)(rect 392 184 480 216))
)
)
(block
(rect 304 256 416 376)
(text "add4b" (rect 5 5 40 19)(font "Arial" (font_size 8))) (text "inst5" (rect 5 106 28 118)(font "Arial" )) (block_io "cin" (input))
(block_io "a[3..0]" (input))
(block_io "b[3..0]" (input))
(block_io "cout" (output))
(block_io "s[3..0]" (output))
(mapper
(pt 0 56)
(input)
(mapping "a[3..0]" "a[7..4]" )
(annotation_block (mapping)(rect 136 336 224 368))
)
(mapper
(pt 0 96)
(input)
(mapping "b[3..0]" "b[7..4]" )
(annotation_block (mapping)(rect 136 368 224 400))
)
(mapper
(pt 0 24)
(input)
(mapping "cin" "carry_out" )
(annotation_block (mapping)(rect 136 304 224 336))
)
(mapper
(pt 112 96)
(output)
(mapping "cout" "cout" )
(annotation_block (mapping)(rect 448 368 536 400))
)
(mapper
(pt 112 48)
(output)
(mapping "s[3..0]" "s[7..4]" )
(annotation_block (mapping)(rect 448 312 536 344))
)
)
(connector
(text "cin" (rect 210 80 224 92)(font "Arial" ))
(pt 200 96)
(pt 264 96)
)
(connector
(text "a[3..0]" (rect 234 112 265 124)(font "Arial" ))
(pt 224 128)
(pt 264 128)
(bus)
)
(connector
(text "b[3..0]" (rect 234 144 265 156)(font "Arial" ))
(pt 264 160)
(pt 224 160)
(bus)
)
(connector
(text "s[3..0]" (rect 386 104 417 116)(font "Arial" ))
(pt 376 120)
(pt 416 120)
(bus)
)
(connector
(text "a[7..4]" (rect 266 296 297 308)(font "Arial" ))
(pt 256 312)
(pt 304 312)
(bus)
)
(connector
(text "b[7..4]" (rect 266 336 297 348)(font "Arial" ))
(pt 304 352)
(pt 256 352)
(bus)
)
(connector
(text "cout" (rect 426 336 447 348)(font "Arial" ))
(pt 496 352)
(pt 416 352)
)
(connector
(text "s[7..4]" (rect 426 288 457 300)(font "Arial" ))
(pt 416 304)
(pt 456 304)
(bus)
)
(connector
(pt 400 168)
(pt 400 216)
)
(connector
(pt 400 216)
(pt 280 216)
)
(connector
(pt 280 216)
(pt 280 280)
)
(connector
(text "carry_out" (rect 290 264 337 276)(font "Arial" ))
(pt 280 280)
(pt 304 280)
)
(connector
(text "carry_out" (rect 386 152 433 164)(font "Arial" ))
(pt 376 168)
(pt 400 168)
)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -