VERSION 6
BEGIN SCHEMATIC
    BEGIN ATTR DeviceFamilyName "spartan2e"
        DELETE all:0
        EDITNAME all:0
        EDITTRAIT all:0
    END ATTR
    BEGIN NETLIST
        SIGNAL XLXN_1(15:0)
        SIGNAL XLXN_2(15:0)
        SIGNAL OUTAN(3:0)
        SIGNAL OUTCH(7:0)
        SIGNAL INAN(3:0)
        SIGNAL INCH(7:0)
        SIGNAL IOIn(15:0)
        SIGNAL IRQ0
        SIGNAL IRQ1
        SIGNAL IRQ2
        SIGNAL RST
        SIGNAL CLK
        SIGNAL IRQ3
        PORT Output OUTAN(3:0)
        PORT Output OUTCH(7:0)
        PORT Output INAN(3:0)
        PORT Output INCH(7:0)
        PORT Input IOIn(15:0)
        PORT Input IRQ0
        PORT Input IRQ1
        PORT Input IRQ2
        PORT Input RST
        PORT Input CLK
        PORT Input IRQ3
        BEGIN BLOCKDEF t25
            TIMESTAMP 2004 2 20 0 43 17
            RECTANGLE N 64 -448 320 0 
            LINE N 64 -32 0 -32 
            LINE N 64 -96 0 -96 
            LINE N 64 -416 0 -416 
            RECTANGLE N 0 -428 64 -404 
            LINE N 64 -352 0 -352 
            LINE N 64 -288 0 -288 
            LINE N 64 -160 0 -160 
            LINE N 64 -224 0 -224 
            LINE N 320 -416 384 -416 
            RECTANGLE N 320 -428 384 -404 
            LINE N 320 -352 384 -352 
            RECTANGLE N 320 -364 384 -340 
        END BLOCKDEF
        BEGIN BLOCKDEF ledsegdriver
            TIMESTAMP 2004 2 19 23 29 23
            RECTANGLE N 64 -192 320 0 
            LINE N 64 -160 0 -160 
            LINE N 64 -96 0 -96 
            LINE N 64 -32 0 -32 
            RECTANGLE N 0 -44 64 -20 
            LINE N 320 -160 384 -160 
            RECTANGLE N 320 -172 384 -148 
            LINE N 320 -32 384 -32 
            RECTANGLE N 320 -44 384 -20 
        END BLOCKDEF
        BEGIN BLOCK XLXI_2 ledsegdriver
            PIN clk CLK
            PIN reset RST
            PIN inputVal(15:0) XLXN_2(15:0)
            PIN AN(3:0) INAN(3:0)
            PIN CH(7:0) INCH(7:0)
        END BLOCK
        BEGIN BLOCK XLXI_3 ledsegdriver
            PIN clk CLK
            PIN reset RST
            PIN inputVal(15:0) XLXN_1(15:0)
            PIN AN(3:0) OUTAN(3:0)
            PIN CH(7:0) OUTCH(7:0)
        END BLOCK
        BEGIN BLOCK XLXI_4 t25
            PIN CLK CLK
            PIN RST RST
            PIN IOIn(15:0) IOIn(15:0)
            PIN IRQ0 IRQ0
            PIN IRQ1 IRQ1
            PIN IRQ3 IRQ3
            PIN IRQ2 IRQ2
            PIN IOOut(15:0) XLXN_1(15:0)
            PIN DR(15:0) XLXN_2(15:0)
        END BLOCK
    END NETLIST
    BEGIN SHEET 1 3520 2720
        BEGIN INSTANCE XLXI_2 960 608 R0
        END INSTANCE
        BEGIN INSTANCE XLXI_3 960 304 R0
        END INSTANCE
        BEGIN INSTANCE XLXI_4 256 608 R0
        END INSTANCE
        BEGIN BRANCH XLXN_1(15:0)
            WIRE 640 192 800 192
            WIRE 800 192 800 272
            WIRE 800 272 960 272
        END BRANCH
        BEGIN BRANCH XLXN_2(15:0)
            WIRE 640 256 784 256
            WIRE 784 256 784 576
            WIRE 784 576 960 576
        END BRANCH
        BEGIN BRANCH OUTAN(3:0)
            WIRE 1344 144 1440 144
        END BRANCH
        BEGIN BRANCH OUTCH(7:0)
            WIRE 1344 272 1440 272
        END BRANCH
        BEGIN BRANCH INAN(3:0)
            WIRE 1344 448 1440 448
        END BRANCH
        BEGIN BRANCH INCH(7:0)
            WIRE 1344 576 1440 576
        END BRANCH
        BEGIN BRANCH IOIn(15:0)
            WIRE 160 192 256 192
        END BRANCH
        BEGIN BRANCH IRQ0
            WIRE 160 256 256 256
        END BRANCH
        BEGIN BRANCH IRQ1
            WIRE 160 320 256 320
        END BRANCH
        BEGIN BRANCH IRQ2
            WIRE 160 384 256 384
        END BRANCH
        BEGIN BRANCH IRQ3
            WIRE 160 448 256 448
        END BRANCH
        BEGIN BRANCH RST
            WIRE 160 512 256 512
        END BRANCH
        BEGIN BRANCH CLK
            WIRE 160 576 256 576
        END BRANCH
        IOMARKER 160 192 IOIn(15:0) R180 28
        IOMARKER 160 256 IRQ0 R180 28
        IOMARKER 160 320 IRQ1 R180 28
        IOMARKER 160 384 IRQ2 R180 28
        IOMARKER 160 448 IRQ3 R180 28
        IOMARKER 160 512 RST R180 28
        IOMARKER 160 576 CLK R180 28
        IOMARKER 1440 144 OUTAN(3:0) R0 28
        IOMARKER 1440 272 OUTCH(7:0) R0 28
        IOMARKER 1440 448 INAN(3:0) R0 28
        IOMARKER 1440 576 INCH(7:0) R0 28
        BEGIN BRANCH CLK
            WIRE 880 144 960 144
            BEGIN DISPLAY 880 144 ATTR Name
                ALIGNMENT SOFT-RIGHT
            END DISPLAY
        END BRANCH
        BEGIN BRANCH RST
            WIRE 880 208 960 208
            BEGIN DISPLAY 880 208 ATTR Name
                ALIGNMENT SOFT-RIGHT
            END DISPLAY
        END BRANCH
        BEGIN BRANCH CLK
            WIRE 880 448 960 448
            BEGIN DISPLAY 880 448 ATTR Name
                ALIGNMENT SOFT-RIGHT
            END DISPLAY
        END BRANCH
        BEGIN BRANCH RST
            WIRE 880 512 960 512
            BEGIN DISPLAY 880 512 ATTR Name
                ALIGNMENT SOFT-RIGHT
            END DISPLAY
        END BRANCH
    END SHEET
END SCHEMATIC
