Chip r6c2 (ra<1:6>,ca<1:2>) -> cb<2:1>,rb<6:1>
  On DIL16
  Pins (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16)
  r (ra<1>) -> rb<1>
  r (ra<2>) -> rb<2>
  r (ra<3>) -> rb<3>
  r (ra<4>) -> rb<4>
  r (ra<5>) -> rb<5>
  r (ra<6>) -> rb<6>
  c (ca<1>) -> cb<1>
  c (ca<2>) -> cb<2>
End

Chip 15x1k (.vcc)->o<15:1>
  Pins(16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1)
  On DIL16
  pu(.vcc)->o<15>
  pu(.vcc)->o<14>
  pu(.vcc)->o<13>
  pu(.vcc)->o<12>
  pu(.vcc)->o<11>
  pu(.vcc)->o<10>
  pu(.vcc)->o<9>
  pu(.vcc)->o<8>
  pu(.vcc)->o<7>
  pu(.vcc)->o<6>
  pu(.vcc)->o<5>
  pu(.vcc)->o<4>
  pu(.vcc)->o<3>
  pu(.vcc)->o<2>
  pu(.vcc)->o<1>
End

Chip Blank16(i<1:8>)->o<8:1>
  Pins(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16)
  On DIL16
  B16(i<1:8>)->o<1:8>
End

Chip 74LS00(A1,B1,A2,B2,A3,B3,A4,B4,.VCC,.GND)->Y1,Y2,Y3,Y4
  Pins(1,2,4,5,9,10,12,13,14,7,3,6,8,11)
  On DIL14
  NAND(A1,B1)->Y1
  NAND(A2,B2)->Y2
  NAND(A3,B3)->Y3
  NAND(A4,B4)->Y4
End

Chip 74LS02(A1,B1,A2,B2,A3,B3,A4,B4,.VCC,.GND)->Y1,Y2,Y3,Y4
  Pins(2,3,5,6,8,9,11,12,14,7,1,4,10,13)
  On DIL14
  NOR(A1,B1)->Y1
  NOR(A2,B2)->Y2
  NOR(A3,B3)->Y3
  NOR(A4,B4)->Y4
End

Chip 74LS04(A1,A2,A3,A4,A5,A6,.VCC,.GND)->Y1,Y2,Y3,Y4,Y5,Y6
  Pins(1,3,5,9,11,13,14,7,2,4,6,8,10,12)
  On DIL14
  INV(A1)->Y1
  INV(A2)->Y2
  INV(A3)->Y3
  INV(A4)->Y4
  INV(A5)->Y5
  INV(A6)->Y6
End

Chip 7406(A1,A2,A3,A4,A5,A6,.VCC,.GND)->Y1,Y2,Y3,Y4,Y5,Y6
  Pins(1,3,5,9,11,13,14,7,2,4,6,8,10,12)
  On DIL14
  INV(A1)->Y1
  INV(A2)->Y2
  INV(A3)->Y3
  INV(A4)->Y4
  INV(A5)->Y5
  INV(A6)->Y6
End

Chip 7407(A1,A2,A3,A4,A5,A6,.VCC,.GND)->Y1,Y2,Y3,Y4,Y5,Y6
  Pins(1,3,5,9,11,13,14,7,2,4,6,8,10,12)
  On DIL14
  Buf(A1)->Y1
  Buf(A2)->Y2
  Buf(A3)->Y3
  Buf(A4)->Y4
  Buf(A5)->Y5
  Buf(A6)->Y6
End

Chip 74LS08(A1,B1,A2,B2,A3,B3,A4,B4,.VCC,.GND)->Y1,Y2,Y3,Y4
  Pins(1,2,4,5,9,10,12,13,14,7,3,6,8,11)
  On DIL14
  AND(A1,B1)->Y1
  AND(A2,B2)->Y2
  AND(A3,B3)->Y3
  AND(A4,B4)->Y4
End

Chip 74LS09(A1,B1,A2,B2,A3,B3,A4,B4,.VCC,.GND)->Y1,Y2,Y3,Y4
  Pins(1,2,4,5,9,10,12,13,14,7,3,6,8,11)
  On DIL14
  AND(A1,B1)->Y1
  AND(A2,B2)->Y2
  AND(A3,B3)->Y3
  AND(A4,B4)->Y4
End

Chip 74LS10(A1,B1,C1,A2,B2,C2,A3,B3,C3,.VCC,.GND)->Y1,Y2,Y3
  Pins(1,2,13,3,4,5,9,10,11,14,7,12,6,8)
  On DIL14
  NAND(A1,B1,C1)->Y1
  NAND(A2,B2,C2)->Y2
  NAND(A3,B3,C3)->Y3
End

Chip 74LS11(A1,B1,C1,A2,B2,C2,A3,B3,C3,.VCC,.GND)->Y1,Y2,Y3
  Pins(1,2,13,3,4,5,9,10,11,14,7,12,6,8)
  On DIL14
  AND(A1,B1,C1)->Y1
  AND(A2,B2,C2)->Y2
  AND(A3,B3,C3)->Y3
End


Chip 74LS12(A1,B1,C1,A2,B2,C2,A3,B3,C3,.VCC,.GND)->Y1,Y2,Y3
  Pins(1,2,13,3,4,5,9,10,11,14,7,12,6,8)
  On DIL14
  NAND(A1,B1,C1)->Y1
  NAND(A2,B2,C2)->Y2
  NAND(A3,B3,C3)->Y3
End

Chip 74LS13(A1,B1,C1,D1,A2,B2,C2,D2,.VCC,.GND)->Y1,Y2
  Pins(1,2,4,5,9,10,12,13,14,7,6,8)
  On DIL14
  NAND(A1,B1,C1,D1)->Y1
  NAND(A2,B2,C2,D2)->Y2
End

Chip 74LS14(A1,A2,A3,A4,A5,A6,.VCC,.GND)->Y1,Y2,Y3,Y4,Y5,Y6
  Pins(1,3,5,9,11,13,14,7,2,4,6,8,10,12)
  On DIL14
  INV(A1)->Y1
  INV(A2)->Y2
  INV(A3)->Y3
  INV(A4)->Y4
  INV(A5)->Y5
  INV(A6)->Y6
End

Chip 74LS15(A1,B1,C1,A2,B2,C2,A3,B3,C3,.VCC,.GND)->Y1,Y2,Y3
  Pins(1,2,13,3,4,5,9,10,11,14,7,12,6,8)
  On DIL14
  AND(A1,B1,C1)->Y1
  AND(A2,B2,C2)->Y2
  AND(A3,B3,C3)->Y3
End

Chip 7416(A1,A2,A3,A4,A5,A6,.VCC,.GND)->Y1,Y2,Y3,Y4,Y5,Y6
  Pins(1,3,5,9,11,13,14,7,2,4,6,8,10,12)
  On DIL14
  INV(A1)->Y1
  INV(A2)->Y2
  INV(A3)->Y3
  INV(A4)->Y4
  INV(A5)->Y5
  INV(A6)->Y6
End

Chip 7417(A1,A2,A3,A4,A5,A6,.VCC,.GND)->Y1,Y2,Y3,Y4,Y5,Y6
  Pins(1,3,5,9,11,13,14,7,2,4,6,8,10,12)
  On DIL14
  Buf(A1)->Y1
  Buf(A2)->Y2
  Buf(A3)->Y3
  Buf(A4)->Y4
  Buf(A5)->Y5
  Buf(A6)->Y6
End


Chip 74LS20(A1,B1,C1,D1,A2,B2,C2,D2,.VCC,.GND)->Y1,Y2
  Pins(1,2,4,5,9,10,12,13,14,7,6,8)
  On DIL14
  NAND(A1,B1,C1,D1)->Y1
  NAND(A2,B2,C2,D2)->Y2
End

Chip 74LS21(A1,B1,C1,D1,A2,B2,C2,D2,.VCC,.GND)->Y1,Y2
  Pins(1,2,4,5,9,10,12,13,14,7,6,8)
  On DIL14
  AND(A1,B1,C1,D1)->Y1
  AND(A2,B2,C2,D2)->Y2
End

Chip 74LS22(A1,B1,C1,D1,A2,B2,C2,D2,.VCC,.GND)->Y1,Y2
  Pins(1,2,4,5,9,10,12,13,14,7,6,8)
  On DIL14
  NAND(A1,B1,C1,D1)->Y1
  NAND(A2,B2,C2,D2)->Y2
End

Chip 74LS25(A1,B1,C1,D1,G1,A2,B2,C2,D2,G2,.VCC,.GND)->Y1,Y2
  Pins(1,2,4,5,3,9,10,12,13,11,14,7,6,8)
  On DIL14
  u25(A1,B1,C1,D1,G1)->Y1
  u25(A2,B2,C2,D2,G2)->Y2
End

Chip 74LS26(A1,B1,A2,B2,A3,B3,A4,B4,.VCC,.GND)->Y1,Y2,Y3,Y4
  Pins(1,2,4,5,9,10,12,13,14,7,3,6,8,11)
  On DIL14
  NAND(A1,B1)->Y1
  NAND(A2,B2)->Y2
  NAND(A3,B3)->Y3
  NAND(A4,B4)->Y4

End
Chip 74LS27(A1,B1,C1,A2,B2,C2,A3,B3,C3,.VCC,.GND)->Y1,Y2,Y3
  Pins(1,2,13,3,4,5,9,10,11,14,7,12,6,8)
  On DIL14
  NOR(A1,B1,C1)->Y1
  NOR(A2,B2,C2)->Y2
  NOR(A3,B3,C3)->Y3
End

Chip 74LS28(A1,B1,A2,B2,A3,B3,A4,B4,.VCC,.GND)->Y1,Y2,Y3,Y4
  Pins(1,2,4,5,9,10,12,13,14,7,3,6,8,11)
  On DIL14
  NOR(A1,B1)->Y1
  NOR(A2,B2)->Y2
  NOR(A3,B3)->Y3
  NOR(A4,B4)->Y4
End

Chip 74LS30(A,B,C,D,E,F,G,H,.VCC,.GND)->Y
  Pins(1,2,3,4,5,6,11,12,14,7,8)
  On DIL14
  NAND(A,B,C,D,E,F,G,H)->Y
End

Chip 74LS32(A1,B1,A2,B2,A3,B3,A4,B4,.VCC,.GND)->Y1,Y2,Y3,Y4
  Pins(1,2,4,5,9,10,12,13,14,7,3,6,8,11)
  On DIL14
  OR(A1,B1)->Y1
  OR(A2,B2)->Y2
  OR(A3,B3)->Y3
  OR(A4,B4)->Y4
End

Chip 74LS33(A1,B1,A2,B2,A3,B3,A4,B4,.VCC,.GND)->Y1,Y2,Y3,Y4
  Pins(2,3,5,6,8,9,11,12,14,7,1,4,10,13)
  On DIL14
  NOR(A1,B1)->Y1
  NOR(A2,B2)->Y2
  NOR(A3,B3)->Y3
  NOR(A4,B4)->Y4
End

Chip 74LS37(A1,B1,A2,B2,A3,B3,A4,B4,.VCC,.GND)->Y1,Y2,Y3,Y4
  Pins(1,2,4,5,9,10,12,13,14,7,3,6,8,11)
  On DIL14
  NAND(A1,B1)->Y1
  NAND(A2,B2)->Y2
  NAND(A3,B3)->Y3
  NAND(A4,B4)->Y4
End


Chip 74S38(A1,B1,A2,B2,A3,B3,A4,B4,.VCC,.GND)->Y1,Y2,Y3,Y4
  Pins(1,2,4,5,9,10,12,13,14,7,3,6,8,11)
  On DIL14
  NAND(A1,B1)->Y1
  NAND(A2,B2)->Y2
  NAND(A3,B3)->Y3
  NAND(A4,B4)->Y4
End

Chip 74LS40(A1,B1,C1,D1,A2,B2,C2,D2,.VCC,.GND)->Y1,Y2
  Pins(1,2,4,5,9,10,12,13,14,7,6,8)
  On DIL14
  NAND(A1,B1,C1,D1)->Y1
  NAND(A2,B2,C2,D2)->Y2
End

Chip DEC8881(a1,b1,a2,b2,a3,b3,a4,b4,.VCC,.GND)->y1,y2,y3,y4
  Pins(2,3,5,6,9,8,12,11,14,7,1,4,10,13)
  On DIL14
  NAND(A1,B1)->Y1
  NAND(A2,B2)->Y2
  NAND(A3,B3)->Y3
  NAND(A4,B4)->Y4
End

Chip DEC8837(a1,a2,a3,b123,a4,a5,a6,b456,.VCC,.GND)->y1,y2,y3,y4,y5,y6
  Pins(1,3,5,7,11,13,15,9, 16,8, 2,4,6,10,12,14)
  On DIL16
  NOR(A1,B123)->y1
  NOR(A2,B123)->y2
  NOR(A3,B123)->y3
  NOR(A4,B456)->y4
  NOR(A5,B456)->y5
  NOR(A6,B456)->y6
End

spec xcvr(a,b,c,d,?,?,?,?,?)->a,b,c,d,?,?,?,?

Chip AM26S12 $also DEC8641$ (b\<3:0>,i<3:0>,e\,.gnd,.vcc,.gnd)
                         -> (b\<3:0>,o<3:0>)
  On DIL16
  Pins(1,4,12,15, 2,5,11,14, 7,9,16,8, 1,4,12,15, 3,6,10,13)
  xcvr(b\<3:0>,i<3:0>,e\)->b\<3:0>,o<3:0>
End

Chip AM2912 $also AM26S10$ (b\<3:0>,i<3:0>,e\,.gnd,.vcc,.gnd)
                        -> (b\<3:0>,o<3:0>)
  on dil16
  pins(2,7,9,15, 4,5,11,13, 12,1,16,8, 2,7,9,15, 3,6,10,14)
  xcvr(b\<3:0>,i<3:0>,e\) -> (b\<3:0>,o<3:0>)
End

Chip AM25LS2521 (a<7:0>,b<7:0>,e\,.vcc,.gnd) -> eq\
  on dil20
  pins(2,4,6,8,11,13,15,17,3,5,7,9,12,14,16,18,1,20,10,19)
  comparator(a<7:0>,b<7:0>,e\)->eq\
End

Chip 74LS74(D1,S\1,R\1,C1,D2,S\2,R\2,C2,.VCC,.GND)->Q1,Q\1,Q2,Q\2
  Pins(2,4,1,3,12,10,13,11,14,7,5,6,9,8)
  On DIL14
  u74(D1,S\1,R\1,C1)->Q1,Q\1
  u74(D2,S\2,R\2,C2)->Q2,Q\2
End

Chip 74LS136(A1,B1,A2,B2,A3,B3,A4,B4,.VCC,.GND)->Y1,Y2,Y3,Y4
  Pins(1,2,4,5,9,10,12,13,14,7,3,6,8,11)
  On DIL14
  XOR(A1,B1)->Y1
  XOR(A2,B2)->Y2
  XOR(A3,B3)->Y3
  XOR(A4,B4)->Y4
End

Chip 74LS113(J1,K1,S\1,C1,J2,K2,S\2,C2,.VCC,.GND)->Q1,Q\1,Q2,Q\2
  Pins(3,2,4,1, 11,12,10,13, 14,7, 5,6, 9,8)
  On DIL14
  U113(J1,K1,S\1,C1)->Q1,Q\1
  U113(J2,K2,S\2,C2)->Q2,Q\2
End

Chip 74LS123(A1,B1,CLR1,RC1,C1,A2,B2,CLR2,RC2,C2,.VCC,.GND)->Q1,
  Q1B,Q2,Q2B
  Pins(1,2,3,15,14,9,10,11,7,6,16,8,13,4,5,12)
  On DIL16
  u123(A1,B1,CLR1,RC1,C1)->Q1,Q1B
  u123(A2,B2,CLR2,RC2,C2)->Q2,Q2B
  r(.vcc)->rc1  c(rc1)->c1
  r(.vcc)->rc2  c(rc2)->c2
End

Chip 74LS124(r1,c1,a1,b1,e\1,r2,c2,a2,b2,e\2,.vcc,.vcc,.gnd,.gnd)->o1,o2
  On DIL16
  Pins (3,2,4,5,6, 14,1,13,12,11, 16,15,9,8, 7,10)
  u124(r1,c1,a1,b1,e\1)->o1     c(a1)->b1
  u124(r2,c2,a2,b2,e\2)->o2     c(a2)->b2
End

Chip 74LS157(i<1:4>,j<1:4>,sel,en\,.vcc,.gnd)->y<1:4>
  Pins(2,5,11,14,3,6,10,13,1,15,16,8,4,7,9,12)
  On DIL16
  u157(i<1:4>,j<1:4>,sel,en\)->y<1:4>
End

Chip 74LS174(i<5:0>,r\,c,.vcc,.gnd)->o<5:0>
  On DIL16
  Pins (3,4,6,11,13,14, 1,9, 16,8, 2,5,7,10,12,15)
  U174(i<5:0>,r\,c)->o<5:0>
End

Chip 74LS175(d<1:4>,r\,c,.vcc,.gnd)->q<1:4>,q\<1:4>
  On Dil16
  Pins(4,5,12,13,1,9,16,8,2,7,10,15,3,6,11,14)
  u175(d<1:4>,r\,c)->q<1:4>,q\<1:4>
End


Chip 74LS125(i<1:4>,e\<1:4>,.VCC,.GND)->o<1:4>
  Pins(2,5,9,12,1,4,10,13,14,7,3,6,8,11)
  On DIL14
  tsbuf(i<1>,e\<1>)->o<1>
  tsbuf(i<2>,e\<2>)->o<2>
  tsbuf(i<3>,e\<3>)->o<3>
  tsbuf(i<4>,e\<4>)->o<4>
End

Chip 74LS155(b,a,c4,c\0,e\4,e\0,.VCC,.GND)->y\<7:0>
  Pins(3,13,1,15,2,14,16,8,4,5,6,7,12,11,10,9)
  On DIL16
  U155(b,a,c4,c\0,e\4,e\0)->y\<7:0>
End

Chip 74LS191(i<3:0>,u\d,e\,l\,c,.vcc,.gnd)->o<3:0>,mm,rc\
  Pins(9,10,1,15, 5,4,11,14, 16,8, 7,6,2,3, 12,13)
  On DIL16
  u191(i<3:0>,u\d,e\,l\,c)->o<3:0>,mm,rc\
End

Chip 74LS244(i<7:0>,e4\,e0\,.VCC,.GND)->o<7:0>
  Pins(17,15,13,11,2,4,6,8,19,1,20,10,3,5,7,9,18,16,14,12)
  On DIL20
  U244(i<7:0>,e4\,e0\)->o<7:0>
End

Chip 74LS374 (i<1:8>,c,en\,.vcc,.gnd) -> o<1:8>
  On DIL20
  Pins (3,4,7,8,13,14,17,18, 11,1, 20,10, 2,5,6,9,12,15,16,19)
  u374 (i<1:8>,c,en\) -> o<1:8>
End

Chip 82S100(fe,i<0:15>,ce\,.vcc,.gnd)->o<0:7>
  On DIL28
  Pins(1,9,8,7,6,5,4,3,2,27,26,25,24,23,22,21,20,
       19,28,14, 18,17,16,15,13,12,11,10)
  fpla(i<0:15>,ce\)->o<7:0>
End

Finish
