loglib /*______________________________________________________________*/ /* */ /* LOG Library : 74ttl.def */ /* SCM Library : 74ttl.ddb */ /* */ /* Author : Bartels System */ /* Last Revision: 1997/04/29 */ /* */ /* Copyright (c) 1991-97 Oliver Bartels F+E, Erding */ /*______________________________________________________________*/ /* */ /* This library provides definitions of */ /* */ /* - Bipolar TTL Standard / Series 74TTL */ /* */ /* digital integrated circuits logic family. */ /* */ /* NOTES: */ /* */ /* Temperature : 74 = Commercial (0..70 Degree Celcius) */ /* Power Supply : vss = Digital Ground */ /* : vcc = +5V DC */ /*______________________________________________________________*/ part 7400 : default dil14 { newattr "$comment" = "Quad 2 Input NAND Gate" ; newattr "$ttlout" = "TP" ; pin (a,b,y) ; net "vss" : (7) ; net "vcc" : (14) ; xlat ( a, b, y) to ( 1, 2, 3) or ( 4, 5, 6) or ( 9,10, 8) or (12,13,11) ; swap ( (( 1, 2), 3), (( 4, 5), 6), (( 9,10), 8), ((12,13),11) ) ; } part 7401 : default dil14 { newattr "$comment" = "Quad 2 Input NAND Gate" ; newattr "$ttlout" = "OC" ; pin (a,b,y) ; net "vss" : (7) ; net "vcc" : (14) ; xlat ( a, b, y) to ( 2, 3, 1) or ( 5, 6, 4) or ( 8, 9,10) or (11,12,13) ; swap ( (( 2, 3), 1), (( 5, 6), 4), (( 8, 9),10), ((11,12),13) ) ; } part 7402 : default dil14 { newattr "$comment" = "Quad 2 Input NOR Gate" ; newattr "$ttlout" = "TP" ; pin (a,b,y) ; net "vss" : (7) ; net "vcc" : (14) ; xlat ( a, b, y) to ( 2, 3, 1) or ( 5, 6, 4) or ( 8, 9,10) or (11,12,13) ; swap ( (( 2, 3), 1), (( 5, 6), 4), (( 8, 9),10), ((11,12),13) ) ; } part 7403 : default dil14 { newattr "$comment" = "Quad 2 Input NAND Gate" ; newattr "$ttlout" = "TP" ; pin (a,b,y) ; net "vss" : (7) ; net "vcc" : (14) ; xlat ( a, b, y) to ( 1, 2, 3) or ( 4, 5, 6) or ( 9,10, 8) or (12,13,11) ; swap ( (( 1, 2), 3), (( 4, 5), 6), (( 9,10), 8), ((12,13),11) ) ; } part 7404 : default dil14 { newattr "$comment" = "Hex Inverter" ; newattr "$ttlout" = "TP" ; pin (a,y) ; net "vss" : (7) ; net "vcc" : (14) ; xlat ( a, y) to ( 1, 2) or ( 3, 4) or ( 5, 6) or ( 9, 8) or (11,10) or (13,12) ; swap ( ( 1, 2), ( 3, 4), ( 5, 6), ( 9, 8), (11,10), (13,12) ) ; } part 7405 : default dil14 { newattr "$comment" = "Hex Inverter" ; newattr "$ttlout" = "OC" ; pin (a,y) ; net "vss" : (7) ; net "vcc" : (14) ; xlat ( a, y) to ( 1, 2) or ( 3, 4) or ( 5, 6) or ( 9, 8) or (11,10) or (13,12) ; swap ( ( 1, 2), ( 3, 4), ( 5, 6), ( 9, 8), (11,10), (13,12) ) ; } part 7406 : default dil14 { newattr "$comment" = "Hex Inverter/Buffer, 30V Output" ; newattr "$ttlout" = "OC" ; pin (a,y) ; net "vss" : (7) ; net "vcc" : (14) ; xlat ( a, y) to ( 1, 2) or ( 3, 4) or ( 5, 6) or ( 9, 8) or (11,10) or (13,12) ; swap ( ( 1, 2), ( 3, 4), ( 5, 6), ( 9, 8), (11,10), (13,12) ) ; } part 7407 : default dil14 { newattr "$comment" = "Hex Buffer, 30V Output" ; newattr "$ttlout" = "OC" ; pin (a,y) ; net "vss" : (7) ; net "vcc" : (14) ; xlat ( a, y) to ( 1, 2) or ( 3, 4) or ( 5, 6) or ( 9, 8) or (11,10) or (13,12) ; swap ( ( 1, 2), ( 3, 4), ( 5, 6), ( 9, 8), (11,10), (13,12) ) ; } part 7408 : default dil14 { newattr "$comment" = "Quad 2 Input AND Gate" ; newattr "$ttlout" = "TP" ; pin (a,b,y) ; net "vss" : (7) ; net "vcc" : (14) ; xlat ( a, b, y) to ( 1, 2, 3) or ( 4, 5, 6) or ( 9,10, 8) or (12,13,11) ; swap ( (( 1, 2), 3), (( 4, 5), 6), (( 9,10), 8), ((12,13),11) ) ; } part 7409 : default dil14 { newattr "$comment" = "Quad 2 Input AND Gate" ; newattr "$ttlout" = "OC" ; pin (a,b,y) ; net "vss" : (7) ; net "vcc" : (14) ; xlat ( a, b, y) to ( 1, 2, 3) or ( 4, 5, 6) or ( 9,10, 8) or (12,13,11) ; swap ( (( 1, 2), 3), (( 4, 5), 6), (( 9,10), 8), ((12,13),11) ) ; } part 7410 : default dil14 { newattr "$comment" = "Triple 3 Input NAND Gate" ; newattr "$ttlout" = "TP" ; pin (a,b,c,y) ; net "vss" : (7) ; net "vcc" : (14) ; xlat (a, b, c, y) to (1, 2,13,12) or (3, 4, 5, 6) or (9,10,11, 8) ; swap ( (( 1, 2,13),12), (( 3, 4, 5), 6), (( 9,10,11), 8) ) ; } part 7411 : default dil14 { newattr "$comment" = "Triple 3 Input AND Gate" ; newattr "$ttlout" = "TP" ; pin (a,b,c,y) ; net "vss" : (7) ; net "vcc" : (14) ; xlat (a, b, c, y) to (1, 2,13,12) or (3, 4, 5, 6) or (9,10,11, 8) ; swap ( (( 1, 2,13),12), (( 3, 4, 5), 6), (( 9,10,11), 8) ) ; } part 7412 : default dil14 { newattr "$comment" = "Triple 3 Input NAND Gate" ; newattr "$ttlout" = "OC" ; pin (a,b,c,y) ; net "vss" : (7) ; net "vcc" : (14) ; xlat (a, b, c, y) to (1, 2,13,12) or (3, 4, 5, 6) or (9,10,11, 8) ; swap ( (( 1, 2,13),12), (( 3, 4, 5), 6), (( 9,10,11), 8) ) ; } part 7413 : default dil14 { newattr "$comment" = "Dual 4 Input NAND Schmitt Trigger" ; newattr "$ttlout" = "TP" ; pin (a,b,c,d,y) ; net "vss" : (7) ; net "vcc" : (14) ; xlat (a, b, c, d,y) to (1, 2, 4, 5,6) or (9,10,12,13,8) ; swap ( (( 1, 2, 4, 5), 6), (( 9,10,12,13), 8) ) ; } part 7414 : default dil14 { newattr "$comment" = "Hex Schmitt Trigger" ; newattr "$ttlout" = "TP" ; pin (a,y) ; net "vss" : (7) ; net "vcc" : (14) ; xlat ( a, y) to ( 1, 2) or ( 3, 4) or ( 5, 6) or ( 9, 8) or (11,10) or (13,12) ; swap ( ( 1, 2), ( 3, 4), ( 5, 6), ( 9, 8), (11,10), (13,12) ) ; } part 7416 : default dil14 { newattr "$comment" = "Hex Inverter/Buffer, 15V Output" ; newattr "$ttlout" = "OC" ; pin (a,y) ; net "vss" : (7) ; net "vcc" : (14) ; xlat ( a, y) to ( 1, 2) or ( 3, 4) or ( 5, 6) or ( 9, 8) or (11,10) or (13,12) ; swap ( ( 1, 2), ( 3, 4), ( 5, 6), ( 9, 8), (11,10), (13,12) ) ; } part 7417 : default dil14 { newattr "$comment" = "Hex Buffer, 15V Output" ; newattr "$ttlout" = "OC" ; pin (a,y) ; net "vss" : (7) ; net "vcc" : (14) ; xlat ( a, y) to ( 1, 2) or ( 3, 4) or ( 5, 6) or ( 9, 8) or (11,10) or (13,12) ; swap ( ( 1, 2), ( 3, 4), ( 5, 6), ( 9, 8), (11,10), (13,12) ) ; } part 7420 : default dil14 { newattr "$comment" = "Dual 4 Input NAND Gate" ; newattr "$ttlout" = "TP" ; pin (a,b,c,d,y) ; net "vss" : (7) ; net "vcc" : (14) ; xlat (a, b, c, d,y) to (1, 2, 4, 5,6) or (9,10,12,13,8) ; swap ( (( 1, 2, 4, 5), 6), (( 9,10,12,13), 8) ) ; } part 7421 : default dil14 { newattr "$comment" = "Dual 4 Input AND Gate" ; newattr "$ttlout" = "TP" ; pin (a,b,c,d,y) ; net "vss" : (7) ; net "vcc" : (14) ; xlat (a, b, c, d,y) to (1, 2, 4, 5,6) or (9,10,12,13,8) ; swap ( (( 1, 2, 4, 5), 6), (( 9,10,12,13), 8) ) ; } part 7422 : default dil14 { newattr "$comment" = "Dual 4 Input NAND Gate" ; newattr "$ttlout" = "OC" ; pin (a,b,c,d,y) ; net "vss" : (7) ; net "vcc" : (14) ; xlat (a, b, c, d,y) to (1, 2, 4, 5,6) or (9,10,12,13,8) ; swap ( (( 1, 2, 4, 5), 6), (( 9,10,12,13), 8) ) ; } part 7426 : default dil14 { newattr "$comment" = "Quad 2 Input NAND, 15V Output" ; newattr "$ttlout" = "OC" ; pin (a,b,y) ; net "vss" : (7) ; net "vcc" : (14) ; xlat ( a, b, y) to ( 1, 2, 3) or ( 4, 5, 6) or ( 9,10, 8) or (12,13,11) ; swap ( (( 1, 2), 3), (( 4, 5), 6), (( 9,10), 8), ((12,13),11) ) ; } part 7427 : default dil14 { newattr "$comment" = "Triple 2 Input NOR Gate" ; newattr "$ttlout" = "TP" ; pin (a,b,c,y) ; net "vss" : (7) ; net "vcc" : (14) ; xlat (a, b, c, y) to (1, 2,13,12) or (3, 4, 5, 6) or (9,10,11, 8) ; swap ( (( 1, 2,13),12), (( 3, 4, 5), 6), (( 9,10,11), 8) ) ; } part 7428 : default dil14 { newattr "$comment" = "Quad 2 Input NOR Buffer" ; newattr "$ttlout" = "TP" ; pin (a,b,y) ; net "vss" : (7) ; net "vcc" : (14) ; xlat ( a, b, y) to ( 2, 3, 1) or ( 5, 6, 4) or ( 8, 9,10) or (11,12,13) ; swap ( (( 2, 3), 1), (( 5, 6), 4), (( 8, 9),10), ((11,12),13) ) ; } part 7430 : default dil14 { newattr "$comment" = "8 Input NAND Gate" ; newattr "$ttlout" = "TP" ; pin (a,b,c,d,e,f,g,h,y) ; net "vss" : (7) ; net "vcc" : (14) ; xlat (a,b,c,d,e,f, g, h,y) to (1,2,3,4,5,6,11,12,8) ; swap ( (( 1, 2, 3, 4, 5, 6,11,12), 8) ) ; } part 7432 : default dil14 { newattr "$comment" = "Quad 2 Input OR Gate" ; newattr "$ttlout" = "TP" ; pin (a,b,y) ; net "vss" : (7) ; net "vcc" : (14) ; xlat ( a, b, y) to ( 1, 2, 3) or ( 4, 5, 6) or ( 9,10, 8) or (12,13,11) ; swap ( (( 1, 2), 3), (( 4, 5), 6), (( 9,10), 8), ((12,13),11) ) ; } part 7433 : default dil14 { newattr "$comment" = "Quad 2 Input NOR Gate" ; newattr "$ttlout" = "OC" ; pin (a,b,y) ; net "vss" : (7) ; net "vcc" : (14) ; xlat ( a, b, y) to ( 2, 3, 1) or ( 5, 6, 4) or ( 8, 9,10) or (11,12,13) ; swap ( (( 2, 3), 1), (( 5, 6), 4), (( 8, 9),10), ((11,12),13) ) ; } part 7437 : default dil14 { newattr "$comment" = "Quad 2 Input NAND Buffer" ; newattr "$ttlout" = "TP" ; pin (a,b,y) ; net "vss" : (7) ; net "vcc" : (14) ; xlat ( a, b, y) to ( 1, 2, 3) or ( 4, 5, 6) or ( 9,10, 8) or (12,13,11) ; swap ( (( 1, 2), 3), (( 4, 5), 6), (( 9,10), 8), ((12,13),11) ) ; } part 7438 : default dil14 { newattr "$comment" = "Quad 2 Input NAND Buffer" ; newattr "$ttlout" = "OC" ; pin (a,b,y) ; net "vss" : (7) ; net "vcc" : (14) ; xlat ( a, b, y) to ( 1, 2, 3) or ( 4, 5, 6) or ( 9,10, 8) or (12,13,11) ; swap ( (( 1, 2), 3), (( 4, 5), 6), (( 9,10), 8), ((12,13),11) ) ; } part 7443 : default dil16 { newattr "$comment" = "Excess-3 to Decimal Decoder" ; pin (a0,a1,a2,a3,y0,y1,y2,y3,y4,y5,y6,y7,y8,y9) ; net "vss" : (8) ; net "vcc" : (16) ; xlat (a0,a1,a2,a3,y0,y1,y2,y3,y4,y5,y6,y7,y8,y9) to (15,14,13,12, 1, 2, 3, 4, 5, 6, 7, 9,10,11) ; } part 7444 : default dil16 { newattr "$comment" = "Excess-3-Gray to Decimal Decoder" ; pin (a0,a1,a2,a3,y0,y1,y2,y3,y4,y5,y6,y7,y8,y9) ; net "vss" : (8) ; net "vcc" : (16) ; xlat (a0,a1,a2,a3,y0,y1,y2,y3,y4,y5,y6,y7,y8,y9) to (15,14,13,12, 1, 2, 3, 4, 5, 6, 7, 9,10,11) ; } part 74100 : default dil24,dil24b { newattr "$comment" = "Dual 8 Bit Bistable Latch" ; pin (g,d1,q1,d2,q2,d3,q3,d4,q4) ; net "vss" : (7) ; net "vcc" : (24) ; xlat ( g,d1,q1,d2,q2,d3,q3,d4,q4) to (23, 2, 5, 3, 4,22,19,21,20) or (12,11, 8,10, 9,15,18,16,17) ; swap ( [ 23, ( 2, 5), ( 3, 4), (22,19), (21,20) ], [ 12, (11, 8), (10, 9), (15,18), (16,17) ] ) ; } /*______________________________________________________________*/ /* Logical Library definition file end */ end.