From: Nick Bowler Date: Wed, 13 Jun 2018 01:25:18 +0000 (-0400) Subject: Add standard NPN/PNP transistor symbols. X-Git-Url: https://git.draconx.ca/gitweb/geda-symbols.git/commitdiff_plain/a2930252742dbff6cbdc198630c8e39f704b3048 Add standard NPN/PNP transistor symbols. And fix up the pin ordering for generating SPICE netlists. --- diff --git a/generic/npn-1.sym b/generic/npn-1.sym new file mode 100644 index 0000000..7c9e04c --- /dev/null +++ b/generic/npn-1.sym @@ -0,0 +1,51 @@ +v 20130925 2 +T 200 2500 8 10 0 0 0 0 1 +author=Nick Bowler +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 index 0000000..6c0edb5 --- /dev/null +++ b/generic/pnp-1.sym @@ -0,0 +1,51 @@ +v 20130925 2 +T 200 2500 8 10 0 0 0 0 1 +author=Nick Bowler +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? diff --git a/multi/dual-npn-1.sym b/multi/dual-npn-1.sym index 46e5f0c..d733b82 100644 --- a/multi/dual-npn-1.sym +++ b/multi/dual-npn-1.sym @@ -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? diff --git a/multi/dual-pnp-1.sym b/multi/dual-pnp-1.sym index d36a458..cefab77 100644 --- a/multi/dual-pnp-1.sym +++ b/multi/dual-pnp-1.sym @@ -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?