OpenCores
URL https://opencores.org/ocsvn/4-bit-system/4-bit-system/trunk

Subversion Repositories 4-bit-system

[/] [4-bit-system/] [trunk/] [fulladder.bdf] - Rev 2

Compare with Previous | Blame | View Log

/*
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-2012 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.4"))
(pin
        (input)
        (rect 80 184 248 200)
        (text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
        (text "a" (rect 5 0 11 12)(font "Arial" ))
        (pt 168 8)
        (drawing
                (line (pt 84 12)(pt 109 12))
                (line (pt 84 4)(pt 109 4))
                (line (pt 113 8)(pt 168 8))
                (line (pt 84 12)(pt 84 4))
                (line (pt 109 4)(pt 113 8))
                (line (pt 109 12)(pt 113 8))
        )
        (text "VCC" (rect 128 7 148 17)(font "Arial" (font_size 6)))
)
(pin
        (input)
        (rect 80 200 248 216)
        (text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
        (text "b" (rect 5 0 11 12)(font "Arial" ))
        (pt 168 8)
        (drawing
                (line (pt 84 12)(pt 109 12))
                (line (pt 84 4)(pt 109 4))
                (line (pt 113 8)(pt 168 8))
                (line (pt 84 12)(pt 84 4))
                (line (pt 109 4)(pt 113 8))
                (line (pt 109 12)(pt 113 8))
        )
        (text "VCC" (rect 128 7 148 17)(font "Arial" (font_size 6)))
)
(pin
        (input)
        (rect 80 224 248 240)
        (text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
        (text "carryin" (rect 5 0 40 12)(font "Arial" ))
        (pt 168 8)
        (drawing
                (line (pt 84 12)(pt 109 12))
                (line (pt 84 4)(pt 109 4))
                (line (pt 113 8)(pt 168 8))
                (line (pt 84 12)(pt 84 4))
                (line (pt 109 4)(pt 113 8))
                (line (pt 109 12)(pt 113 8))
        )
        (text "VCC" (rect 128 7 148 17)(font "Arial" (font_size 6)))
)
(pin
        (output)
        (rect 616 352 792 368)
        (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
        (text "carryout" (rect 90 0 131 12)(font "Arial" ))
        (pt 0 8)
        (drawing
                (line (pt 0 8)(pt 52 8))
                (line (pt 52 4)(pt 78 4))
                (line (pt 52 12)(pt 78 12))
                (line (pt 52 12)(pt 52 4))
                (line (pt 78 4)(pt 82 8))
                (line (pt 82 8)(pt 78 12))
                (line (pt 78 12)(pt 82 8))
        )
)
(pin
        (output)
        (rect 528 216 704 232)
        (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
        (text "sum" (rect 90 0 111 12)(font "Arial" ))
        (pt 0 8)
        (drawing
                (line (pt 0 8)(pt 52 8))
                (line (pt 52 4)(pt 78 4))
                (line (pt 52 12)(pt 78 12))
                (line (pt 52 12)(pt 52 4))
                (line (pt 78 4)(pt 82 8))
                (line (pt 82 8)(pt 78 12))
                (line (pt 78 12)(pt 82 8))
        )
)
(symbol
        (rect 432 200 496 248)
        (text "XOR" (rect 1 0 21 10)(font "Arial" (font_size 6)))
        (text "inst" (rect 3 37 20 49)(font "Arial" ))
        (port
                (pt 0 16)
                (input)
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
                (line (pt 0 16)(pt 11 16))
        )
        (port
                (pt 0 32)
                (input)
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
                (line (pt 0 32)(pt 11 32))
        )
        (port
                (pt 64 24)
                (output)
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
                (line (pt 49 24)(pt 64 24))
        )
        (drawing
                (line (pt 14 13)(pt 25 13))
                (line (pt 14 36)(pt 25 36))
                (arc (pt 7 29)(pt 7 19)(rect -14 8 19 41))
                (arc (pt 49 24)(pt 25 13)(rect -6 13 57 76))
                (arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36))
                (arc (pt 8 36)(pt 8 12)(rect -21 7 14 42))
        )
)
(symbol
        (rect 296 176 360 224)
        (text "XOR" (rect 1 0 21 10)(font "Arial" (font_size 6)))
        (text "inst1" (rect 3 37 26 49)(font "Arial" ))
        (port
                (pt 0 16)
                (input)
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
                (line (pt 0 16)(pt 11 16))
        )
        (port
                (pt 0 32)
                (input)
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
                (line (pt 0 32)(pt 11 32))
        )
        (port
                (pt 64 24)
                (output)
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
                (line (pt 49 24)(pt 64 24))
        )
        (drawing
                (line (pt 14 13)(pt 25 13))
                (line (pt 14 36)(pt 25 36))
                (arc (pt 7 29)(pt 7 19)(rect -14 8 19 41))
                (arc (pt 49 24)(pt 25 13)(rect -6 13 57 76))
                (arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36))
                (arc (pt 8 36)(pt 8 12)(rect -21 7 14 42))
        )
)
(symbol
        (rect 440 376 504 424)
        (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
        (text "inst3" (rect 3 37 26 49)(font "Arial" ))
        (port
                (pt 0 16)
                (input)
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
                (line (pt 0 16)(pt 14 16))
        )
        (port
                (pt 0 32)
                (input)
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
                (line (pt 0 32)(pt 14 32))
        )
        (port
                (pt 64 24)
                (output)
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
                (line (pt 42 24)(pt 64 24))
        )
        (drawing
                (line (pt 14 12)(pt 30 12))
                (line (pt 14 37)(pt 31 37))
                (line (pt 14 12)(pt 14 37))
                (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37))
        )
)
(symbol
        (rect 440 304 504 352)
        (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
        (text "inst4" (rect 3 37 26 49)(font "Arial" ))
        (port
                (pt 0 16)
                (input)
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
                (line (pt 0 16)(pt 14 16))
        )
        (port
                (pt 0 32)
                (input)
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
                (line (pt 0 32)(pt 14 32))
        )
        (port
                (pt 64 24)
                (output)
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
                (line (pt 42 24)(pt 64 24))
        )
        (drawing
                (line (pt 14 12)(pt 30 12))
                (line (pt 14 37)(pt 31 37))
                (line (pt 14 12)(pt 14 37))
                (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37))
        )
)
(symbol
        (rect 536 336 600 384)
        (text "OR2" (rect 1 0 19 10)(font "Arial" (font_size 6)))
        (text "inst9" (rect 3 37 26 49)(font "Arial" ))
        (port
                (pt 0 32)
                (input)
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
                (line (pt 0 32)(pt 15 32))
        )
        (port
                (pt 0 16)
                (input)
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
                (line (pt 0 16)(pt 15 16))
        )
        (port
                (pt 64 24)
                (output)
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
                (line (pt 48 24)(pt 64 24))
        )
        (drawing
                (line (pt 14 36)(pt 25 36))
                (line (pt 14 13)(pt 25 13))
                (arc (pt 7 29)(pt 7 19)(rect -14 8 19 41))
                (arc (pt 49 24)(pt 25 13)(rect -6 13 57 76))
                (arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36))
        )
)
(connector
        (pt 496 328)
        (pt 504 328)
)
(connector
        (pt 504 328)
        (pt 528 328)
)
(connector
        (pt 528 328)
        (pt 528 352)
)
(connector
        (pt 528 352)
        (pt 536 352)
)
(connector
        (pt 504 400)
        (pt 528 400)
)
(connector
        (pt 528 400)
        (pt 528 368)
)
(connector
        (pt 528 368)
        (pt 536 368)
)
(connector
        (pt 440 320)
        (pt 408 320)
)
(connector
        (pt 408 320)
        (pt 408 216)
)
(connector
        (pt 376 216)
        (pt 408 216)
)
(connector
        (pt 408 216)
        (pt 432 216)
)
(connector
        (pt 376 216)
        (pt 376 200)
)
(connector
        (pt 376 200)
        (pt 360 200)
)
(connector
        (pt 360 200)
        (pt 352 200)
)
(connector
        (pt 440 392)
        (pt 288 392)
)
(connector
        (pt 288 392)
        (pt 288 192)
)
(connector
        (pt 440 408)
        (pt 272 408)
)
(connector
        (pt 272 408)
        (pt 272 208)
)
(connector
        (pt 592 360)
        (pt 600 360)
)
(connector
        (pt 600 360)
        (pt 616 360)
)
(connector
        (pt 240 192)
        (pt 248 192)
)
(connector
        (pt 248 192)
        (pt 288 192)
)
(connector
        (pt 288 192)
        (pt 296 192)
)
(connector
        (pt 248 208)
        (pt 272 208)
)
(connector
        (pt 272 208)
        (pt 296 208)
)
(connector
        (pt 440 232)
        (pt 432 232)
)
(connector
        (pt 448 336)
        (pt 440 336)
)
(connector
        (pt 440 336)
        (pt 392 336)
)
(connector
        (pt 392 336)
        (pt 392 232)
)
(connector
        (pt 432 232)
        (pt 392 232)
)
(connector
        (pt 392 232)
        (pt 248 232)
)
(connector
        (pt 488 224)
        (pt 496 224)
)
(connector
        (pt 496 224)
        (pt 528 224)
)
(junction (pt 504 328))
(junction (pt 408 216))
(junction (pt 360 200))
(junction (pt 288 192))
(junction (pt 600 360))
(junction (pt 248 192))
(junction (pt 272 208))
(junction (pt 432 232))
(junction (pt 440 336))
(junction (pt 392 232))
(junction (pt 496 224))

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.