VERSION 6
BEGIN SCHEMATIC
    BEGIN ATTR DeviceFamilyName "spartan2e"
        DELETE all:0
        EDITNAME all:0
        EDITTRAIT all:0
    END ATTR
    BEGIN NETLIST
        SIGNAL "Operation(1)"
        SIGNAL "Result"
        SIGNAL "co"
        SIGNAL "Operation(0)"
        SIGNAL "ci"
        SIGNAL "b"
        SIGNAL "a"
        SIGNAL "NOTb"
        SIGNAL "aORb"
        SIGNAL "ground"
        SIGNAL "power"
        SIGNAL "aADDb"
        SIGNAL "b2add"
        SIGNAL "Operation(1:0)"
        SIGNAL "less"
        PORT Output "Result"
        PORT Output "co"
        PORT Input "ci"
        PORT Input "b"
        PORT Input "a"
        PORT Output "aADDb"
        PORT Input "Operation(1:0)"
        PORT Input "less"
        BEGIN BLOCKDEF "or2"
            TIMESTAMP 2001 2 2 12 53 52
            LINE N 0 -64 64 -64 
            LINE N 0 -128 64 -128 
            LINE N 256 -96 192 -96 
            ARC N 28 -224 204 -48 112 -48 192 -96 
            ARC N -40 -152 72 -40 48 -48 48 -144 
            LINE N 112 -144 48 -144 
            ARC N 28 -144 204 32 192 -96 112 -144 
            LINE N 112 -48 48 -48 
        END BLOCKDEF
        BEGIN BLOCKDEF "inv"
            TIMESTAMP 2001 2 2 12 53 52
            LINE N 0 -32 64 -32 
            LINE N 224 -32 160 -32 
            LINE N 64 -64 128 -32 
            LINE N 128 -32 64 0 
            LINE N 64 0 64 -64 
            CIRCLE N 128 -48 160 -16 
        END BLOCKDEF
        BEGIN BLOCKDEF "x1bitadder"
            TIMESTAMP 2003 10 14 20 58 58
            RECTANGLE N 64 -192 320 0 
            LINE N 64 -160 0 -160 
            LINE N 64 -96 0 -96 
            LINE N 64 -32 0 -32 
            LINE N 320 -160 384 -160 
            LINE N 320 -32 384 -32 
        END BLOCKDEF
        BEGIN BLOCKDEF "gnd"
            TIMESTAMP 2001 2 2 12 52 44
            LINE N 64 -64 64 -96 
            LINE N 76 -48 52 -48 
            LINE N 68 -32 60 -32 
            LINE N 88 -64 40 -64 
            LINE N 64 -64 64 -80 
            LINE N 64 -128 64 -96 
        END BLOCKDEF
        BEGIN BLOCKDEF "vcc"
            TIMESTAMP 2001 2 2 12 52 44
            LINE N 64 -32 64 -64 
            LINE N 64 0 64 -32 
            LINE N 96 -64 32 -64 
        END BLOCKDEF
        BEGIN BLOCKDEF "m2_1"
            TIMESTAMP 2001 2 2 12 54 40
            LINE N 96 -64 96 -192 
            LINE N 256 -96 96 -64 
            LINE N 256 -160 256 -96 
            LINE N 96 -192 256 -160 
            LINE N 176 -32 96 -32 
            LINE N 176 -80 176 -32 
            LINE N 0 -32 96 -32 
            LINE N 320 -128 256 -128 
            LINE N 0 -96 96 -96 
            LINE N 0 -160 96 -160 
        END BLOCKDEF
        BEGIN BLOCKDEF "m8_1e"
            TIMESTAMP 2001 2 2 12 54 40
            LINE N 0 -224 96 -224 
            LINE N 0 -160 96 -160 
            LINE N 0 -96 96 -96 
            LINE N 0 -288 96 -288 
            LINE N 0 -352 96 -352 
            LINE N 0 -416 96 -416 
            LINE N 0 -544 96 -544 
            LINE N 0 -608 96 -608 
            LINE N 0 -672 96 -672 
            LINE N 0 -736 96 -736 
            LINE N 160 -160 96 -160 
            LINE N 160 -268 160 -160 
            LINE N 128 -224 96 -224 
            LINE N 128 -264 128 -224 
            LINE N 192 -96 96 -96 
            LINE N 192 -276 192 -96 
            LINE N 224 -32 96 -32 
            LINE N 224 -280 224 -32 
            LINE N 320 -512 256 -512 
            LINE N 96 -768 96 -256 
            LINE N 256 -704 96 -768 
            LINE N 256 -288 256 -704 
            LINE N 96 -256 256 -288 
            LINE N 0 -32 96 -32 
            LINE N 0 -480 96 -480 
        END BLOCKDEF
        BEGIN BLOCK "XLXI_2" "or2"
            PIN "I0" "b"
            PIN "I1" "a"
            PIN "O" "aORb"
        END BLOCK
        BEGIN BLOCK "XLXI_3" "inv"
            PIN "I" "b"
            PIN "O" "NOTb"
        END BLOCK
        BEGIN BLOCK "XLXI_4" "x1bitadder"
            PIN "a" "a"
            PIN "b" "b2add"
            PIN "ci" "ci"
            PIN "do" "aADDb"
            PIN "co" "co"
        END BLOCK
        BEGIN BLOCK "XLXI_5" "gnd"
            PIN "G" "ground"
        END BLOCK
        BEGIN BLOCK "XLXI_6" "vcc"
            PIN "P" "power"
        END BLOCK
        BEGIN BLOCK "XLXI_7" "m2_1"
            PIN "D0" "b"
            PIN "D1" "NOTb"
            PIN "S0" "ci"
            PIN "O" "b2add"
        END BLOCK
        BEGIN BLOCK "XLXI_8" "m8_1e"
            PIN "D0" "aADDb"
            PIN "D1" "aORb"
            PIN "D2" "less"
            PIN "D3" "ground"
            PIN "D4" "ground"
            PIN "D5" "ground"
            PIN "D6" "ground"
            PIN "D7" "ground"
            PIN "E" "power"
            PIN "S0" "Operation(0)"
            PIN "S1" "Operation(1)"
            PIN "S2" "ground"
            PIN "O" "Result"
        END BLOCK
    END NETLIST
    BEGIN SHEET 1 3520 2720
        BEGIN BRANCH "Result"
            WIRE 176 640 336 640
        END BRANCH
        BEGIN BRANCH "co"
            WIRE 176 688 336 688
        END BRANCH
        BEGIN BRANCH "ci"
            WIRE 176 400 336 400
        END BRANCH
        BEGIN BRANCH "b"
            WIRE 176 352 336 352
        END BRANCH
        BEGIN BRANCH "a"
            WIRE 176 304 336 304
        END BRANCH
        IOMARKER 176 688 "co" R180 28
        IOMARKER 176 640 "Result" R180 28
        IOMARKER 176 304 "a" R180 28
        IOMARKER 176 352 "b" R180 28
        IOMARKER 176 400 "ci" R180 28
        INSTANCE "XLXI_2" 608 704 R0
        INSTANCE "XLXI_3" 592 304 R0
        BEGIN INSTANCE "XLXI_4" 528 1024 R0
        END INSTANCE
        INSTANCE "XLXI_5" 624 1328 R0
        INSTANCE "XLXI_6" 928 1248 R0
        INSTANCE "XLXI_7" 1808 400 R0
        INSTANCE "XLXI_8" 1824 1280 R0
        BEGIN BRANCH "b"
            WIRE 544 272 592 272
            BEGIN DISPLAY 544 272 ATTR "Name"
                ALIGNMENT SOFT-RIGHT
            END DISPLAY
        END BRANCH
        BEGIN BRANCH "a"
            WIRE 544 576 608 576
            BEGIN DISPLAY 544 576 ATTR "Name"
                ALIGNMENT SOFT-RIGHT
            END DISPLAY
        END BRANCH
        BEGIN BRANCH "b"
            WIRE 544 640 608 640
            BEGIN DISPLAY 544 640 ATTR "Name"
                ALIGNMENT SOFT-RIGHT
            END DISPLAY
        END BRANCH
        BEGIN BRANCH "NOTb"
            WIRE 816 272 880 272
            BEGIN DISPLAY 880 272 ATTR "Name"
                ALIGNMENT SOFT-LEFT
            END DISPLAY
        END BRANCH
        BEGIN BRANCH "aORb"
            WIRE 864 608 896 608
            BEGIN DISPLAY 896 608 ATTR "Name"
                ALIGNMENT SOFT-LEFT
            END DISPLAY
        END BRANCH
        BEGIN BRANCH "aADDb"
            WIRE 912 864 960 864
            BEGIN DISPLAY 960 864 ATTR "Name"
                ALIGNMENT SOFT-LEFT
            END DISPLAY
        END BRANCH
        BEGIN BRANCH "co"
            WIRE 912 992 928 992
            WIRE 928 992 960 992
            BEGIN DISPLAY 960 992 ATTR "Name"
                ALIGNMENT SOFT-LEFT
            END DISPLAY
        END BRANCH
        BEGIN BRANCH "ci"
            WIRE 480 992 528 992
            BEGIN DISPLAY 480 992 ATTR "Name"
                ALIGNMENT SOFT-RIGHT
            END DISPLAY
        END BRANCH
        BEGIN BRANCH "b2add"
            WIRE 480 928 528 928
            BEGIN DISPLAY 480 928 ATTR "Name"
                ALIGNMENT SOFT-RIGHT
            END DISPLAY
        END BRANCH
        BEGIN BRANCH "a"
            WIRE 480 864 528 864
            BEGIN DISPLAY 480 864 ATTR "Name"
                ALIGNMENT SOFT-RIGHT
            END DISPLAY
        END BRANCH
        BEGIN BRANCH "ground"
            WIRE 592 1136 688 1136
            WIRE 688 1136 688 1200
            WIRE 592 1136 592 1184
            BEGIN DISPLAY 592 1184 ATTR "Name"
                ALIGNMENT SOFT-VRIGHT
            END DISPLAY
        END BRANCH
        BEGIN BRANCH "power"
            WIRE 880 1184 880 1248
            WIRE 880 1248 880 1264
            WIRE 880 1264 992 1264
            WIRE 992 1248 992 1264
            BEGIN DISPLAY 880 1184 ATTR "Name"
                ALIGNMENT SOFT-VLEFT
            END DISPLAY
        END BRANCH
        BEGIN BRANCH "b"
            WIRE 1760 240 1808 240
            BEGIN DISPLAY 1760 240 ATTR "Name"
                ALIGNMENT SOFT-RIGHT
            END DISPLAY
        END BRANCH
        BEGIN BRANCH "NOTb"
            WIRE 1760 304 1808 304
            BEGIN DISPLAY 1760 304 ATTR "Name"
                ALIGNMENT SOFT-RIGHT
            END DISPLAY
        END BRANCH
        BEGIN BRANCH "ci"
            WIRE 1760 368 1808 368
            BEGIN DISPLAY 1760 368 ATTR "Name"
                ALIGNMENT SOFT-RIGHT
            END DISPLAY
        END BRANCH
        BEGIN BRANCH "aADDb"
            WIRE 1760 544 1824 544
            BEGIN DISPLAY 1760 544 ATTR "Name"
                ALIGNMENT SOFT-RIGHT
            END DISPLAY
        END BRANCH
        BEGIN BRANCH "aORb"
            WIRE 1760 608 1824 608
            BEGIN DISPLAY 1760 608 ATTR "Name"
                ALIGNMENT SOFT-RIGHT
            END DISPLAY
        END BRANCH
        BEGIN BRANCH "less"
            WIRE 1760 672 1824 672
            BEGIN DISPLAY 1760 672 ATTR "Name"
                ALIGNMENT SOFT-RIGHT
            END DISPLAY
        END BRANCH
        BEGIN BRANCH "ground"
            WIRE 1760 736 1824 736
            BEGIN DISPLAY 1760 736 ATTR "Name"
                ALIGNMENT SOFT-RIGHT
            END DISPLAY
        END BRANCH
        BEGIN BRANCH "ground"
            WIRE 1760 800 1824 800
            BEGIN DISPLAY 1760 800 ATTR "Name"
                ALIGNMENT SOFT-RIGHT
            END DISPLAY
        END BRANCH
        BEGIN BRANCH "ground"
            WIRE 1760 864 1824 864
            BEGIN DISPLAY 1760 864 ATTR "Name"
                ALIGNMENT SOFT-RIGHT
            END DISPLAY
        END BRANCH
        BEGIN BRANCH "ground"
            WIRE 1760 928 1824 928
            BEGIN DISPLAY 1760 928 ATTR "Name"
                ALIGNMENT SOFT-RIGHT
            END DISPLAY
        END BRANCH
        BEGIN BRANCH "ground"
            WIRE 1760 992 1824 992
            BEGIN DISPLAY 1760 992 ATTR "Name"
                ALIGNMENT SOFT-RIGHT
            END DISPLAY
        END BRANCH
        BEGIN BRANCH "Operation(0)"
            WIRE 1760 1056 1824 1056
            BEGIN DISPLAY 1760 1056 ATTR "Name"
                ALIGNMENT SOFT-RIGHT
            END DISPLAY
        END BRANCH
        BEGIN BRANCH "Operation(1)"
            WIRE 1760 1120 1824 1120
            BEGIN DISPLAY 1760 1120 ATTR "Name"
                ALIGNMENT SOFT-RIGHT
            END DISPLAY
        END BRANCH
        BEGIN BRANCH "ground"
            WIRE 1760 1184 1824 1184
            BEGIN DISPLAY 1760 1184 ATTR "Name"
                ALIGNMENT SOFT-RIGHT
            END DISPLAY
        END BRANCH
        BEGIN BRANCH "power"
            WIRE 1760 1248 1824 1248
            BEGIN DISPLAY 1760 1248 ATTR "Name"
                ALIGNMENT SOFT-RIGHT
            END DISPLAY
        END BRANCH
        BEGIN BRANCH "Result"
            WIRE 2144 768 2208 768
            BEGIN DISPLAY 2208 768 ATTR "Name"
                ALIGNMENT SOFT-LEFT
            END DISPLAY
        END BRANCH
        BEGIN BRANCH "b2add"
            WIRE 2128 272 2192 272
            WIRE 2192 272 2208 272
            BEGIN DISPLAY 2208 272 ATTR "Name"
                ALIGNMENT SOFT-LEFT
            END DISPLAY
        END BRANCH
        BEGIN BRANCH "Operation(1:0)"
            WIRE 240 448 336 448
        END BRANCH
        IOMARKER 240 448 "Operation(1:0)" R180 28
        IOMARKER 176 592 "aADDb" R180 28
        BEGIN BRANCH "aADDb"
            WIRE 176 592 336 592
        END BRANCH
        BEGIN BRANCH "less"
            WIRE 176 496 336 496
        END BRANCH
        IOMARKER 176 496 "less" R180 28
    END SHEET
END SCHEMATIC
