loglib /*______________________________________________________________*/ /* */ /* LOG Library : opto.def */ /* SCM Library : opto.ddb */ /* */ /* Author : Bartels System, Kloeckner-Moeller */ /* Last Revision: 2007/11/23 */ /*______________________________________________________________*/ /* */ /* This library includes definitions for the following */ /* commonly used optoelectronic device types: */ /* */ /* - Photo Resistors */ /* - Photo Diodes */ /* - Light Emitting Diodes (LEDs) */ /* - Infrared Diodes (IREDs) */ /* - Photo Transistors */ /* - Light Wave Conductors (lw_*) */ /* - Optocouplers (ok_*) */ /* - Digit Displays (za_*) */ /* - Optical Fiber Modules */ /* */ /* NOTE: */ /* */ /* Part translations to Layout Package named "nospec" denote */ /* assignment to template package instead of correct package */ /* due to missing Layout Library definitions. */ /*______________________________________________________________*/ /*______________________________________________________________*/ /* Fotowiderstaende / Photo Resistors */ /* LDR-Widerstand / LDR-Resistor (Light Dependent Resistor) */ part rldr_ : nospec { newattr "$comment" = "LDR Resistor (Photo Resistor)" ; newattr "$commentge" = "LDR-Widerstand (Fotowiderstand)" ; pin ( 1, 2) ; swap internal ((( 1, 2))) ; } /*______________________________________________________________*/ /* Dioden / Diodes */ /* Foto-Diode / Photo Diode */ part df_ : nospec { newattr "$comment" = "Photo Diode" ; newattr "$commentge" = "Foto-Diode" ; pin ( a, k) ; } /* Leucht-Diode / Light Emitting Diode (LED) */ part dl_ : nospec { newattr "$comment" = "Light Emitting Diode (LED)" ; newattr "$commentge" = "Leucht-Diode (LED)" ; pin ( a, k) ; } part dl : default dl01 { newattr "$comment" = "Light Emitting Diode (LED)" ; newattr "$commentge" = "Leucht-Diode (LED)" ; pin ( a, k) ; } part led : led { newattr "$comment" = "Light Emitting Diode (LED)" ; newattr "$commentge" = "Leucht-Diode (LED)" ; pin (a,c) ; xlat (a,c) to (1,2) ; } part lus250 : sot23 { newattr "$comment" = "Light Emitting Diode (LED)" ; newattr "$commentge" = "Leucht-Diode (LED)" ; newattr "$type" = "LUS250" ; } /* Zweifach-Leucht-Diode / Dual LED */ part dl2a1k_ : nospec { newattr "$comment" = "Dual LED" ; newattr "$commentge" = "Zweifach-LED" ; pin (a1,a2, k) ; } part dualled : default dualled1 { newattr "$comment" = "Dual Light Emitting Diode (LED)" ; newattr "$commentge" = "Dual-Leucht-Diode (LED)" ; pin (a1,a2,c); } /* LED Array */ part ledarray : dil20s ; /* Infrarot-Diode / Infra-red Diode */ part dl_cqx18a : default to92p13 { newattr "$comment" = "Infra-red Diode" ; newattr "$commentge" = "Infrarotdiode" ; newattr "$type" = "CQX18A" ; pin ( a, k) ; xlat ( a, k) to ( 1, 3) ; } part irled : to18d { newattr "$comment" = "Infra-red Diode" ; newattr "$commentge" = "Infrarotdiode" ; pin (a,c); xlat (a,c) to (a,k); } /*______________________________________________________________*/ /* Fototransistoren / Photo Transistors */ /* Foto-Transistor bipolar NPN / Photo Transistor bipolar NPN */ part trbnf_ : nospec { newattr "$comment" = "Photo Transistor bipolar NPN" ; newattr "$commentge" = "Fototransistor bipolar NPN" ; pin ( e, c) ; } part tr_mrd701 : default case34901 { newattr "$comment" = "Photo Transistor bipolar NPN" ; newattr "$commentge" = "Fototransistor bipolar NPN" ; newattr "$type" = "MRD701" ; pin ( e, c) ; xlat ( e, c) to ( 1, 2) ; } /* Foto-Transistor bipolar PNP / Photo Transistor bipolar PNP */ part trbpf_ : nospec { newattr "$comment" = "Photo Transistor bipolar PNP" ; newattr "$commentge" = "Fototransistor bipolar PNP" ; pin ( e, c) ; } /*______________________________________________________________*/ /* Lichtwellenleiter Sender/Empfaenger */ /* Light Wave Conductors Senders/Receivers */ /* Lichtwellenleiter Empfaenger / Light Wave Receiver */ part lw_hfbr2501 : lw_hfbr0500 { newattr "$comment" = "Light Wave Receiver" ; newattr "$commentge" = "LWL-Empfaenger" ; newattr "$type" = "HFBR2501" ; pin ( 1, 2, 3, 4, 5, 8) ; swap internal ((( 2, 3))) ; } part lw_hfbr2502 : lw_hfbr0500 { newattr "$comment" = "Light Wave Receiver" ; newattr "$commentge" = "LWL-Empfaenger" ; newattr "$type" = "HFBR2502" ; pin ( 1, 2, 3, 4, 5, 8) ; swap internal ((( 2, 3))) ; } part lw_hfbr2503 : lw_hfbr0500 { newattr "$comment" = "Light Wave Receiver" ; newattr "$commentge" = "LWL-Empfaenger" ; newattr "$type" = "HFBR2503" ; pin ( 1, 2, 3, 4, 5, 8) ; swap internal ((( 2, 3))) ; swap internal ((( 1, 8))) ; } part lw_hfbr2521 : default lw_hfbr0501h { newattr "$comment" = "Light Wave Receiver" ; newattr "$commentge" = "LWL-Empfaenger" ; newattr "$type" = "HFBR2521/31" ; pin ( 1, 2, 3, 4, 5, 8) ; swap internal ((( 5, 8))) ; } part lw_hfbr2522 : default lw_hfbr0501h { newattr "$comment" = "Light Wave Receiver" ; newattr "$commentge" = "LWL-Empfaenger" ; newattr "$type" = "HFBR2522/32" ; pin ( 1, 2, 3, 4, 5, 8) ; swap internal ((( 5, 8))) ; } part lw_hfbr2523 : default lw_hfbr0501h { newattr "$comment" = "Light Wave Receiver" ; newattr "$commentge" = "LWL-Empfaenger" ; newattr "$type" = "HFBR2523/33" ; pin ( 1, 2, 3, 4, 5, 8) ; swap internal ((( 5, 8))) ; } part lw_hfbr2524 : default lw_hfbr0501h { newattr "$comment" = "Light Wave Receiver" ; newattr "$commentge" = "LWL-Empfaenger" ; newattr "$type" = "HFBR2524/34" ; pin ( 1, 2, 3, 4, 5, 8) ; swap internal ((( 5, 8))) ; } /* Lichtwellenleiter Sender / Light Wave Sender */ part lw_hfbr1502 : lw_hfbr0500 { newattr "$comment" = "Light Wave Sender" ; newattr "$commentge" = "LWL-Sender" ; newattr "$type" = "HFBR1502" ; pin ( 1, 2, 3, 4, 5, 8) ; swap internal ((( 2, 3))) ; swap internal ((( 4, 5, 8))) ; } part lw_hfbr1510 : lw_hfbr0500 { newattr "$comment" = "Light Wave Sender" ; newattr "$commentge" = "LWL-Sender" ; newattr "$type" = "HFBR1510" ; pin ( 1, 2, 3, 4, 5, 8) ; swap internal ((( 2, 3))) ; swap internal ((( 4, 5, 8))) ; } part lw_hfbr1512 : lw_hfbr0500 { newattr "$comment" = "Light Wave Sender" ; newattr "$commentge" = "LWL-Sender" ; newattr "$type" = "HFBR1512" ; pin ( 1, 2, 3, 4, 5, 8) ; swap internal ((( 2, 3))) ; swap internal ((( 4, 5, 8))) ; } part lw_hfbr152x : default lw_hfbr0501h { newattr "$comment" = "Light Wave Sender" ; newattr "$commentge" = "LWL-Sender" ; newattr "$type" = "HFBR152x/3x" ; pin ( 1, 2, 3, 4, 5, 8) ; swap internal ((( 5, 8))) ; swap internal ((( 3, 4))) ; } /*______________________________________________________________*/ /* Optokoppler / Optocouplers */ /* // NOTE // // Optocouplers are stored with manufacturer-specific // libraries (Siemens, Toshiba, etc. */ /*______________________________________________________________*/ /* Ziffernanzeigen / Digit Displays */ part za_man4640 : dil14 { newattr "$comment" = "Digit Display" ; newattr "$commentge" = "Ziffernanzeige" ; newattr "$type" = "MAN4640" ; newattr "$manufacturer" = "Quality Technologies" ; pin ( 1, 2, 4, 6, 7, 8, 9,12,13,14) ; swap internal (((4,12))) ; } part za_hp5082: nospec { newattr "$comment" = "Digit Display" ; newattr "$commentge" = "Ziffernanzeige" ; newattr "$type" = "HP5082" ; newattr "$manufacturer" = "Hewlett Packard" ; } part za_hp7433 : dil12 { newattr "$comment" = "Digit Display" ; newattr "$commentge" = "Ziffernanzeige" ; newattr "$type" = "HP7433" ; newattr "$manufacturer" = "Hewlett Packard" ; pin ( 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12) ; } part za_hp7653 : dil14 { newattr "$comment" = "Digit Display" ; newattr "$commentge" = "Ziffernanzeige" ; newattr "$type" = "HP7653" ; pin ( 1, 2, 3, 7, 8, 9,10,11,13,14) ; newattr "$manufacturer" = "Hewlett Packard" ; swap internal (((13,14))) ; } /*______________________________________________________________*/ /* Optical Fiber modules */ part fiberrecv20 : fibermod20 { newattr "$comment" = "Optical Fiber Receiver (20 Pin)" ; newattr "$commentge" = "Lichtwellenleiter Empfaenger (20 Pin)" ; pin (data,/data,clk,/clk,flag,/flag,pdbias,vcc,gnd); xlat (data,/data,clk,/clk,flag,/flag,pdbias,vcc,gnd) to ( 7, 9, 4, 5, 12, 14, 10, 11, 1); /* Power supply pins */ net internal /* GND */ : (1,2,3,6,8,13,15,16); } part fibertransceiver_1x9 : fibertransceiver_1x9 { newattr "$comment" = "Optical Fiber Transceceiver (9 Pin)" ; newattr "$commentge" = "LWL Sender/Empfaenger Modul (9 Pin)" ; pin (td,/td,rd,/rd,sd,vcctx,vccrx,gndtx,gndrx); xlat (td,/td,rd,/rd,sd,vcctx,vccrx,gndtx,gndrx) to ( 8, 7, 2, 3, 4, 6, 5, 9, 1); } part fiberxmit20 : fibermod20 { newattr "$comment" = "Optical Fiber Transmitter (20 Pin)" ; newattr "$commentge" = "Lichtwellenleiter Sender (20 Pin)" ; pin (data,/data,dis,"lbm+","lbm-","bfm+","bfm-",vcc,vee,cgnd); xlat (data,/data,dis,"lbm+","lbm-","bfm+","bfm-",vcc,vee,cgnd) to ( 16, 15, 7, 2, 4, 19, 17, 6, 5, 11); /* Power supply pins */ net internal /* VEE */ : (5,14); net internal /* VCC */ : (6,8,9,12,18); net internal /* CGND */ : (11,13); } /*______________________________________________________________*/ /* Logical library definition file end */ end.