kicad/demos/sim/pspice.lib

205 lines
4.2 KiB
Plaintext

EESchema-LIBRARY Version 2.3
#encoding utf-8
#
# 0
#
DEF 0 #GND 0 0 Y Y 1 F P
F0 "#GND" 0 -100 50 H I C CNN
F1 "0" 0 -70 50 H V C CNN
F2 "" 0 0 50 H V C CNN
F3 "" 0 0 50 H V C CNN
DRAW
P 4 0 1 0 -50 0 0 -50 50 0 -50 0 N
X 0 1 0 0 0 R 40 40 1 1 W N
ENDDRAW
ENDDEF
#
# CAP
#
DEF CAP C 0 10 Y Y 1 F N
F0 "C" 100 150 50 V V C CNN
F1 "CAP" 100 -150 50 V V C CNN
F2 "" 0 0 50 H V C CNN
F3 "" 0 0 50 H V C CNN
ALIAS C
DRAW
P 2 0 1 0 -150 -50 150 -50 N
P 2 0 1 0 -150 50 150 50 N
X ~ 1 0 250 200 D 40 40 1 1 P
X ~ 2 0 -250 200 U 40 40 1 1 P
ENDDRAW
ENDDEF
#
# DIODE
#
DEF DIODE D 0 40 Y N 1 F N
F0 "D" 0 150 50 H V C CNN
F1 "DIODE" 0 -175 50 H V C CNN
F2 "" 0 0 50 H V C CNN
F3 "" 0 0 50 H V C CNN
DRAW
P 2 0 1 0 -75 100 -75 -100 N
P 3 0 1 0 75 100 75 -100 -75 0 F
X K 1 -200 0 150 R 50 50 1 1 I
X A 2 200 0 150 L 50 50 1 1 I
ENDDRAW
ENDDEF
#
# INDUCTOR
#
DEF INDUCTOR L 0 0 N Y 1 F N
F0 "L" 0 100 50 H V C CNN
F1 "INDUCTOR" 0 -50 50 H V C CNN
F2 "" 0 0 50 H V C CNN
F3 "" 0 0 50 H V C CNN
DRAW
A -150 0 50 1 1799 0 1 0 N -100 0 -200 0
A -50 0 50 1 1799 0 1 0 N 0 0 -100 0
A 50 0 50 1 1799 0 1 0 N 100 0 0 0
A 150 0 50 1 1799 0 1 0 N 200 0 100 0
X 1 1 -250 0 50 R 30 30 1 1 I
X 2 2 250 0 50 L 30 30 1 1 I
ENDDRAW
ENDDEF
#
# ISOURCE
#
DEF ISOURCE I 0 40 Y Y 1 F N
F0 "I" 0 -180 50 H V C CNN
F1 "ISOURCE" 10 170 50 H V C CNN
F2 "" 0 0 50 H V C CNN
F3 "" 0 0 50 H V C CNN
DRAW
C 0 -150 250 0 1 0 N
C 0 150 250 0 1 0 N
T 0 -320 -10 100 0 0 1 I Normal 0 C C
P 2 0 1 0 -350 -200 -350 200 F
P 3 0 1 0 -400 200 -350 300 -300 200 F
X E1 1 0 700 300 D 50 50 1 1 I
X E2 2 0 -700 300 U 50 50 1 1 I
ENDDRAW
ENDDEF
#
# QNPN
#
DEF QNPN Q 0 0 Y Y 1 F N
F0 "Q" -100 300 50 H V C CNN
F1 "QNPN" -100 200 50 H V C CNN
F2 "" 0 0 50 H V C CNN
F3 "" 0 0 50 H V C CNN
DRAW
P 2 0 0 0 0 0 150 -150 N
P 4 0 0 0 150 -150 150 -50 50 -150 150 -150 F
P 2 0 1 0 0 -150 0 150 N
P 2 0 1 0 0 0 150 150 N
P 4 0 1 0 -100 -150 0 -150 0 -150 0 -150 N
X C 1 150 350 200 D 40 40 1 1 P
X B 2 -300 0 300 R 40 40 1 1 I
X E 3 150 -350 200 U 40 40 1 1 P
X Substrat 4 -100 -350 200 U 50 20 1 1 I
ENDDRAW
ENDDEF
#
# QPNP
#
DEF QPNP Q 0 0 Y Y 1 F N
F0 "Q" -100 300 50 H V C CNN
F1 "QPNP" -100 200 50 H V C CNN
F2 "" 0 0 50 H V C CNN
F3 "" 0 0 50 H V C CNN
DRAW
P 2 0 1 0 0 -150 0 150 N
P 2 0 1 0 0 0 150 -150 N
P 2 0 1 0 0 0 150 150 N
P 3 0 1 0 -100 -150 0 -150 0 -150 N
P 4 0 1 0 120 -180 180 -120 85 -85 120 -180 F
X C 1 150 350 200 D 40 40 1 1 C
X B 2 -300 0 300 R 40 40 1 1 I
X E 3 150 -350 200 U 40 40 1 1 E
X Substrat 4 -100 -350 200 U 50 20 1 1 I
ENDDRAW
ENDDEF
#
# R
#
DEF R R 0 0 N Y 1 F N
F0 "R" 80 0 50 V V C CNN
F1 "R" 0 0 50 V V C CNN
F2 "" 0 0 50 H V C CNN
F3 "" 0 0 50 H V C CNN
DRAW
S -40 150 40 -150 0 1 0 N
X ~ 1 0 250 100 D 50 50 1 1 P
X ~ 2 0 -250 100 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# SPICE_DIRECTIVE
#
DEF ~SPICE_DIRECTIVE X 0 40 Y Y 1 F N
F0 "X" 0 0 60 H I C CNN
F1 "SPICE_DIRECTIVE" -75 300 60 H I C CNN
F2 "" 0 0 60 H V C CNN
F3 "" 0 0 60 H V C CNN
DRAW
T 0 450 0 60 0 0 0 SPICE~Command Normal 0 C C
P 5 0 0 0 50 -50 850 -50 850 50 50 50 50 -50 N
ENDDRAW
ENDDEF
#
# SPICE_PROBE
#
DEF ~SPICE_PROBE U 0 40 N N 1 F N
F0 "U" 0 0 60 H I C CNN
F1 "SPICE_PROBE" 0 0 60 H I C CNN
F2 "" 0 0 60 H V C CNN
F3 "" 0 0 60 H V C CNN
DRAW
P 2 0 0 0 -61 148 -63 165 N
P 3 0 0 0 -61 167 -55 170 -45 156 N
P 4 0 0 0 -1 1 -20 46 -9 50 1 1 F
P 6 0 0 0 -10 49 6 55 -33 158 -71 142 -32 42 -19 46 N
P 11 0 0 0 -61 169 -63 179 -61 188 -52 190 -42 189 -42 183 -47 181 -52 184 -57 189 -62 199 -63 202 N
X ~ 1 0 0 0 R 50 50 1 1 P
ENDDRAW
ENDDEF
#
# VSOURCE
#
DEF ~VSOURCE V 0 40 Y Y 1 F N
F0 "V" 200 200 50 H V C CNN
F1 "VSOURCE" 250 100 50 H I C CNN
F2 "" 0 0 50 H V C CNN
F3 "" 0 0 50 H V C CNN
F4 "Value" 0 0 60 H I C CNN "Fieldname"
F5 "V" 0 0 60 H I C CNN "Spice_Primitive"
F6 "1 2" -300 200 60 H I C CNN "Spice_Node_Sequence"
DRAW
C 0 0 100 0 1 0 N
P 2 0 1 0 0 -75 0 75 N
P 4 0 1 0 0 75 -25 25 25 25 0 75 F
X ~ 1 0 200 100 D 50 50 1 1 I
X ~ 2 0 -200 100 U 50 50 1 1 I
ENDDRAW
ENDDEF
#
# Value
#
DEF Value V 0 40 Y Y 1 F N
F0 "V" 200 200 50 H V C CNN
F1 "Value" 250 100 50 H V C CNN
F2 "" 0 0 50 H V C CNN
F3 "" 0 0 50 H V C CNN
F4 "V" 0 0 60 H I C CNN "SpicePrimitive"
F5 "1 2" -300 200 60 H I C CNN "SpicePinMapping"
DRAW
C 0 0 100 0 1 0 N
P 2 0 1 0 0 -75 0 75 N
P 4 0 1 0 0 75 -25 25 25 25 0 75 F
X ~ 1 0 200 100 D 50 50 1 1 I
X ~ 2 0 -200 100 U 50 50 1 1 I
ENDDRAW
ENDDEF
#
#End Library