loglib /*______________________________________________________________*/ /* */ /* LOG Library : passiv.def */ /* SCM Library : passiv.ddb */ /* */ /* Author : Bartels System, Kloeckner-Moeller */ /* Last Revision: 2009/12/18 */ /*______________________________________________________________*/ /* */ /* This library includes definitions for the following commonly */ /* used passive device types: */ /* */ /* - Capacitors (c*) */ /* - Electrolytic Capacitors (ce*) */ /* - Resistors (r*) */ /* - Varistors (rvdr*) */ /* - NTC Resistors (rntc*) */ /* - PTC Resistors (rptc*) */ /* - Fuses (f*) */ /* - Inductors (l*) */ /* - Transformers (tf*) */ /* - Filters */ /* - Throttles */ /* - Relays (rel*) */ /* - Switches (sw*) */ /* */ /* NOTE: */ /* */ /* Part translations to Layout Package named "nospec" denote */ /* assignment to template package instead of correct package */ /* due to missing Layout Library definitions. */ /*______________________________________________________________*/ /*______________________________________________________________*/ /* Capacitors / Kondensatoren */ /* Non-Polarised Capacitors / Kondensatoren ungepolt */ part c_ : nospec { newattr "$comment" = "Capacitor" ; newattr "$commentge" = "Kondensator" ; pin (1,2) ; swap internal ( ((1,2)) ) ; } part c : default s0805 { newattr "$comment" = "Capacitor" ; newattr "$commentge" = "Kondensator" ; pin (1,2) ; swap internal ( ((1,2)) ) ; } part cap : default cap50 { newattr "$comment" = "Capacitor" ; newattr "$commentge" = "Kondensator" ; pin (1,2) ; swap internal ( ((1,2)) ) ; } /* Polarised Electrolytic Capacitors / Elektrolyt-Kondensatoren gepolt */ part ce_ : nospec { newattr "$comment" = "Electrolytic Capacitor polarised" ; newattr "$commentge" = "Elektrolytkondensator gepolt" ; pin (p,n) ; } part ce : default e01c36 { newattr "$comment" = "Electrolytic Capacitor polarised" ; newattr "$commentge" = "Elektrolytkondensator gepolt" ; pin (p,n) ; } part elko : default delk0b { newattr "$comment" = "Electrolytic Capacitor polarised" ; newattr "$commentge" = "Elektrolytkondensator gepolt" ; pin (1,2) ; } /* Non-Polarised Electrolytic Capacitors */ /* Elektrolyt-Kondensatoren ungepolt */ part ceu_ : nospec { newattr "$comment" = "Electrolytic Capacitor non-polarised" ; newattr "$commentge" = "Elektrolytkondensator ungepolt" ; pin (1,2) ; swap internal ( ((1,2)) ) ; } /* Variable Capacitors / Stell-Kondensator */ part cs_ : nospec { newattr "$comment" = "Capacitor variable" ; newattr "$commentge" = "Stell-Kondensator" ; pin (1,2) ; swap internal ( ((1,2)) ) ; } part cs_vari : default s1210p { pin (a,c) ; xlat (a,c) to (p,n) ; } part c_varicap : default sot23 { pin (a,c) ; xlat (a,c) to (2,3) ; } /* Preset Capacitors/ Trimm-Kondensatoren */ part ct_ : nospec { newattr "$comment" = "Capacitor preset" ; newattr "$commentge" = "Trimm-Kondensator" ; pin (1,2) ; swap internal ( ((1,2)) ) ; } part ct_01 : ct01 { newattr "$comment" = "Capacitor differential preset" ; newattr "$commentge" = "Differenz-Trimm-Kondensator" ; pin (1,2,3) ; swap internal ( ((1,3)) ) ; } part ct01 : ct01 { newattr "$comment" = "Capacitor differential preset" ; newattr "$commentge" = "Differenz-Trimm-Kondensator" ; pin (1,2,3) ; swap ( ((1,3)) ) ; } part ctrim : default trk01 { newattr "$comment" = "Capacitor preset" ; newattr "$commentge" = "Trimm-Kondensator" ; pin (1,2) ; swap internal ( ((1,2)) ) ; swap internal ( ((1x,2x)) ) ; net internal : (1,1x) ; net internal : (2,2x) ; } /* SIL Capacitor Networks / Kondensatornetzwerke im SIL Gehaeuse */ part cn_sil8 : sil8 { newattr "$comment" = "Capacitor Network" ; newattr "$commentge" = "Kondensator-Netzwerk" ; newattr "$type" = "SIL8" ; pin ( a,c1,c2,c3,c4,c5,c6,c7) ; xlat ( a) to ( 1) ; xlat ( c1,c2,c3,c4,c5,c6,c7) to ( 2, 3, 4, 5, 6, 7, 8) ; swap internal ( ( 1,( 2, 3, 4, 5, 6, 7, 8)) ) ; } part cn_sil9 : sil9 { newattr "$comment" = "Capacitor Network" ; newattr "$commentge" = "Kondensator-Netzwerk" ; newattr "$type" = "SIL9" ; pin ( a,c1,c2,c3,c4,c5,c6,c7,c8) ; xlat ( a) to ( 1) ; xlat ( c1,c2,c3,c4,c5,c6,c7,c8) to ( 2, 3, 4, 5, 6, 7, 8, 9) ; swap internal ( ( 1,( 2, 3, 4, 5, 6, 7, 8, 9)) ) ; } /*______________________________________________________________*/ /* Resistors / Widerstaende */ part r_ : nospec { newattr "$comment" = "Resistor" ; newattr "$commentge" = "Widerstand" ; pin (1,2) ; swap internal ( ((1,2)) ) ; } part r : default s0805 { newattr "$comment" = "Resistor" ; newattr "$commentge" = "Widerstand" ; pin (1,2) ; swap internal ( ((1,2)) ) ; } part r_d : default s1206 { newattr "$comment" = "Resistor" ; newattr "$commentge" = "Widerstand" ; pin (1,2) ; swap internal ( ((1,2)) ) ; } part res : default res { newattr "$comment" = "Resistor" ; newattr "$commentge" = "Widerstand" ; pin (1,2) ; swap internal ( ((1,2)) ) ; } part ro_ : default nospec { newattr "$comment" = "Resistor" ; newattr "$commentge" = "Widerstand" ; pin (1,2) ; swap internal ( ((1,2)) ) ; } part rpo_ : default nospec { newattr "$comment" = "Resistor variable pot" ; newattr "$commentge" = "Widerstand variabel" ; pin (1,2,w) ; } part rla : fbr20 ; part r_4pol : default isa_pbv1s { newattr "$comment" = "Four Wire Resistor" ; newattr "$commentge" = "Widerstand mit Vierleiter-Anschluss" ; pin (1,2,3,4); swap ( (1,2), (4,3) ); } /* Potentiometers / Stell-Widerstaende (Potentiometer) */ part rs_ : nospec { newattr "$comment" = "Resistor variable pot" ; newattr "$commentge" = "Stell-Widerstand" ; pin (a,e) ; swap internal ( (( a, e)) ) ; } /* Potentiometers / Poti-Widerstaende */ part rp_ : nospec { newattr "$comment" = "Resistor variable pot" ; newattr "$commentge" = "Poti-Widerstand" ; pin (a,e,s) ; } part potl : default pot0l { newattr "$comment" = "Resistor preset pot" ; newattr "$commentge" = "Poti-Widerstand" ; pin (1,2,3) ; } part pots : default pot1s { newattr "$comment" = "Resistor preset pot" ; newattr "$commentge" = "Poti-Widerstand" ; pin (1,2,3) ; } part spin : default spin0 { newattr "$comment" = "Resistor preset pot" ; newattr "$commentge" = "Poti-Widerstand" ; pin (1,2,3) ; } /* Preset Resistors / Trimm-Widerstaende */ part rt_ : nospec { newattr "$comment" = "Resistor preset" ; newattr "$commentge" = "Trimm-Widerstand" ; pin (a,e) ; swap internal ( (( a, e)) ) ; } /* Preset Pot Resistors / Trimmpoti-Widerstaende */ part rtp_ : nospec { newattr "$comment" = "Resistor preset pot" ; newattr "$commentge" = "Trimmpoti-Widerstand" ; pin (a,e,s) ; } part rtp : default rtp06 { newattr "$comment" = "Resistor preset pot" ; newattr "$commentge" = "Trimmpoti-Widerstand" ; pin (a,e,s) ; } part rtp_09 : rtp09 { newattr "$comment" = "Resistor preset pot" ; newattr "$commentge" = "Trimmpoti-Widerstand" ; pin ( a, e, s, z,m1,m2) ; swap internal ( ((m1,m2)) ) ; } part trimpot : default rtp01 { newattr "$comment" = "Resistor preset pot" ; newattr "$commentge" = "Trimmpoti-Widerstand" ; pin (1,2,3) ; xlat (1,2,3) to (a,s,e) ; } /* Coax Line Terminators / Koax-Abschlusswiderstaende */ part coaxres : default coaxres14 { newattr "$comment" = "Coax Line Terminator" ; newattr "$commentge" = "Koax-Abschlusswiderstand" ; pin(r,s); } /*___________________________________________________________*/ /* SO Resistor Arrays */ part ra_so16 : so16r { newattr "$comment" = "Resistor Array" ; newattr "$commentge" = "Widerstands-Array" ; newattr "$type" = "SO16" ; pin (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16) ; swap internal ( (( 1,16)),(( 2,15)),(( 3,14)),(( 4,13)), (( 5,12)),(( 6,11)),(( 7,10)),(( 8, 9)) ) ; } part ra15_so16 : so16r { newattr "$comment" = "15 Element Resistor Array"; newattr "$commentge" = "15 Element Widerstandsnetzwerk" ; newattr "$manufacturer" = "Bourns" ; pin (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16); swap internal ( ((1,2,3,4,5,6,7,8,9,10,11,12,13,14,15),16) ); } part ra4_s1206 : a_s1206 { newattr "$comment" = "4 Element Resistor Array"; newattr "$commentge" = "4 Element Widerstandsnetzwerk" ; newattr "$manufacturer" = "Bourns" ; pin (1,2,3,4,5,6,7,8); swap internal ( ((1,8)), ((2,7)), ((3,6)), ((4,5)) ); } /* SIL Resistor Networks / Widerstandsnetzwerke im SIL Gehaeuse */ part rn_sil3 : sil3 { newattr "$comment" = "Resistor Network" ; newattr "$commentge" = "Widerstandsnetzwerk" ; newattr "$type" = "SIL3" ; pin ( a,r1,r2) ; xlat ( a) to ( 1) ; xlat ( r1,r2) to ( 2, 3) ; swap internal ( ( 1,( 2, 3)) ) ; } part rn_sil4 : sil4 { newattr "$comment" = "Resistor Network" ; newattr "$commentge" = "Widerstandsnetzwerk" ; newattr "$type" = "SIL4" ; pin ( a,r1,r2,r3) ; xlat ( a) to ( 1) ; xlat ( r1,r2,r3) to ( 2, 3, 4) ; swap internal ( ( 1,( 2, 3, 4)) ) ; } part rn_sil5 : sil5 { newattr "$comment" = "Resistor Network" ; newattr "$commentge" = "Widerstandsnetzwerk" ; newattr "$type" = "SIL5" ; pin ( a,r1,r2,r3,r4) ; xlat ( a) to ( 1) ; xlat ( r1,r2,r3,r4) to ( 2, 3, 4, 5) ; swap internal ( ( 1,( 2, 3, 4, 5)) ) ; } part rn_sil6 : sil6 { newattr "$comment" = "Resistor Network" ; newattr "$commentge" = "Widerstandsnetzwerk" ; newattr "$type" = "SIL6" ; pin ( a,r1,r2,r3,r4,r5) ; xlat ( a) to ( 1) ; xlat ( r1,r2,r3,r4,r5) to ( 2, 3, 4, 5, 6) ; swap internal ( ( 1,( 2, 3, 4, 5, 6)) ) ; } part rn_sil7 : sil7 { newattr "$comment" = "Resistor Network" ; newattr "$commentge" = "Widerstandsnetzwerk" ; newattr "$type" = "SIL7" ; pin ( a,r1,r2,r3,r4,r5,r6) ; xlat ( a) to ( 1) ; xlat ( r1,r2,r3,r4,r5,r6) to ( 2, 3, 4, 5, 6, 7) ; swap internal ( ( 1,( 2, 3, 4, 5, 6, 7)) ) ; } part rn_sil8 : sil8 { newattr "$comment" = "Resistor Network" ; newattr "$commentge" = "Widerstandsnetzwerk" ; newattr "$type" = "SIL8" ; pin ( a,r1,r2,r3,r4,r5,r6,r7) ; xlat ( a) to ( 1) ; xlat ( r1,r2,r3,r4,r5,r6,r7) to ( 2, 3, 4, 5, 6, 7, 8) ; swap internal ( ( 1,( 2, 3, 4, 5, 6, 7, 8)) ) ; } part rn_sil9 : sil9 { newattr "$comment" = "Resistor Network" ; newattr "$commentge" = "Widerstandsnetzwerk" ; newattr "$type" = "SIL9" ; pin ( a,r1,r2,r3,r4,r5,r6,r7,r8) ; xlat ( a) to ( 1) ; xlat ( r1,r2,r3,r4,r5,r6,r7,r8) to ( 2, 3, 4, 5, 6, 7, 8, 9) ; swap internal ( ( 1,( 2, 3, 4, 5, 6, 7, 8, 9)) ) ; } part rn_sil10 : sil10 { newattr "$comment" = "Resistor Network" ; newattr "$commentge" = "Widerstandsnetzwerk" ; newattr "$type" = "SIL10" ; pin ( a,r1,r2,r3,r4,r5,r6,r7,r8,r9) ; xlat ( a) to ( 1) ; xlat ( r1,r2,r3,r4,r5,r6,r7,r8,r9) to ( 2, 3, 4, 5, 6, 7, 8, 9,10) ; swap internal ( ( 1,( 2, 3, 4, 5, 6, 7, 8, 9,10)) ) ; } part rn_sil11 : sil11 { newattr "$comment" = "Resistor Network" ; newattr "$commentge" = "Widerstandsnetzwerk" ; newattr "$type" = "SIL11" ; pin ( a,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10) ; xlat ( a) to ( 1) ; xlat ( r1,r2,r3,r4,r5,r6,r7,r8,r9,r10) to ( 2, 3, 4, 5, 6, 7, 8, 9,10,11) ; swap internal ( ( 1,( 2, 3, 4, 5, 6, 7, 8, 9,10,11)) ) ; } /* SIL Resistor Arrays / Widerstands-Arrays im SIL Gehaeuse */ part array5 : default sil6 { newattr "$comment" = "Resistor Array" ; newattr "$commentge" = "Widerstands-Array" ; newattr "$type" = "Array 5 / SIL6" ; pin (a,r1,r2,r3,r4,r5) ; xlat ( a,r1,r2,r3,r4,r5) to ( 1, 2, 3, 4, 5, 6) ; swap internal ( (2), (3), (4), (5), (6) ) ; } part array7 : default sil8 { newattr "$comment" = "Resistor Array" ; newattr "$commentge" = "Widerstands-Array" ; newattr "$type" = "Array 7 / SIL8" ; pin (a,r1,r2,r3,r4,r5,r6,r7) ; xlat ( a,r1,r2,r3,r4,r5,r6,r7) to ( 1, 2, 3, 4, 5, 6, 7, 8) ; swap internal ( (2), (3), (4), (5), (6), (7), (8) ) ; } part array8 : default sil10 { newattr "$comment" = "Resistor Array" ; newattr "$commentge" = "Widerstands-Array" ; newattr "$type" = "Array 8 / SIL10" ; pin (a,r1,r2,r3,r4,r5,r6,r7,r8) ; xlat ( a,r1,r2,r3,r4,r5,r6,r7,r8) to ( 1, 2, 3, 4, 5, 6, 7, 8, 9) ; swap internal ( (2), (3), (4), (5), (6), (7), (8), (9) ) ; } part array9 : default sil10 { newattr "$comment" = "Resistor Array" ; newattr "$commentge" = "Widerstands-Array" ; newattr "$type" = "Array 9 / SIL10" ; pin (a,r1,r2,r3,r4,r5,r6,r7,r8,r9) ; xlat ( a,r1,r2,r3,r4,r5,r6,r7,r8,r9) to ( 1, 2, 3, 4, 5, 6, 7, 8, 9,10) ; swap internal ( (2), (3), (4), (5), (6), (7), (8), (9), (10) ) ; } part ra_sil4 : sil4 { newattr "$comment" = "Resistor Array" ; newattr "$commentge" = "Widerstands-Array" ; newattr "$type" = "SIL4" ; pin (1,2,3,4) ; swap internal ( (( 1, 2)), (( 3, 4)) ) ; } part ra_sil4pp : sil4 { newattr "$comment" = "Resistor Array" ; newattr "$commentge" = "Widerstands-Array" ; newattr "$type" = "SIL4" ; newattr "$val" = "!unique!" ; pin (1,2) ; xlat ( 1, 2) to ( 1, 2) or ( 3, 4) ; swap internal ( (( 1, 2)),(( 3, 4)) ) ; } part ra_sil6 : sil6 { newattr "$comment" = "Resistor Array" ; newattr "$commentge" = "Widerstands-Array" ; newattr "$type" = "SIL6" ; pin (1,2,3,4,5,6) ; swap internal ( (( 1, 2)),(( 3, 4)),(( 5, 6)) ) ; } part ra_sil6pp : sil6 { newattr "$comment" = "Resistor Array" ; newattr "$commentge" = "Widerstands-Array" ; newattr "$type" = "SIL6" ; newattr "$val" = "!unique!" ; pin (1,2) ; xlat ( 1, 2) to ( 1, 2) or ( 3, 4) or ( 5, 6) ; swap internal ( (( 1, 2)),(( 3, 4)),(( 5, 6)) ) ; } part ra_sil8 : sil8 { newattr "$comment" = "Resistor Array" ; newattr "$commentge" = "Widerstands-Array" ; newattr "$type" = "SIL8" ; pin (1,2,3,4,5,6,7,8) ; swap internal ( (( 1, 2)),(( 3, 4)),(( 5, 6)),(( 7, 8)) ) ; } part ra_sil8pp : sil8 { newattr "$comment" = "Resistor Array" ; newattr "$commentge" = "Widerstands-Array" ; newattr "$type" = "SIL8" ; newattr "$val" = "!unique!" ; pin (1,2) ; xlat ( 1, 2) to ( 1, 2) or ( 3, 4) or ( 5, 6) or ( 7, 8) ; swap internal ( (( 1, 2)),(( 3, 4)),(( 5, 6)),(( 7, 8)) ) ; } part ra_sil10 : sil10 { newattr "$comment" = "Resistor Array" ; newattr "$commentge" = "Widerstands-Array" ; newattr "$type" = "SIL10" ; pin (1,2,3,4,5,6,7,8,9,10) ; swap internal ( (( 1, 2)),(( 3, 4)),(( 5, 6)),(( 7, 8)),(( 9,10)) ) ; } part ra_sil10pp : sil10 { newattr "$comment" = "Resistor Array" ; newattr "$commentge" = "Widerstands-Array" ; newattr "$type" = "SIL10" ; newattr "$val" = "!unique!" ; pin (1,2) ; xlat ( 1, 2) to ( 1, 2) or ( 3, 4) or ( 5, 6) or ( 7, 8) or ( 9,10) ; swap internal ( (( 1, 2)),(( 3, 4)),(( 5, 6)),(( 7, 8)),(( 9,10)) ) ; } /* DIL Resistor Arrays / Widerstands-Arrays im DIL Gehaeuse */ part ra_dil4 : dil4 { newattr "$comment" = "Resistor Array" ; newattr "$commentge" = "Widerstands-Array" ; newattr "$type" = "DIL4" ; pin (1,2,3,4) ; swap internal ( (( 1, 4)),(( 2, 3)) ) ; } part ra_dil4pp : dil4 { newattr "$comment" = "Resistor Array" ; newattr "$commentge" = "Widerstands-Array" ; newattr "$type" = "DIL4" ; newattr "$val" = "!unique!" ; pin (1,2) ; xlat ( 1, 2) to ( 1, 4) or ( 2, 3) ; swap internal ( (( 1, 4)),(( 2, 3)) ) ; } part ra_dil6 : dil6 { newattr "$comment" = "Resistor Array" ; newattr "$commentge" = "Widerstands-Array" ; newattr "$type" = "DIL6" ; pin (1,2,3,4,5,6) ; swap internal ( (( 1, 6)),(( 2, 5)),(( 3, 4)) ) ; } part ra_dil6pp : dil6 { newattr "$comment" = "Resistor Array" ; newattr "$commentge" = "Widerstands-Array" ; newattr "$type" = "DIL6" ; newattr "$val" = "!unique!" ; pin (1,2) ; xlat ( 1, 2) to ( 1, 6) or ( 2, 5) or ( 3, 4) ; swap internal ( (( 1, 6)),(( 2, 5)),(( 3, 4)) ) ; } part ra_dil8 : dil8 { newattr "$comment" = "Resistor Array" ; newattr "$commentge" = "Widerstands-Array" ; newattr "$type" = "DIL8" ; pin (1,2,3,4,5,6,7,8) ; swap internal ( (( 1, 8)),(( 2, 7)),(( 3, 6)),(( 4, 5)) ) ; } part ra_dil8pp : dil8 { newattr "$comment" = "Resistor Array" ; newattr "$commentge" = "Widerstands-Array" ; newattr "$type" = "DIL8" ; newattr "$val" = "!unique!" ; pin (1,2) ; xlat ( 1, 2) to ( 1, 8) or ( 2, 7) or ( 3, 6) or ( 4, 5) ; swap internal ( (( 1, 8)),(( 2, 7)),(( 3, 6)),(( 4, 5)) ) ; } part ra_dil10 : dil10 { newattr "$comment" = "Resistor Array" ; newattr "$commentge" = "Widerstands-Array" ; newattr "$type" = "DIL10" ; pin (1,2,3,4,5,6,7,8,9,10) ; swap internal ( (( 1,10)),(( 2, 9)),(( 3, 8)),(( 4, 7)),(( 5, 6)) ) ; } part ra_dil10pp : dil10 { newattr "$comment" = "Resistor Array" ; newattr "$commentge" = "Widerstands-Array" ; newattr "$type" = "DIL10" ; newattr "$val" = "!unique!" ; pin (1,2) ; xlat ( 1, 2) to ( 1,10) or ( 2, 9) or ( 3, 8) or ( 4, 7) or ( 5, 6) ; swap internal ( (( 1,10)),(( 2, 9)),(( 3, 8)),(( 4, 7)),(( 5, 6)) ) ; } part ra_dil12 : dil12 { newattr "$comment" = "Resistor Array" ; newattr "$commentge" = "Widerstands-Array" ; newattr "$type" = "DIL12" ; pin (1,2,3,4,5,6,7,8,9,10,11,12) ; swap internal ( (( 1,12)),(( 2,11)),(( 3,10)), (( 4, 9)),(( 5, 8)),(( 6, 7)) ) ; } part ra_dil12pp : dil12 { newattr "$comment" = "Resistor Array" ; newattr "$commentge" = "Widerstands-Array" ; newattr "$type" = "DIL12" ; newattr "$val" = "!unique!" ; pin (1,2) ; xlat ( 1, 2) to ( 1,12) or ( 2,11) or ( 3,10) or ( 4, 9) or ( 5, 8) or ( 6, 7) ; swap internal ( (( 1,12)),(( 2,11)),(( 3,10)), (( 4, 9)),(( 5, 8)),(( 6, 7)) ) ; } part ra_dil14 : dil14 { newattr "$comment" = "Resistor Array" ; newattr "$commentge" = "Widerstands-Array" ; newattr "$type" = "DIL14" ; pin (1,2,3,4,5,6,7,8,9,10,11,12,13,14) ; swap internal ( (( 1,14)),(( 2,13)),(( 3,12)),(( 4,11)), (( 5,10)),(( 6, 9)),(( 7, 8)) ) ; } part ra_dil14pp : dil14 { newattr "$comment" = "Resistor Array" ; newattr "$commentge" = "Widerstands-Array" ; newattr "$type" = "DIL14" ; newattr "$val" = "!unique!" ; pin (1,2) ; xlat ( 1, 2) to ( 1,14) or ( 2,13) or ( 3,12) or ( 4,11) or ( 5,10) or ( 6, 9) or ( 7, 8) ; swap internal ( (( 1,14)),(( 2,13)),(( 3,12)),(( 4,11)), (( 5,10)),(( 6, 9)),(( 7, 8)) ) ; } part ra_dil16 : dil16 { newattr "$comment" = "Resistor Array" ; newattr "$commentge" = "Widerstands-Array" ; newattr "$type" = "DIL16" ; pin (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16) ; swap internal ( (( 1,16)),(( 2,15)),(( 3,14)),(( 4,13)), (( 5,12)),(( 6,11)),(( 7,10)),(( 8, 9)) ) ; } part ra_dil16pp : dil16 { newattr "$comment" = "Resistor Array" ; newattr "$commentge" = "Widerstands-Array" ; newattr "$type" = "DIL16" ; newattr "$val" = "!unique!" ; pin (1,2) ; xlat ( 1, 2) to ( 1,16) or ( 2,15) or ( 3,14) or ( 4,13) or ( 5,12) or ( 6,11) or ( 7,10) or ( 8, 9) ; swap internal ( (( 1,16)),(( 2,15)),(( 3,14)),(( 4,13)), (( 5,12)),(( 6,11)),(( 7,10)),(( 8, 9)) ) ; } part ra_dil18 : dil18 { newattr "$comment" = "Resistor Array" ; newattr "$commentge" = "Widerstands-Array" ; newattr "$type" = "DIL18" ; pin (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18) ; swap internal ( (( 1,18)),(( 2,17)),(( 3,16)),(( 4,15)),(( 5,14)), (( 6,13)),(( 7,12)),(( 8,11)),(( 9,10)) ) ; } part ra_dil18pp : dil18 { newattr "$comment" = "Resistor Array" ; newattr "$commentge" = "Widerstands-Array" ; newattr "$type" = "DIL18" ; newattr "$val" = "!unique!" ; pin (1,2) ; xlat ( 1, 2) to ( 1,18) or ( 2,17) or ( 3,16) or ( 4,15) or ( 5,14) or ( 6,13) or ( 7,12) or ( 8,11) or ( 9,10) ; swap internal ( (( 1,18)),(( 2,17)),(( 3,16)),(( 4,15)),(( 5,14)), (( 6,13)),(( 7,12)),(( 8,11)),(( 9,10)) ) ; } part ra_dil20 : dil20 { newattr "$comment" = "Resistor Array" ; newattr "$commentge" = "Widerstands-Array" ; newattr "$type" = "DIL20" ; pin (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20) ; swap internal ( (( 1,20)),(( 2,19)),(( 3,18)),(( 4,17)),(( 5,16)), (( 6,15)),(( 7,14)),(( 8,13)),(( 9,12)),((10,11)) ) ; } part ra_dil20pp : dil20 { newattr "$comment" = "Resistor Array" ; newattr "$commentge" = "Widerstands-Array" ; newattr "$type" = "DIL20" ; newattr "$val" = "!unique!" ; pin (1,2) ; xlat ( 1, 2) to ( 1,20) or ( 2,19) or ( 3,18) or ( 4,17) or ( 5,16) or ( 6,15) or ( 7,14) or ( 8,13) or ( 9,12) or (10,11) ; swap internal ( (( 1,20)),(( 2,19)),(( 3,18)),(( 4,17)),(( 5,16)), (( 6,15)),(( 7,14)),(( 8,13)),(( 9,12)),((10,11)) ) ; } /* VDR Voltage Dependant Resistor (Varistor) */ /* VDR-Widerstand (Varistor) */ part rvdr_ : nospec { newattr "$comment" = "VDR Resistor / Varistor" ; newattr "$commentge" = "VDR-Widerstand / Varistor" ; pin (1,2) ; swap internal ( (( 1, 2)) ) ; } /* NTC (Negative Temperature Coefficient) Resistor */ /* NTC-Widerstand (Heissleiter) */ part rntc_ : nospec { newattr "$comment" = "NTC Resistor" ; newattr "$commentge" = "NTC-Widerstand / Heissleiter" ; pin (1,2) ; swap internal ( (( 1, 2)) ) ; } /* PTC (Positive Temperature Coefficient) Resistor */ /* PTC-Widerstand (Kaltleiter) */ part rptc_ : nospec { newattr "$comment" = "PTC Resistor" ; newattr "$commentge" = "PTC-Widerstand / Kaltleiter" ; pin (1,2) ; swap internal ( (( 1, 2)) ) ; } /*______________________________________________________________*/ /* Fuses / Sicherungen */ part f_ : nospec { newattr "$comment" = "Fuse" ; newattr "$commentge" = "Sicherung" ; pin (1,2) ; swap internal ( (( 1, 2)) ) ; } part f : default f_lp5x20l2 { newattr "$comment" = "Fuse" ; newattr "$commentge" = "Sicherung" ; pin (1,2) ; swap internal ( (( 1, 2)) ) ; } part fuse : default f_omf63 { newattr "$comment" = "Fuse" ; newattr "$commentge" = "Sicherung" ; pin (1,2) ; swap internal ( ((1,2)) ) ; } /*______________________________________________________________*/ /* Inductors / Induktivitaeten (Spulen) */ /* Inductors without Ferite Core / Induktivitaeten ohne Eisenkern */ part l_ : nospec { newattr "$comment" = "Inductor without Ferite Core" ; newattr "$commentge" = "Induktivitaet ohne Eisenkern" ; pin (a,e) ; } part l : default induct { newattr "$comment" = "Inductor without Ferite Core" ; newattr "$commentge" = "Induktivitaet ohne Eisenkern" ; pin (1,2) ; swap internal ( ((1,2)) ) ; } part lf : default c06r75 { newattr "$comment" = "Inductor without Ferite Core" ; newattr "$commentge" = "Induktivitaet ohne Eisenkern" ; pin (1,2) ; swap internal ( ((1,2)) ) ; } /* Inductors with Ferite Core / Induktivitaeten mit Eisenkern */ part le_ : nospec { newattr "$comment" = "Inductor with Ferite Core" ; newattr "$commentge" = "Induktivitaet mit Eisenkern" ; pin (a,e) ; } part let_ : nospec { newattr "$comment" = "Inductor with Ferite Core" ; newattr "$commentge" = "Induktivitaet mit Eisenkern" ; pin (a,e) ; } /* SMT Adjustable Coils */ part smf51coil : smf51coil { newattr "$comment" = "Neosid SMF 5.1 adjustable SMD coil" ; newattr "$commentge" = "Neosid SMF 5.1 abgleichbare SMD Spule" ; pin (1,3,s); swap internal ( (1,4),(3,5) ); net internal : (1,4) ; net internal : (3,5) ; } /*______________________________________________________________*/ /* Throttles / Drosseln */ /* Memory Throttles / Speicherdrosseln */ part l_zkb4182p : drzkb4182xx { newattr "$comment" = "Memory Throttle Linear parallel" ; newattr "$commentge" = "Lineare Speicherdrossel parallel" ; newattr "$type" = "418/2 B" ; newattr "$manufacturer" = "VAC Vacuumschmelze" ; pin (1,2) ; xlat (1,2) to (5,8) ; net internal : (5,2) ; net internal : (8,1) ; } /*______________________________________________________________*/ /* Filters / Filter */ part cerfilt : scerfilt { newattr "$comment" = "Filter" ; pin (i,o,g) ; xlat (i,o,g) to (1,2,3) ; } part cerfilt_d : dcerfilt { newattr "$comment" = "Filter" ; pin (i,o,g) ; xlat (i,o,g) to (1,3,2) ; } part cerfilt_s : scerfilt { newattr "$comment" = "Filter" ; pin (i,o,g) ; xlat (i,o,g) to (1,2,3) ; } part sawfilt : default sil5 { newattr "$comment" = "Filter" ; pin (i,ig,g,o1,o2) ; xlat ( i,ig, g,o1,o2) to ( 1, 2, 3, 4, 5) ; } part quaddet : default nospec { newattr "$comment" = "Filter" ; pin (1,2,g) ; } /*______________________________________________________________*/ /* EMI Filters */ part nfm3pol : nfm3pol { newattr "$comment" = "NFMx 3 pin EMI Filter"; newattr "$commentge" = "NFMx 3 poliges EMV Filter" ; pin (1,2,3); } /*______________________________________________________________*/ /* EMC Ferrites */ part l_ferrit : default s1206 { newattr "$comment"="EMC Ferrite"; newattr "$commentge"="EMV Ferrit"; pin (1,2); swap internal (((1,2))); } /*______________________________________________________________*/ /* Transformers / Transformatoren (Uebertrager) */ part tf_cwc9000 : cwc900x { newattr "$comment" = "Transformer / Telecommunication"; newattr "$commentge" = "Transformator / Telekommunikation"; newattr "$type" = "CWC9000"; pin (1,3,4,6); } part tf_cwc9002 : cwc900x { newattr "$comment" = "Transformer / Telecommunication"; newattr "$commentge" = "Transformator / Telekommunikation"; newattr "$type" = "CWC9002"; pin (1,3,4,6); } part tf_cwc9003 : cwc9003 { newattr "$comment" = "Transformer / Telecommunication"; newattr "$commentge" = "Transformator / Telekommunikation"; newattr "$type" = "CWC9003"; pin (1,3,4,6); } part tf_cwc9004 : cwc900x { newattr "$comment" = "Transformer / Telecommunication"; newattr "$commentge" = "Transformator / Telekommunikation"; newattr "$type" = "CWC9004"; pin (1,3,4,6); } part tf_1p1s : default tf_spn_2va4 { newattr "$comment" = "Transformer (1 Prim./1 Sec.)" ; newattr "$commentge" = "Transformator (1 Prim./1 Sek.)" ; pin (pa,pe,sa,se) ; } part tf_1p2s : default tf_spn2s_2va4 { newattr "$comment" = "Transformer (1 Prim./2 Sec.)" ; newattr "$commentge" = "Transformator (1 Prim./2 Sek.)" ; pin (pa,pe,s1a,s1e,s2a,s2e) ; } part tf_2p2s : default tf_block_flx1 { newattr "$comment" = "Transformer (2 Prim./2 Sec.)" ; newattr "$commentge" = "Transformator (2 Prim./2 Sek.)" ; pin (p1a,p1e,p2a,p2e,s1a,s1e,s2a,s2e) ; } part trafo3va : default trafo3va { newattr "$comment" = "Transformer" ; newattr "$commentge" = "Transformator" ; pin (prima1,prima2,primb1,primb2,secc1,secc2,secd1,secd2) ; xlat (prima1,prima2,primb1,primb2,secc1,secc2,secd1,secd2) to ( 1, 2, 3, 4, 5, 6, 7, 8) ; } part trafo3vad : default trafo7vad { newattr "$comment" = "Transformer" ; newattr "$commentge" = "Transformator" ; pin (prima1,prima2,primb1,primb2, secc1, secc2, secd1, secd2, sece1, sece2, secf1, secf2) ; xlat (prima1,prima2,primb1,primb2, secc1, secc2, secd1, secd2, sece1, sece2, secf1, secf2) to ( 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12) ; } part trafo7va : default trafo7va { newattr "$comment" = "Transformer" ; newattr "$commentge" = "Transformator" ; pin (prima1,prima2,primb1,primb2,secc1,secc2,secd1,secd2) ; xlat (prima1,prima2,primb1,primb2,secc1,secc2,secd1,secd2) to ( 1, 2, 3, 4, 6, 7, 10, 11) ; } part trafo7vad : default trafo7vad { newattr "$comment" = "Transformer" ; newattr "$commentge" = "Transformator" ; pin (prima1,prima2,primb1,primb2, secc1, secc2, secd1, secd2, sece1, sece2, secf1, secf2) ; xlat (prima1,prima2,primb1,primb2, secc1, secc2, secd1, secd2, sece1, sece2, secf1, secf2) to ( 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12) ; } part trafo14va : default trafo14va { newattr "$comment" = "Transformer" ; newattr "$commentge" = "Transformator" ; pin (prima1,prima2,primb1,primb2,secc1,secc2,secd1,secd2) ; xlat (prima1,prima2,primb1,primb2,secc1,secc2,secd1,secd2) to ( 1, 2, 3, 4, 6, 7, 10, 11) ; } part trafo14vad : default trafo14vad { newattr "$comment" = "Transformer" ; newattr "$commentge" = "Transformator" ; pin (prima1,prima2,primb1,primb2, secc1, secc2, secd1, secd2, sece1, sece2, secf1, secf2) ; xlat (prima1,prima2,primb1,primb2, secc1, secc2, secd1, secd2, sece1, sece2, secf1, secf2) to ( 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12) ; } part trafo20va : default trafo20va { newattr "$comment" = "Transformer" ; newattr "$commentge" = "Transformator" ; pin (prima1,prima2,primb1,primb2,secc1,secc2,secd1,secd2) ; xlat (prima1,prima2,primb1,primb2,secc1,secc2,secd1,secd2) to ( 1, 2, 3, 4, 5, 7, 10, 12) ; } part trafo20vad : default trafo20vad { newattr "$comment" = "Transformer" ; newattr "$commentge" = "Transformator" ; pin (prima1,prima2,primb1,primb2, secc1, secc2, secd1, secd2, sece1, sece2, secf1, secf2) ; xlat (prima1,prima2,primb1,primb2, secc1, secc2, secd1, secd2, sece1, sece2, secf1, secf2) to ( 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12) ; } /*______________________________________________________________*/ /* Relays / Relais */ part g5v_2 : g5v_2 { newattr "$comment" = "PCB Relais" ; newattr "$type" = "G5V-2-5VDC" ; pin (1,4,6,8,9,11,13,16); } part g6cn_2_bs : g6cn_2_bs { newattr "$comment" = "Telecommunication (4KV) Relay" ; newattr "$commentge" = "Telekommunikation (4KV) Relais" ; newattr "$type" = "G6CN-2-BS-5VDC" ; newattr "$manufacturer" = "Omron" ; pin (1,3,4,5,6,7,8,10); } part k1e1o : default nospec { newattr "$comment" = "Relay" ; newattr "$commentge" = "Relais" ; newattr "$type" = "1O" ; pin ( A1, A2, 1, 2) ; } part k1e1s : default nospec { newattr "$comment" = "Relay" ; newattr "$commentge" = "Relais" ; newattr "$type" = "1S" ; pin ( A1, A2, 3, 4) ; } part k1e1w : default nospec { newattr "$comment" = "Relay" ; newattr "$commentge" = "Relais" ; newattr "$type" = "1W" ; pin ( A1, A2, 1, 2, 3) ; } part k1e2w : default nospec { newattr "$comment" = "Relay" ; newattr "$commentge" = "Relais" ; newattr "$type" = "2W" ; pin ( A1, A2, 1, 2, 3, 5, 6, 7) ; } part k1e1o1s : default nospec { newattr "$comment" = "Relay" ; newattr "$commentge" = "Relais" ; newattr "$type" = "1O1S" ; pin ( A1, A2, 1, 2, 3, 4) ; } part k1e1s_rdilds : dil14p8 { newattr "$comment" = "Reed Relay" ; newattr "$commentge" = "Reed-Relais" ; newattr "$type" = "1S" ; pin ( 1, 2, 6, 7, 8, 9,13,14) ; swap ( (( 1,14)), (( 7, 8)) ) ; } part rel1ein : default dilrel { newattr "$comment" = "Relay" ; newattr "$commentge" = "Relais" ; pin (a1,p,m,b1,b2,a2) ; xlat (a1, p, m,b1,b2,a2) to ( 1, 2, 6, 7, 8,14) ; swap internal ( (1,14), (7,8) ) ; } part rel1eind : default dilrel { newattr "$comment" = "Relay" ; newattr "$commentge" = "Relais" ; pin (a1,p,m,b1,b2,a2) ; xlat (a1, p, m,b1,b2,a2) to ( 1, 2, 6, 7, 8,14) ; swap internal ( (1,14), (7,8) ) ; } part rel2ein : default dilrel { newattr "$comment" = "Relay" ; newattr "$commentge" = "Relais" ; pin (a1,p,m,b1,b2,a2) ; xlat (a1, p, m,b1,b2,a2) to ( 1, 2, 6, 7, 8,14) ; swap internal ( (1,7), (8,14) ) ; } part rel2eind : default dilrel { newattr "$comment" = "Relay" ; newattr "$commentge" = "Relais" ; pin (a1,p,m,b1,b2,a2) ; xlat (a1, p, m,b1,b2,a2) to ( 1, 2, 6, 7, 8,14) ; swap internal ( (1,7), (8,14) ) ; } part rel1um : default dilrel { newattr "$comment" = "Relay" ; newattr "$commentge" = "Relais" ; pin (a1,p,m,b1,b2,a2) ; xlat (a1, p, m,b1,b2,a2) to ( 1, 2, 6, 7, 8,14) ; swap internal ( (1,14) ) ; swap internal ( (7,8) ) ; } part rel1umd : default dilrel { newattr "$comment" = "Relay" ; newattr "$commentge" = "Relais" ; pin (a1,p,m,b1,b2,a2) ; xlat (a1, p, m,b1,b2,a2) to ( 1, 2, 6, 7, 8,14) ; swap internal ( (1,14) ) ; swap internal ( (7,8) ) ; } part rel2um : default rel5 { newattr "$comment" = "Relay" ; newattr "$commentge" = "Relais" ; pin (p,m,a1,b1,c1,a2,b2,c2) ; swap internal ( (a1,b1,c1), (a2,b2,c2) ) ; } /*______________________________________________________________*/ /* Switches / Schalter */ /* Dual-In-Line Switches / DIL-Schalter */ part sw_nc : s1dilfix { newattr "$comment" = "DIL Switch" ; newattr "$commentge" = "DIL-Schalter" ; pin (1,2) ; } part s_1dil : default s1dilo { newattr "$comment" = "DIL Switch (1-Pin)" ; newattr "$commentge" = "DIL-Schalter (1-polig)" ; pin ( 1, 2) ; swap internal ( (( 1, 2)) ) ; } part s_2dil : default s2dilo { newattr "$comment" = "DIL Switch (2-Pin)" ; newattr "$commentge" = "DIL-Schalter (2-polig)" ; pin ( 1, 2, 3, 4) ; swap internal ( (( 1, 4),( 2, 3)) ) ; } part s_3dil : default s3dilo { newattr "$comment" = "DIL Switch (3-Pin)" ; newattr "$commentge" = "DIL-Schalter (3-polig)" ; pin ( 1, 2, 3, 4, 5, 6) ; swap internal ( (( 1, 6),( 2, 5),( 3, 4)) ) ; } part s_4dil : default s4dilo { newattr "$comment" = "DIL Switch (4-Pin)" ; newattr "$commentge" = "DIL-Schalter (4-polig)" ; pin ( 1, 2, 3, 4, 5, 6, 7, 8) ; swap internal ( (( 1, 8),( 2, 7),( 3, 6),( 4, 5)) ) ; } part s_5dil : default s5dilo { newattr "$comment" = "DIL Switch (5-Pin)" ; newattr "$commentge" = "DIL-Schalter (5-polig)" ; pin ( 1, 2, 3, 4, 5, 6, 7, 8, 9,10) ; swap internal ( (( 1,10),( 2, 9),( 3, 8),( 4, 7),( 5, 6)) ) ; } part s_6dil : default s6dilo { newattr "$comment" = "DIL Switch (6-Pin)" ; newattr "$commentge" = "DIL-Schalter (6-polig)" ; pin ( 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12) ; swap internal ( (( 1,12),( 2,11),( 3,10),( 4, 9),( 5, 8),( 6, 7)) ) ; } part s_7dil : default s7dilo { newattr "$comment" = "DIL Switch (7-Pin)" ; newattr "$commentge" = "DIL-Schalter (7-polig)" ; pin ( 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14) ; swap internal ( (( 1,14),( 2,13),( 3,12),( 4,11),( 5,10),( 6, 9),( 7, 8)) ) ; } part s_8dil : default s8dilo { newattr "$comment" = "DIL Switch (8-Pin)" ; newattr "$commentge" = "DIL-Schalter (8-polig)" ; pin ( 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16) ; swap internal ( (( 1,16),( 2,15),( 3,14),( 4,13), ( 5,12),( 6,11),( 7,10),( 8, 9)) ) ; } part s_9dil : default s9dilo { newattr "$comment" = "DIL Switch (9-Pin)" ; newattr "$commentge" = "DIL-Schalter (9-polig)" ; pin ( 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,17,18) ; swap internal ( (( 1,18),( 2,17),( 3,16),( 4,15),( 5,14), ( 6,13),( 7,12),( 8,11),( 9,10)) ) ; } part s_10dil : default s10dilo { newattr "$comment" = "DIL Switch (10-Pin)" ; newattr "$commentge" = "DIL-Schalter (10-polig)" ; pin ( 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,17,18,19,20) ; swap internal ( (( 1,20),( 2,19),( 3,18),( 4,17),( 5,16), ( 6,15),( 7,14),( 8,13),( 9,12),(10,11)) ) ; } part s_11dil : default s11dilfix { newattr "$comment" = "DIL Switch (11-Pin)" ; newattr "$commentge" = "DIL-Schalter (11-polig)" ; pin ( 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11, 12,13,14,15,16,17,18,19,20,21,22) ; swap internal ((( 1,22),( 2,21),( 3,20),( 4,19),( 5,18),( 6,17), ( 7,16),( 8,15),( 9,14),(10,13),(11,12))) ; } /* Key Switches / Tastenschalter */ part keyrubber : keyrubber { newattr "$comment" = "Rubber Key Pad" ; newattr "$commentge" = "Leiterkarten (Rubber) Taster" ; pin (1,2) ; } part s_mq6425 : s_mq6425 { newattr "$comment" = "Marquardt 6425" ; newattr "$commentge" = "Marquardt 6425" ; pin (1,2) ; } part tastled : tastled { newattr "$comment" = "Key LED" ; newattr "$commentge" = "Tasten LED" ; pin (1,2,3,5); } /* DIP Switches / DIP-Schalter */ part dipsw4 : default dipsw4 { newattr "$comment" = "DIP Switch" ; newattr "$commentge" = "DIP-Schalter" ; pin (a,b) ; xlat (a,b) to (1,8) or (2,7) or (3,6) or (4,5) ; swap ( ((1,8), (2,7), (3,6), (4,5)) ) ; } part dipsw7 : default dipsw7 { newattr "$comment" = "DIP Switch" ; newattr "$commentge" = "DIP-Schalter" ; pin (a,b) ; xlat ( a, b) to ( 1,14) or ( 2,13) or ( 3,12) or ( 4,11) or ( 5,10) or ( 6, 9) or ( 7, 8) ; swap ( ((1,14), (2,13), (3,12), (4,11), (5,10), (6,9), (7,8)) ) ; } part dipsw8 : default dipsw8 { newattr "$comment" = "DIP Switch" ; newattr "$commentge" = "DIP-Schalter" ; pin (a,b) ; xlat ( a, b) to ( 1,16) or ( 2,15) or ( 3,14) or ( 4,13) or ( 5,12) or ( 6,11) or ( 7,10) or ( 8, 9) ; swap ( ((1,16), (2,15), (3,14), (4,13), (5,12), (6,11), (7,10), (8,9)) ) ; } /* Wafer Switches / Wahlschalter */ part sw_1e10s11p : default swcont10tdez1 { newattr "$comment" = "Wafer Switch (10-stage)" ; newattr "$commentge" = "Vorwahlschalter (10-stellig)" ; pin ( 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,p1) ; } part sw_1e16s17p : default swcont16tdez1 { newattr "$comment" = "Wafer Switch (16-stage)" ; newattr "$commentge" = "Vorwahlschalter (16-stellig)" ; pin ( 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,p1) ; } part sw_1bin16s5p : default swcont06thex1 { newattr "$comment" = "Wafer Switch (16-stage)" ; newattr "$commentge" = "Vorwahlschalter (16-stellig)" ; pin ( 1, 2, 4, 8,p1) ; } part sw_1e12s15p : default swsel01e12s15p { newattr "$comment" = "Wafer Switch (1 level/12-stage)" ; newattr "$commentge" = "Wahlschalter (1 Ebene/12-stellig)" ; pin ( 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,p1,p2,p3) ; xlat (0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11) to (1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12) ; swap ( ((p1,p2,p3)) ) ; } part sw3x4 : default sw3x4 { newattr "$comment" = "Wafer Switch" ; newattr "$commentge" = "Wahlschalter" ; pin (a,s1,s2,s3,s4) ; xlat ( a,s1,s2,s3,s4) to ( 1, 4, 5, 6, 7) or ( 2, 8, 9,10,11) or ( 3,12,13,14,15) ; swap internal ( ((4,5,6,7),1), ((8,9,10,11),2), ((12,13,14,15),3) ) ; } part sw_d1511 : default sw_d1511 { newattr "$comment" = "Rotational Encoder with Tact. Switch" ; newattr "$commentge" = "Drehgeber mit Tastschalter" ; newattr "$type" = "D1511" ; pin (a,b,c,s1,s2) ; xlat (a,b,c,s1,s2) to (6,1,2, 3, 4) ; net internal : (3,5) ; net internal : (2,e) ; } /* Reed Contact / Reedkontakt */ part sw_reed : default sw_reed { newattr "$comment"="Reed Contact"; newattr "$commentge"="Reedkontakt"; pin (1,2); swap internal ( ((1,2)) ) ; } /*______________________________________________________________*/ part lk2 : default lk2 { pin (k1,k2) ; } part lk10 : default lk10 { pin (k1,k2,k3,k4,k5,k6,k7,k8,k9,k10) ; } /*______________________________________________________________*/ /* Logical library definition file end */ end.