loglib /*______________________________________________________________*/ /* */ /* LOG Library : 74hc.def */ /* SCM Library : 74hc.ddb */ /* */ /* Author : Bartels System */ /* Last Revision: 1997/04/16 */ /* */ /* Copyright (c) 1991-97 Oliver Bartels F+E, Erding */ /*______________________________________________________________*/ /* */ /* This library provides definitions of */ /* */ /* - High Speed CMOS / Series 74HC */ /* */ /* digital integrated circuits logic family. */ /* */ /* NOTES: */ /* */ /* Temperature : 74 = Commercial (-40..85 Degree Celcius) */ /* Power Supply : vss = Digital Ground */ /* : vcc = +2V to +6V DC */ /*______________________________________________________________*/ part 74hc02 : default so14,dil14 { newattr "$comment" = "Quad 2 Input NOR Gate" ; net "vss" : (7) ; net "vcc" : (14) ; pin (a,b,y) ; 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 74hc04 : default so14,dil14 { newattr "$comment" = "Hex Inverter" ; net "vss" : (7) ; net "vcc" : (14) ; pin (a,y) ; 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 74hc04pg : mainpart default so14, tssop14, dil14 { newattr "$comment" = "Hex Inverter" ; newattr "$commentge" = "Sechsfach Inverter" ; newattr "$type" = "74HC04" ; newattr "$manufacturer" = "Texas Instruments, Philips" ; pin (a,y) ; 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 "74hc04pg_sup" : subpart 74hc04pg { pin (vcc,vss); xlat (vcc,vss) to (14,7); } part 74hc14 : default so14,dil14 { newattr "$comment" = "Hex Schmitt Trigger" ; net "vss" : (7) ; net "vcc" : (14) ; pin (a,y) ; 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 74hc27 : default so14,dil14 { newattr "$comment" = "Triple 2 Input NOR Gate" ; net "vss" : (7) ; net "vcc" : (14) ; pin (a,b,c,y) ; 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 74hc93 : default so14,dil14 { newattr "$comment" = "4 Bit Binary Counter" ; net "vss" : (10) ; net "vcc" : (5) ; pin (r01,r02,a,qa,b,qb,qc,qd) ; xlat (r01,r02, a,qa,b,qb,qc,qd) to ( 2, 3,14,12,1, 9, 8,11) ; swap internal ( (( 2, 3)) ) ; } part 74hc132 : default so14,dil14 { newattr "$comment" = "Quad 2 Input Schmitt Trigger" ; net "vss" : (7) ; net "vcc" : (14) ; pin (a,b,y) ; 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 74hc138 : default so16,dil16 { newattr "$comment" = "3 of 8 Decoder" ; net "vss" : (8) ; net "vcc" : (16) ; pin (a,b,c,g1,/g2a,/g2b,y0,y1,y2,y3,y4,y5,y6,y7) ; xlat (a,b,c,g1,/g2a,/g2b,y0,y1,y2,y3,y4,y5,y6,y7) to (1,2,3, 6, 4, 5,15,14,13,12,11,10, 9, 7) ; swap internal ( (( 4, 5)) ) ; } part 74hc244 : default so20,dil20 { newattr "$comment" = "Octal Driver noninverting" ; net "vss" : (10) ; net "vcc" : (20) ; pin (/g,a1,y1,a2,y2,a3,y3,a4,y4) ; xlat (/g,a1,y1,a2,y2,a3,y3,a4,y4) to ( 1, 2,18, 4,16, 6,14, 8,12) or (19,11, 9,13, 7,15, 5,17, 3) ; swap ( [ 1, ( 2,18), ( 4,16), ( 6,14), ( 8,12) ], [ 19, (11, 9), (13, 7), (15, 5), (17, 3) ] ) ; } part 74hc273 : default so20,dil20 { newattr "$comment" = "Octal D-Flip-Flop" ; net "vss" : (10) ; net "vcc" : (20) ; pin (/clr,clk,1d,1q,2d,2q,3d,3q,4d,4q,5d,5q,6d,6q,7d,7q,8d,8q) ; xlat (/clr,clk,1d,1q,2d,2q,3d,3q,4d,4q,5d,5q,6d,6q,7d,7q,8d,8q) to ( 1, 11, 3, 2, 4, 5, 7, 6, 8, 9,13,12,14,15,17,16,18,19) ; swap ( [ 1,11, ( 3, 2), ( 4, 5), ( 7, 6), ( 8, 9), (13,12), (14,15), (17,16), (18,19) ] ) ; } part 74hc373 : default so20,dil20 { newattr "$comment" = "Octal D-Type Transparent Latch and FF" ; net "vss" : (10) ; net "vcc" : (20) ; pin (/oc,c,1d,1q,2d,2q,3d,3q,4d,4q,5d,5q,6d,6q,7d,7q,8d,8q) ; xlat (/oc, c,1d,1q,2d,2q,3d,3q,4d,4q,5d,5q,6d,6q,7d,7q,8d,8q) to ( 1,11, 3, 2, 4, 5, 7, 6, 8, 9,13,12,14,15,17,16,18,19) ; swap ( [ 1,11, ( 3, 2), ( 4, 5), ( 7, 6), ( 8, 9), (13,12), (14,15), (17,16), (18,19) ] ) ; } part 74hc595 : default so16,dil16 { newattr "$comment" = "8 Bit Shift Register, Output Register" ; newattr "$commentge" = "8 Bit Schieberegister, Ausgangsregister" ; newattr "$type" = "74HC595" ; newattr "$manufacturer" = "Texas Instruments, Philips" ; pin (/g,rck,/sclr,sck,ser,qa,qb,qc,qd,qe,qf,qg,qh,"qh'") ; net "vss" : (8) ; net "vcc" : (16) ; xlat (/g,rck,/sclr,sck,ser,qa,qb,qc,qd,qe,qf,qg,qh,"qh'") to (13, 12, 10, 11, 14,15, 1, 2, 3, 4, 5, 6, 7, 9) ; } part 74hc595pg : default so16,dil16 { newattr "$comment" = "8 Bit Shift Register, Output Register" ; newattr "$commentge" = "8 Bit Schieberegister, Ausgangsregister" ; newattr "$type" = "74HC595" ; newattr "$manufacturer" = "Texas Instruments, Philips" ; pin (/g,rck,/sclr,sck,ser,qa,qb,qc,qd,qe,qf,qg,qh,"qh'") ; net "$gndnet" : (8) ; net "$pownet" : (16) ; xlat (/g,rck,/sclr,sck,ser,qa,qb,qc,qd,qe,qf,qg,qh,"qh'") to (13, 12, 10, 11, 14,15, 1, 2, 3, 4, 5, 6, 7, 9) ; } /*______________________________________________________________*/ /* Logical Library definition file end */ end.