(export (version D)
  (design
    (source "D:/ownCloud/Documents/Projects/RC6502/RC6502 Serial IO/RC6502 Serial IO.sch")
    (date "08/06/2017 21:17:56")
    (tool "Eeschema 4.0.6")
    (sheet (number 1) (name /) (tstamps /)
      (title_block
        (title)
        (company)
        (rev)
        (date)
        (source "RC6502 Serial IO.sch")
        (comment (number 1) (value ""))
        (comment (number 2) (value ""))
        (comment (number 3) (value ""))
        (comment (number 4) (value "")))))
  (components
    (comp (ref J1)
      (value CONN_01X39)
      (footprint Pin_Headers:Pin_Header_Angled_1x39_Pitch2.54mm)
      (libsource (lib conn) (part CONN_01X39))
      (sheetpath (names /) (tstamps /))
      (tstamp 590B4CA1))
    (comp (ref C1)
      (value 100nF)
      (footprint Capacitors_THT:C_Disc_D4.7mm_W2.5mm_P5.00mm)
      (libsource (lib device) (part C))
      (sheetpath (names /) (tstamps /))
      (tstamp 590DFF39))
    (comp (ref C2)
      (value 100nF)
      (footprint Capacitors_THT:C_Disc_D4.7mm_W2.5mm_P5.00mm)
      (libsource (lib device) (part C))
      (sheetpath (names /) (tstamps /))
      (tstamp 590E0960))
    (comp (ref C3)
      (value 100nF)
      (footprint Capacitors_THT:C_Disc_D4.7mm_W2.5mm_P5.00mm)
      (libsource (lib device) (part C))
      (sheetpath (names /) (tstamps /))
      (tstamp 59106500))
    (comp (ref U2)
      (value WD65C21)
      (footprint Housings_DIP:DIP-40_W15.24mm_Socket)
      (libsource (lib 65xx) (part WD65C21))
      (sheetpath (names /) (tstamps /))
      (tstamp 590F34BB))
    (comp (ref U3)
      (value 74HCT38)
      (footprint Housings_DIP:DIP-16_W7.62mm_Socket)
      (libsource (lib 74xx) (part 74LS138))
      (sheetpath (names /) (tstamps /))
      (tstamp 590F5A10))
    (comp (ref U1)
      (value 74HCT04)
      (footprint Housings_DIP:DIP-14_W7.62mm_Socket)
      (libsource (lib 74xx) (part 74HCT04))
      (sheetpath (names /) (tstamps /))
      (tstamp 590F843D))
    (comp (ref C5)
      (value 10nF)
      (footprint Capacitors_THT:C_Disc_D4.7mm_W2.5mm_P5.00mm)
      (libsource (lib device) (part CP1))
      (sheetpath (names /) (tstamps /))
      (tstamp 590F85AC))
    (comp (ref U4)
      (value MCP23S17)
      (footprint Housings_DIP:DIP-28_W7.62mm_Socket)
      (libsource (lib microchip) (part MCP23S17))
      (sheetpath (names /) (tstamps /))
      (tstamp 5910D88B))
    (comp (ref J2)
      (value "Arduino Nano")
      (footprint Modules:Arduino_Nano)
      (libsource (lib w_connectors) (part Arduino_Nano_Header))
      (sheetpath (names /) (tstamps /))
      (tstamp 59110A3B))
    (comp (ref R3)
      (value 10k)
      (footprint Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 59112B96))
    (comp (ref SW1)
      (value Reset)
      (footprint Buttons_Switches_THT:SW_PUSH_6mm)
      (libsource (lib switches) (part SW_Push))
      (sheetpath (names /) (tstamps /))
      (tstamp 59115E08))
    (comp (ref JP1)
      (value "USB Power")
      (footprint Pin_Headers:Pin_Header_Angled_1x02_Pitch2.54mm)
      (libsource (lib device) (part Jumper_NO_Small))
      (sheetpath (names /) (tstamps /))
      (tstamp 59116B95))
    (comp (ref R2)
      (value 10k)
      (footprint Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 59122A1C))
    (comp (ref J4)
      (value "Peripheral Bus")
      (footprint Connectors:IDC_Header_Straight_40pins)
      (libsource (lib conn) (part CONN_02X20))
      (sheetpath (names /) (tstamps /))
      (tstamp 593E9FED))
    (comp (ref R5)
      (value 10k)
      (footprint Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 593EB3CA))
    (comp (ref R1)
      (value 10k)
      (footprint Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 593F467A))
    (comp (ref R4)
      (value 10k)
      (footprint Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 593F475F))
    (comp (ref J3)
      (value "SPI Breakout")
      (footprint Pin_Headers:Pin_Header_Angled_1x06_Pitch2.54mm)
      (libsource (lib conn) (part CONN_01X06))
      (sheetpath (names /) (tstamps /))
      (tstamp 593F9B4F))
    (comp (ref C4)
      (value 100nF)
      (footprint Capacitors_THT:C_Disc_D4.7mm_W2.5mm_P5.00mm)
      (libsource (lib device) (part C))
      (sheetpath (names /) (tstamps /))
      (tstamp 5939B171))
    (comp (ref D1)
      (value 1N4848)
      (footprint Diodes_THT:D_DO-35_SOD27_P7.62mm_Horizontal)
      (libsource (lib device) (part D))
      (sheetpath (names /) (tstamps /))
      (tstamp 5939CEAC)))
  (libparts
    (libpart (lib 74xx) (part 74HCT04)
      (aliases
        (alias 74HC14)
        (alias 74HC04)
        (alias 74LS14))
      (description "Hex Inverseur")
      (fields
        (field (name Reference) U)
        (field (name Value) 74HCT04))
      (pins
        (pin (num 1) (name ~) (type input))
        (pin (num 2) (name ~) (type output))
        (pin (num 3) (name ~) (type input))
        (pin (num 4) (name ~) (type output))
        (pin (num 5) (name ~) (type input))
        (pin (num 6) (name ~) (type output))
        (pin (num 7) (name GND) (type power_in))
        (pin (num 8) (name ~) (type output))
        (pin (num 9) (name ~) (type input))
        (pin (num 10) (name ~) (type output))
        (pin (num 11) (name ~) (type input))
        (pin (num 12) (name ~) (type output))
        (pin (num 13) (name ~) (type input))
        (pin (num 14) (name VCC) (type power_in))))
    (libpart (lib 74xx) (part 74LS138)
      (description "Decoder 3 to 8 (active low outputs)")
      (fields
        (field (name Reference) U)
        (field (name Value) 74LS138))
      (pins
        (pin (num 1) (name A0) (type input))
        (pin (num 2) (name A1) (type input))
        (pin (num 3) (name A2) (type input))
        (pin (num 4) (name E1) (type input))
        (pin (num 5) (name E2) (type input))
        (pin (num 6) (name E3) (type input))
        (pin (num 7) (name O7) (type output))
        (pin (num 8) (name GND) (type power_in))
        (pin (num 9) (name O6) (type output))
        (pin (num 10) (name O5) (type output))
        (pin (num 11) (name O4) (type output))
        (pin (num 12) (name O3) (type output))
        (pin (num 13) (name O2) (type output))
        (pin (num 14) (name O1) (type output))
        (pin (num 15) (name O0) (type output))
        (pin (num 16) (name VCC) (type power_in))))
    (libpart (lib w_connectors) (part Arduino_Nano_Header)
      (fields
        (field (name Reference) J)
        (field (name Value) Arduino_Nano_Header))
      (pins
        (pin (num 1) (name D1/TX) (type passive))
        (pin (num 2) (name D0/RX) (type passive))
        (pin (num 3) (name RESET) (type passive))
        (pin (num 4) (name GND) (type passive))
        (pin (num 5) (name D2/INT0) (type passive))
        (pin (num 6) (name D3/INT1) (type passive))
        (pin (num 7) (name D4/T0) (type passive))
        (pin (num 8) (name D5/T1) (type passive))
        (pin (num 9) (name D6/AIN0) (type passive))
        (pin (num 10) (name D7/AIN1) (type passive))
        (pin (num 11) (name D8/ICP) (type passive))
        (pin (num 12) (name D9/0C1) (type passive))
        (pin (num 13) (name D10/SS) (type passive))
        (pin (num 14) (name D11/MOSI) (type passive))
        (pin (num 15) (name D12/MISO) (type passive))
        (pin (num 16) (name SCK/D13) (type passive))
        (pin (num 17) (name 3V3) (type passive))
        (pin (num 18) (name AREF) (type passive))
        (pin (num 19) (name A0) (type passive))
        (pin (num 20) (name A1) (type passive))
        (pin (num 21) (name A2) (type passive))
        (pin (num 22) (name A3) (type passive))
        (pin (num 23) (name A4) (type passive))
        (pin (num 24) (name A5) (type passive))
        (pin (num 25) (name A6) (type passive))
        (pin (num 26) (name A7) (type passive))
        (pin (num 27) (name 5V) (type passive))
        (pin (num 28) (name RESET) (type passive))
        (pin (num 29) (name GND) (type passive))
        (pin (num 30) (name VIN) (type passive))))
    (libpart (lib device) (part C)
      (description "Unpolarized capacitor")
      (footprints
        (fp C_*))
      (fields
        (field (name Reference) C)
        (field (name Value) C))
      (pins
        (pin (num 1) (name ~) (type passive))
        (pin (num 2) (name ~) (type passive))))
    (libpart (lib conn) (part CONN_01X06)
      (description "Connector, single row, 01x06, pin header")
      (footprints
        (fp Pin_Header_Straight_1X*)
        (fp Pin_Header_Angled_1X*)
        (fp Socket_Strip_Straight_1X*)
        (fp Socket_Strip_Angled_1X*))
      (fields
        (field (name Reference) J)
        (field (name Value) CONN_01X06))
      (pins
        (pin (num 1) (name P1) (type passive))
        (pin (num 2) (name P2) (type passive))
        (pin (num 3) (name P3) (type passive))
        (pin (num 4) (name P4) (type passive))
        (pin (num 5) (name P5) (type passive))
        (pin (num 6) (name P6) (type passive))))
    (libpart (lib conn) (part CONN_01X39)
      (description "Connector, single row, 01x39, pin header")
      (footprints
        (fp Pin_Header_Straight_1X*)
        (fp Pin_Header_Angled_1X*)
        (fp Socket_Strip_Straight_1X*)
        (fp Socket_Strip_Angled_1X*))
      (fields
        (field (name Reference) J)
        (field (name Value) CONN_01X39))
      (pins
        (pin (num 1) (name P1) (type passive))
        (pin (num 2) (name P2) (type passive))
        (pin (num 3) (name P3) (type passive))
        (pin (num 4) (name P4) (type passive))
        (pin (num 5) (name P5) (type passive))
        (pin (num 6) (name P6) (type passive))
        (pin (num 7) (name P7) (type passive))
        (pin (num 8) (name P8) (type passive))
        (pin (num 9) (name P9) (type passive))
        (pin (num 10) (name P10) (type passive))
        (pin (num 11) (name P11) (type passive))
        (pin (num 12) (name P12) (type passive))
        (pin (num 13) (name P13) (type passive))
        (pin (num 14) (name P14) (type passive))
        (pin (num 15) (name P15) (type passive))
        (pin (num 16) (name P16) (type passive))
        (pin (num 17) (name P17) (type passive))
        (pin (num 18) (name P18) (type passive))
        (pin (num 19) (name P19) (type passive))
        (pin (num 20) (name P20) (type passive))
        (pin (num 21) (name P21) (type passive))
        (pin (num 22) (name P22) (type passive))
        (pin (num 23) (name P23) (type passive))
        (pin (num 24) (name P24) (type passive))
        (pin (num 25) (name P25) (type passive))
        (pin (num 26) (name P26) (type passive))
        (pin (num 27) (name P27) (type passive))
        (pin (num 28) (name P28) (type passive))
        (pin (num 29) (name P29) (type passive))
        (pin (num 30) (name P30) (type passive))
        (pin (num 31) (name P31) (type passive))
        (pin (num 32) (name P32) (type passive))
        (pin (num 33) (name P33) (type passive))
        (pin (num 34) (name P34) (type passive))
        (pin (num 35) (name P35) (type passive))
        (pin (num 36) (name P36) (type passive))
        (pin (num 37) (name P37) (type passive))
        (pin (num 38) (name P38) (type passive))
        (pin (num 39) (name P39) (type passive))))
    (libpart (lib conn) (part CONN_02X20)
      (description "Connector, double row, 02x20, pin header")
      (footprints
        (fp Pin_Header_Straight_2X*)
        (fp Pin_Header_Angled_2X*)
        (fp Socket_Strip_Straight_2X*)
        (fp Socket_Strip_Angled_2X*)
        (fp IDC_Header_Straight_*))
      (fields
        (field (name Reference) J)
        (field (name Value) CONN_02X20))
      (pins
        (pin (num 1) (name P1) (type passive))
        (pin (num 2) (name P2) (type passive))
        (pin (num 3) (name P3) (type passive))
        (pin (num 4) (name P4) (type passive))
        (pin (num 5) (name P5) (type passive))
        (pin (num 6) (name P6) (type passive))
        (pin (num 7) (name P7) (type passive))
        (pin (num 8) (name P8) (type passive))
        (pin (num 9) (name P9) (type passive))
        (pin (num 10) (name P10) (type passive))
        (pin (num 11) (name P11) (type passive))
        (pin (num 12) (name P12) (type passive))
        (pin (num 13) (name P13) (type passive))
        (pin (num 14) (name P14) (type passive))
        (pin (num 15) (name P15) (type passive))
        (pin (num 16) (name P16) (type passive))
        (pin (num 17) (name P17) (type passive))
        (pin (num 18) (name P18) (type passive))
        (pin (num 19) (name P19) (type passive))
        (pin (num 20) (name P20) (type passive))
        (pin (num 21) (name P21) (type passive))
        (pin (num 22) (name P22) (type passive))
        (pin (num 23) (name P23) (type passive))
        (pin (num 24) (name P24) (type passive))
        (pin (num 25) (name P25) (type passive))
        (pin (num 26) (name P26) (type passive))
        (pin (num 27) (name P27) (type passive))
        (pin (num 28) (name P28) (type passive))
        (pin (num 29) (name P29) (type passive))
        (pin (num 30) (name P30) (type passive))
        (pin (num 31) (name P31) (type passive))
        (pin (num 32) (name P32) (type passive))
        (pin (num 33) (name P33) (type passive))
        (pin (num 34) (name P34) (type passive))
        (pin (num 35) (name P35) (type passive))
        (pin (num 36) (name P36) (type passive))
        (pin (num 37) (name P37) (type passive))
        (pin (num 38) (name P38) (type passive))
        (pin (num 39) (name P39) (type passive))
        (pin (num 40) (name P40) (type passive))))
    (libpart (lib device) (part CP1)
      (description "Polarised capacitor")
      (footprints
        (fp CP_*))
      (fields
        (field (name Reference) C)
        (field (name Value) CP1))
      (pins
        (pin (num 1) (name ~) (type passive))
        (pin (num 2) (name ~) (type passive))))
    (libpart (lib device) (part D)
      (description Diode)
      (footprints
        (fp TO-???*)
        (fp *SingleDiode)
        (fp *_Diode_*)
        (fp *SingleDiode*)
        (fp D_*))
      (fields
        (field (name Reference) D)
        (field (name Value) D))
      (pins
        (pin (num 1) (name K) (type passive))
        (pin (num 2) (name A) (type passive))))
    (libpart (lib device) (part Jumper_NO_Small)
      (description "Jumper, normally open")
      (fields
        (field (name Reference) JP)
        (field (name Value) Jumper_NO_Small))
      (pins
        (pin (num 1) (name 1) (type passive))
        (pin (num 2) (name 2) (type passive))))
    (libpart (lib microchip) (part MCP23S17)
      (description "16-Bit I/O Expander with SPI Interface (PDIP/SOIC/SSOP)")
      (docs http://ww1.microchip.com/downloads/en/DeviceDoc/20001952C.pdf)
      (footprints
        (fp DIP-28_W7.62mm*)
        (fp SOIC-28)
        (fp SSOP-28))
      (fields
        (field (name Reference) U)
        (field (name Value) MCP23S17))
      (pins
        (pin (num 1) (name GPB0) (type BiDi))
        (pin (num 2) (name GPB1) (type BiDi))
        (pin (num 3) (name GPB2) (type BiDi))
        (pin (num 4) (name GPB3) (type BiDi))
        (pin (num 5) (name GPB4) (type BiDi))
        (pin (num 6) (name GPB5) (type BiDi))
        (pin (num 7) (name GPB6) (type BiDi))
        (pin (num 8) (name GPB7) (type BiDi))
        (pin (num 9) (name VCC) (type power_in))
        (pin (num 10) (name GND) (type power_in))
        (pin (num 11) (name ~CS) (type input))
        (pin (num 12) (name SCK) (type input))
        (pin (num 13) (name SI) (type output))
        (pin (num 14) (name SO) (type output))
        (pin (num 15) (name A0) (type input))
        (pin (num 16) (name A1) (type input))
        (pin (num 17) (name A2) (type input))
        (pin (num 18) (name ~RESET) (type input))
        (pin (num 19) (name INTB) (type output))
        (pin (num 20) (name INTA) (type output))
        (pin (num 21) (name GPA0) (type BiDi))
        (pin (num 22) (name GPA1) (type BiDi))
        (pin (num 23) (name GPA2) (type BiDi))
        (pin (num 24) (name GPA3) (type BiDi))
        (pin (num 25) (name GPA4) (type BiDi))
        (pin (num 26) (name GPA5) (type BiDi))
        (pin (num 27) (name GPA6) (type BiDi))
        (pin (num 28) (name GPA7) (type BiDi))))
    (libpart (lib device) (part R)
      (description Resistor)
      (footprints
        (fp R_*)
        (fp R_*))
      (fields
        (field (name Reference) R)
        (field (name Value) R))
      (pins
        (pin (num 1) (name ~) (type passive))
        (pin (num 2) (name ~) (type passive))))
    (libpart (lib switches) (part SW_Push)
      (description "Push button switch, generic, two pins")
      (fields
        (field (name Reference) SW)
        (field (name Value) SW_Push))
      (pins
        (pin (num 1) (name 1) (type passive))
        (pin (num 2) (name 2) (type passive))))
    (libpart (lib 65xx) (part WD65C21)
      (fields
        (field (name Reference) U)
        (field (name Value) WD65C21))
      (pins
        (pin (num 1) (name GND) (type output))
        (pin (num 2) (name PA0) (type BiDi))
        (pin (num 3) (name PA1) (type BiDi))
        (pin (num 4) (name PA2) (type BiDi))
        (pin (num 5) (name PA3) (type BiDi))
        (pin (num 6) (name PA4) (type BiDi))
        (pin (num 7) (name PA5) (type BiDi))
        (pin (num 8) (name PA6) (type BiDi))
        (pin (num 9) (name PA7) (type BiDi))
        (pin (num 10) (name PB0) (type BiDi))
        (pin (num 11) (name PB1) (type BiDi))
        (pin (num 12) (name PB2) (type BiDi))
        (pin (num 13) (name PB3) (type BiDi))
        (pin (num 14) (name PB4) (type BiDi))
        (pin (num 15) (name PB5) (type BiDi))
        (pin (num 16) (name PB6) (type BiDi))
        (pin (num 17) (name PB7) (type BiDi))
        (pin (num 18) (name CB1) (type BiDi))
        (pin (num 19) (name CB2) (type output))
        (pin (num 20) (name VCC) (type power_in))
        (pin (num 21) (name R/~W) (type input))
        (pin (num 22) (name CS0) (type input))
        (pin (num 23) (name ~CS2) (type input))
        (pin (num 24) (name CS1) (type input))
        (pin (num 25) (name PHI2) (type input))
        (pin (num 26) (name D7) (type 3state))
        (pin (num 27) (name D6) (type 3state))
        (pin (num 28) (name D5) (type 3state))
        (pin (num 29) (name D4) (type 3state))
        (pin (num 30) (name D3) (type 3state))
        (pin (num 31) (name D2) (type 3state))
        (pin (num 32) (name D1) (type 3state))
        (pin (num 33) (name D0) (type 3state))
        (pin (num 34) (name ~RESET) (type input))
        (pin (num 35) (name RS1) (type input))
        (pin (num 36) (name RS0) (type input))
        (pin (num 37) (name ~IRQB) (type output))
        (pin (num 38) (name ~IRQA) (type output))
        (pin (num 39) (name CA2) (type BiDi))
        (pin (num 40) (name CA1) (type BiDi)))))
  (libraries
    (library (logical w_connectors)
      (uri "D:\\ownCloud\\Documents\\Projects\\RC6502\\RC6502 Serial IO\\w_connectors.lib"))
    (library (logical device)
      (uri "C:\\Program Files\\KiCad\\share\\kicad\\library\\device.lib"))
    (library (logical switches)
      (uri "C:\\Program Files\\KiCad\\share\\kicad\\library\\switches.lib"))
    (library (logical 65xx)
      (uri "D:\\ownCloud\\Documents\\Projects\\RC6502\\RC6502 Serial IO\\65xx.lib"))
    (library (logical microchip)
      (uri "C:\\Program Files\\KiCad\\share\\kicad\\library\\microchip.lib"))
    (library (logical 74xx)
      (uri "C:\\Program Files\\KiCad\\share\\kicad\\library\\74xx.lib"))
    (library (logical conn)
      (uri "C:\\Program Files\\KiCad\\share\\kicad\\library\\conn.lib")))
  (nets
    (net (code 1) (name "Net-(J2-Pad13)")
      (node (ref J2) (pin 13))
      (node (ref U4) (pin 11))
      (node (ref R3) (pin 2)))
    (net (code 2) (name "Net-(U4-Pad19)")
      (node (ref U4) (pin 19)))
    (net (code 3) (name "Net-(U4-Pad20)")
      (node (ref U4) (pin 20)))
    (net (code 4) (name "Net-(J2-Pad17)")
      (node (ref J2) (pin 17)))
    (net (code 5) (name /MOSI)
      (node (ref U4) (pin 13))
      (node (ref J3) (pin 3))
      (node (ref J2) (pin 14)))
    (net (code 6) (name /MISO)
      (node (ref J3) (pin 4))
      (node (ref U4) (pin 14))
      (node (ref J2) (pin 15)))
    (net (code 7) (name "Net-(J2-Pad18)")
      (node (ref J2) (pin 18)))
    (net (code 8) (name VCC)
      (node (ref R4) (pin 2))
      (node (ref U2) (pin 20))
      (node (ref R1) (pin 2))
      (node (ref R3) (pin 1))
      (node (ref C3) (pin 1))
      (node (ref U1) (pin 14))
      (node (ref U3) (pin 16))
      (node (ref U4) (pin 9))
      (node (ref J1) (pin 18))
      (node (ref U2) (pin 24))
      (node (ref C4) (pin 1))
      (node (ref C2) (pin 1))
      (node (ref C1) (pin 1))
      (node (ref R5) (pin 2))
      (node (ref J3) (pin 6))
      (node (ref D1) (pin 1))
      (node (ref R2) (pin 1)))
    (net (code 9) (name "Net-(J4-Pad8)")
      (node (ref J4) (pin 8)))
    (net (code 10) (name "Net-(J4-Pad1)")
      (node (ref J4) (pin 1)))
    (net (code 11) (name "Net-(J4-Pad4)")
      (node (ref J4) (pin 4)))
    (net (code 12) (name OUT_D6)
      (node (ref J4) (pin 5))
      (node (ref U2) (pin 16))
      (node (ref U4) (pin 27)))
    (net (code 13) (name "Net-(J4-Pad6)")
      (node (ref J4) (pin 6)))
    (net (code 14) (name OUT_D5)
      (node (ref J4) (pin 7))
      (node (ref U4) (pin 26))
      (node (ref U2) (pin 15)))
    (net (code 15) (name OUT_D4)
      (node (ref J4) (pin 9))
      (node (ref U4) (pin 25))
      (node (ref U2) (pin 14)))
    (net (code 16) (name "Net-(J4-Pad10)")
      (node (ref J4) (pin 10)))
    (net (code 17) (name "Net-(J4-Pad20)")
      (node (ref J4) (pin 20)))
    (net (code 18) (name OUT_D3)
      (node (ref U4) (pin 24))
      (node (ref U2) (pin 13))
      (node (ref J4) (pin 11)))
    (net (code 19) (name "Net-(U4-Pad28)")
      (node (ref U4) (pin 28)))
    (net (code 20) (name "Net-(J2-Pad4)")
      (node (ref J2) (pin 4)))
    (net (code 21) (name "Net-(J2-Pad3)")
      (node (ref J2) (pin 3)))
    (net (code 22) (name "Net-(J2-Pad30)")
      (node (ref J2) (pin 30)))
    (net (code 23) (name "Net-(J2-Pad26)")
      (node (ref J2) (pin 26)))
    (net (code 24) (name "Net-(J2-Pad25)")
      (node (ref J2) (pin 25)))
    (net (code 25) (name "Net-(J2-Pad24)")
      (node (ref J2) (pin 24)))
    (net (code 26) (name "Net-(J2-Pad23)")
      (node (ref J2) (pin 23)))
    (net (code 27) (name "Net-(J2-Pad22)")
      (node (ref J2) (pin 22)))
    (net (code 28) (name "Net-(J2-Pad21)")
      (node (ref J2) (pin 21)))
    (net (code 29) (name "Net-(J2-Pad20)")
      (node (ref J2) (pin 20)))
    (net (code 30) (name "Net-(J2-Pad19)")
      (node (ref J2) (pin 19)))
    (net (code 31) (name "Net-(U2-Pad23)")
      (node (ref U3) (pin 10))
      (node (ref U2) (pin 23)))
    (net (code 32) (name "Net-(U1-Pad1)")
      (node (ref U2) (pin 19))
      (node (ref U1) (pin 1)))
    (net (code 33) (name GND)
      (node (ref J4) (pin 40))
      (node (ref J4) (pin 26))
      (node (ref J4) (pin 30))
      (node (ref U4) (pin 16))
      (node (ref J4) (pin 2))
      (node (ref U3) (pin 4))
      (node (ref J4) (pin 19))
      (node (ref U3) (pin 5))
      (node (ref J4) (pin 22))
      (node (ref U4) (pin 15))
      (node (ref C2) (pin 2))
      (node (ref C1) (pin 2))
      (node (ref C3) (pin 2))
      (node (ref J1) (pin 17))
      (node (ref U2) (pin 1))
      (node (ref U4) (pin 10))
      (node (ref J2) (pin 29))
      (node (ref U1) (pin 7))
      (node (ref C4) (pin 2))
      (node (ref J3) (pin 5))
      (node (ref U4) (pin 17))
      (node (ref SW1) (pin 2))
      (node (ref U3) (pin 8)))
    (net (code 34) (name "Net-(D1-Pad2)")
      (node (ref D1) (pin 2))
      (node (ref JP1) (pin 2)))
    (net (code 35) (name "Net-(J2-Pad27)")
      (node (ref J2) (pin 27))
      (node (ref JP1) (pin 1)))
    (net (code 36) (name /SCK)
      (node (ref J3) (pin 2))
      (node (ref J2) (pin 16))
      (node (ref U4) (pin 12)))
    (net (code 37) (name KBD_DETECT)
      (node (ref R4) (pin 1))
      (node (ref J4) (pin 39))
      (node (ref J2) (pin 10)))
    (net (code 38) (name "Net-(J4-Pad24)")
      (node (ref J4) (pin 24)))
    (net (code 39) (name "Net-(J4-Pad12)")
      (node (ref J4) (pin 12)))
    (net (code 40) (name "Net-(J4-Pad14)")
      (node (ref J4) (pin 14)))
    (net (code 41) (name "Net-(J4-Pad16)")
      (node (ref J4) (pin 16)))
    (net (code 42) (name "Net-(J4-Pad18)")
      (node (ref J4) (pin 18)))
    (net (code 43) (name "Net-(J4-Pad28)")
      (node (ref J4) (pin 28)))
    (net (code 44) (name /CS1)
      (node (ref R2) (pin 2))
      (node (ref J2) (pin 12))
      (node (ref J3) (pin 1)))
    (net (code 45) (name P_RESET)
      (node (ref SW1) (pin 1))
      (node (ref J2) (pin 28))
      (node (ref U4) (pin 18))
      (node (ref R5) (pin 1))
      (node (ref J4) (pin 36)))
    (net (code 46) (name OUT_D2)
      (node (ref J4) (pin 13))
      (node (ref U4) (pin 23))
      (node (ref U2) (pin 12)))
    (net (code 47) (name OUT_D1)
      (node (ref U4) (pin 22))
      (node (ref J4) (pin 15))
      (node (ref U2) (pin 11)))
    (net (code 48) (name OUT_D0)
      (node (ref U4) (pin 21))
      (node (ref U2) (pin 10))
      (node (ref J4) (pin 17)))
    (net (code 49) (name KBD_D7)
      (node (ref U4) (pin 8))
      (node (ref U2) (pin 9))
      (node (ref J4) (pin 21)))
    (net (code 50) (name D3)
      (node (ref J1) (pin 30))
      (node (ref U2) (pin 30)))
    (net (code 51) (name D2)
      (node (ref U2) (pin 31))
      (node (ref J1) (pin 29)))
    (net (code 52) (name "Net-(J1-Pad38)")
      (node (ref J1) (pin 38)))
    (net (code 53) (name "Net-(J1-Pad23)")
      (node (ref J1) (pin 23)))
    (net (code 54) (name "Net-(J1-Pad25)")
      (node (ref J1) (pin 25)))
    (net (code 55) (name "Net-(J1-Pad39)")
      (node (ref J1) (pin 39)))
    (net (code 56) (name D5)
      (node (ref U2) (pin 28))
      (node (ref J1) (pin 32)))
    (net (code 57) (name "Net-(U2-Pad38)")
      (node (ref U2) (pin 38)))
    (net (code 58) (name D4)
      (node (ref U2) (pin 29))
      (node (ref J1) (pin 31)))
    (net (code 59) (name "Net-(J1-Pad21)")
      (node (ref J1) (pin 21)))
    (net (code 60) (name A12)
      (node (ref J1) (pin 4))
      (node (ref U3) (pin 1)))
    (net (code 61) (name "Net-(U2-Pad37)")
      (node (ref U2) (pin 37)))
    (net (code 62) (name D6)
      (node (ref U2) (pin 27))
      (node (ref J1) (pin 33)))
    (net (code 63) (name A0)
      (node (ref J1) (pin 16))
      (node (ref U2) (pin 36)))
    (net (code 64) (name D7)
      (node (ref U2) (pin 26))
      (node (ref J1) (pin 34)))
    (net (code 65) (name A1)
      (node (ref U2) (pin 35))
      (node (ref J1) (pin 15)))
    (net (code 66) (name PHI2)
      (node (ref J1) (pin 19))
      (node (ref U2) (pin 25)))
    (net (code 67) (name "Net-(J1-Pad37)")
      (node (ref J1) (pin 37)))
    (net (code 68) (name "Net-(J1-Pad22)")
      (node (ref J1) (pin 22)))
    (net (code 69) (name "Net-(J1-Pad26)")
      (node (ref J1) (pin 26)))
    (net (code 71) (name A15)
      (node (ref J1) (pin 1))
      (node (ref U3) (pin 6)))
    (net (code 72) (name A14)
      (node (ref U3) (pin 3))
      (node (ref J1) (pin 2)))
    (net (code 73) (name A13)
      (node (ref J1) (pin 3))
      (node (ref U3) (pin 2)))
    (net (code 74) (name "Net-(J1-Pad5)")
      (node (ref J1) (pin 5)))
    (net (code 75) (name "Net-(J1-Pad6)")
      (node (ref J1) (pin 6)))
    (net (code 76) (name RW)
      (node (ref J1) (pin 24))
      (node (ref U2) (pin 21)))
    (net (code 77) (name "Net-(J1-Pad14)")
      (node (ref J1) (pin 14)))
    (net (code 78) (name D0)
      (node (ref U2) (pin 33))
      (node (ref J1) (pin 27)))
    (net (code 79) (name D1)
      (node (ref U2) (pin 32))
      (node (ref J1) (pin 28)))
    (net (code 80) (name "Net-(U3-Pad7)")
      (node (ref U3) (pin 7)))
    (net (code 81) (name "Net-(J1-Pad13)")
      (node (ref J1) (pin 13)))
    (net (code 82) (name A4)
      (node (ref U2) (pin 22))
      (node (ref J1) (pin 12)))
    (net (code 83) (name "Net-(J1-Pad11)")
      (node (ref J1) (pin 11)))
    (net (code 84) (name RESET)
      (node (ref J1) (pin 20))
      (node (ref U2) (pin 34)))
    (net (code 85) (name "Net-(J1-Pad10)")
      (node (ref J1) (pin 10)))
    (net (code 86) (name "Net-(J1-Pad9)")
      (node (ref J1) (pin 9)))
    (net (code 87) (name "Net-(J1-Pad8)")
      (node (ref J1) (pin 8)))
    (net (code 88) (name "Net-(J1-Pad7)")
      (node (ref J1) (pin 7)))
    (net (code 89) (name KBD_D2)
      (node (ref U2) (pin 4))
      (node (ref J4) (pin 31))
      (node (ref U4) (pin 3)))
    (net (code 90) (name KBD_D3)
      (node (ref J4) (pin 29))
      (node (ref U4) (pin 4))
      (node (ref U2) (pin 5)))
    (net (code 91) (name KBD_D4)
      (node (ref J4) (pin 27))
      (node (ref U4) (pin 5))
      (node (ref U2) (pin 6)))
    (net (code 92) (name KBD_D5)
      (node (ref U2) (pin 7))
      (node (ref U4) (pin 6))
      (node (ref J4) (pin 25)))
    (net (code 93) (name KBD_D6)
      (node (ref U2) (pin 8))
      (node (ref J4) (pin 23))
      (node (ref U4) (pin 7)))
    (net (code 94) (name KBD_D1)
      (node (ref J4) (pin 33))
      (node (ref U2) (pin 3))
      (node (ref U4) (pin 2)))
    (net (code 95) (name "Net-(J2-Pad11)")
      (node (ref J2) (pin 11)))
    (net (code 96) (name OUT_DETECT)
      (node (ref R1) (pin 1))
      (node (ref J4) (pin 32))
      (node (ref J2) (pin 9)))
    (net (code 97) (name OUT_RDA)
      (node (ref U2) (pin 18))
      (node (ref J2) (pin 8))
      (node (ref J4) (pin 34)))
    (net (code 98) (name KBD_STROBE)
      (node (ref J4) (pin 38))
      (node (ref J2) (pin 7))
      (node (ref U2) (pin 40)))
    (net (code 99) (name OUT_DA)
      (node (ref J4) (pin 3))
      (node (ref J2) (pin 6))
      (node (ref U2) (pin 17))
      (node (ref C5) (pin 1)))
    (net (code 100) (name KBD_READY)
      (node (ref J2) (pin 5))
      (node (ref J4) (pin 37))
      (node (ref U2) (pin 39)))
    (net (code 101) (name RX)
      (node (ref J2) (pin 2))
      (node (ref J1) (pin 36)))
    (net (code 102) (name TX)
      (node (ref J2) (pin 1))
      (node (ref J1) (pin 35)))
    (net (code 103) (name "Net-(U3-Pad15)")
      (node (ref U3) (pin 15)))
    (net (code 104) (name "Net-(U3-Pad14)")
      (node (ref U3) (pin 14)))
    (net (code 105) (name "Net-(U3-Pad13)")
      (node (ref U3) (pin 13)))
    (net (code 106) (name "Net-(U3-Pad12)")
      (node (ref U3) (pin 12)))
    (net (code 107) (name "Net-(U3-Pad11)")
      (node (ref U3) (pin 11)))
    (net (code 108) (name "Net-(U3-Pad9)")
      (node (ref U3) (pin 9)))
    (net (code 109) (name KBD_D0)
      (node (ref U4) (pin 1))
      (node (ref U2) (pin 2))
      (node (ref J4) (pin 35)))
    (net (code 110) (name "Net-(C5-Pad2)")
      (node (ref U1) (pin 2))
      (node (ref C5) (pin 2)))))