]> git.draconx.ca Git - geda-symbols.git/commitdiff
Add standard NPN/PNP transistor symbols.
authorNick Bowler <nbowler@draconx.ca>
Wed, 13 Jun 2018 01:25:18 +0000 (21:25 -0400)
committerNick Bowler <nbowler@draconx.ca>
Wed, 13 Jun 2018 01:25:18 +0000 (21:25 -0400)
And fix up the pin ordering for generating SPICE netlists.

generic/npn-1.sym [new file with mode: 0644]
generic/pnp-1.sym [new file with mode: 0644]
multi/dual-npn-1.sym
multi/dual-pnp-1.sym

diff --git a/generic/npn-1.sym b/generic/npn-1.sym
new file mode 100644 (file)
index 0000000..7c9e04c
--- /dev/null
@@ -0,0 +1,51 @@
+v 20130925 2
+T 200 2500 8 10 0 0 0 0 1
+author=Nick Bowler <nbowler@draconx.ca>
+T 200 2300 8 10 0 0 0 0 1
+description=NPN transistor (EBC)
+T 200 2100 8 10 0 0 0 0 1
+device=NPN_TRANSISTOR
+T 200 1900 8 10 0 0 0 0 1
+dist-license=WTFPL2
+T 200 1700 8 10 0 0 0 0 1
+use-license=unlimited
+T 200 1500 8 10 0 0 0 0 1
+numslots=0
+P 0 400 200 400 1 0 0
+{
+T 750 400 5 10 0 0 0 0 1
+pintype=pas
+T 155 445 5 10 1 1 0 6 1
+pinnumber=2
+T 750 300 5 10 0 0 0 0 1
+pinseq=2
+}
+P 400 0 400 200 1 0 0
+{
+T 750 100 5 10 0 0 0 0 1
+pintype=pas
+T 445 195 5 10 1 1 0 2 1
+pinnumber=1
+T 750 0 5 10 0 0 0 0 1
+pinseq=3
+}
+L 200 600 200 200 3 0 0 0 -1 -1
+L 200 300 400 200 3 0 0 0 -1 -1
+L 200 500 400 600 3 0 0 0 -1 -1
+H 3 0 0 0 -1 -1 1 -1 -1 -1 -1 -1 5
+M 303,209
+L 401,200
+L 331,273
+L 325,240
+z
+P 400 800 400 600 1 0 0
+{
+T 750 700 5 10 0 0 0 0 1
+pintype=pas
+T 445 595 5 10 1 1 0 0 1
+pinnumber=3
+T 750 600 5 10 0 0 0 0 1
+pinseq=1
+}
+T 400 350 8 10 1 1 0 0 1
+refdes=Q?
diff --git a/generic/pnp-1.sym b/generic/pnp-1.sym
new file mode 100644 (file)
index 0000000..6c0edb5
--- /dev/null
@@ -0,0 +1,51 @@
+v 20130925 2
+T 200 2500 8 10 0 0 0 0 1
+author=Nick Bowler <nbowler@draconx.ca>
+T 200 2300 8 10 0 0 0 0 1
+description=PNP transistor (EBC)
+T 200 2100 8 10 0 0 0 0 1
+device=PNP_TRANSISTOR
+T 200 1900 8 10 0 0 0 0 1
+dist-license=WTFPL2
+T 200 1700 8 10 0 0 0 0 1
+use-license=unlimited
+T 200 1500 8 10 0 0 0 0 1
+numslots=0
+P 0 400 200 400 1 0 0
+{
+T 750 400 5 10 0 0 0 0 1
+pintype=pas
+T 155 445 5 10 1 1 0 6 1
+pinnumber=2
+T 750 300 5 10 0 0 0 0 1
+pinseq=2
+}
+P 400 800 400 600 1 0 0
+{
+T 750 700 5 10 0 0 0 0 1
+pintype=pas
+T 445 595 5 10 1 1 0 0 1
+pinnumber=1
+T 750 600 5 10 0 0 0 0 1
+pinseq=3
+}
+L 200 600 200 200 3 0 0 0 -1 -1
+L 200 300 400 200 3 0 0 0 -1 -1
+L 200 500 400 600 3 0 0 0 -1 -1
+H 3 0 0 0 -1 -1 1 -1 -1 -1 -1 -1 5
+M 297,509
+L 199,500
+L 269,573
+L 275,540
+z
+P 400 0 400 200 1 0 0
+{
+T 750 100 5 10 0 0 0 0 1
+pintype=pas
+T 445 195 5 10 1 1 0 2 1
+pinnumber=3
+T 750 0 5 10 0 0 0 0 1
+pinseq=1
+}
+T 400 350 8 10 1 1 0 0 1
+refdes=Q?
index 46e5f0cdb7f8cf6ff4ba9a9fc3a55e5da867d5ad..d733b82e923d7f70340aa56381d5c858c53057fd 100644 (file)
@@ -12,9 +12,9 @@ use-license=unlimited
 T 200 1500 8 10 0 0 0 0 1
 numslots=2
 T 200 1300 8 10 0 0 0 0 1
-slotdef=1:1,2,6
+slotdef=1:6,2,1
 T 200 1100 8 10 0 0 0 0 1
-slotdef=2:4,5,3
+slotdef=2:3,5,4
 T 200 900 8 10 0 0 0 0 1
 slot=1
 P 0 400 200 400 1 0 0
@@ -33,7 +33,7 @@ pintype=pas
 T 445 195 5 10 1 1 0 2 1
 pinnumber=1
 T 750 0 5 10 0 0 0 0 1
-pinseq=1
+pinseq=3
 }
 L 200 600 200 200 3 0 0 0 -1 -1
 L 200 300 400 200 3 0 0 0 -1 -1
@@ -51,7 +51,7 @@ pintype=pas
 T 445 595 5 10 1 1 0 0 1
 pinnumber=6
 T 750 600 5 10 0 0 0 0 1
-pinseq=3
+pinseq=1
 }
 T 400 350 8 10 1 1 0 0 1
 refdes=Q?
index d36a45836a5dc2e92b30bdd792b2dd7da9022dc5..cefab77695fe5049e380133ab882e98bb92e5f11 100644 (file)
@@ -12,9 +12,9 @@ use-license=unlimited
 T 200 1500 8 10 0 0 0 0 1
 numslots=2
 T 200 1300 8 10 0 0 0 0 1
-slotdef=1:1,2,6
+slotdef=1:6,2,1
 T 200 1100 8 10 0 0 0 0 1
-slotdef=2:4,5,3
+slotdef=2:3,5,4
 T 200 900 8 10 0 0 0 0 1
 slot=1
 P 0 400 200 400 1 0 0
@@ -33,7 +33,7 @@ pintype=pas
 T 445 595 5 10 1 1 0 0 1
 pinnumber=1
 T 750 600 5 10 0 0 0 0 1
-pinseq=1
+pinseq=3
 }
 L 200 600 200 200 3 0 0 0 -1 -1
 L 200 300 400 200 3 0 0 0 -1 -1
@@ -51,7 +51,7 @@ pintype=pas
 T 445 195 5 10 1 1 0 2 1
 pinnumber=6
 T 750 0 5 10 0 0 0 0 1
-pinseq=3
+pinseq=1
 }
 T 400 350 8 10 1 1 0 0 1
 refdes=Q?