From cb55e59de7ee4383c04edfae7c39ad9ae9552b36 Mon Sep 17 00:00:00 2001
From: rahulp13
Date: Fri, 14 Feb 2020 15:16:35 +0530
Subject: common code for Win and Linux, merged py2 changes
---
src/deviceModelLibrary/Transistor/BC547B.lib | 1 +
src/deviceModelLibrary/Transistor/BC547B.xml | 1 +
src/deviceModelLibrary/Transistor/NPN.lib | 5 +++-
src/deviceModelLibrary/Transistor/NPN.xml | 34 +---------------------------
src/deviceModelLibrary/Transistor/PNP.lib | 5 +++-
5 files changed, 11 insertions(+), 35 deletions(-)
create mode 100644 src/deviceModelLibrary/Transistor/BC547B.lib
create mode 100644 src/deviceModelLibrary/Transistor/BC547B.xml
(limited to 'src/deviceModelLibrary/Transistor')
diff --git a/src/deviceModelLibrary/Transistor/BC547B.lib b/src/deviceModelLibrary/Transistor/BC547B.lib
new file mode 100644
index 00000000..723537a7
--- /dev/null
+++ b/src/deviceModelLibrary/Transistor/BC547B.lib
@@ -0,0 +1 @@
+.model BC547B NPN(IS=1.8E-14 BF=400 NF=0.9955 VAF=80 IKF=0.14 ISE=5E-14 NE=1.46 BR=35.5 NR=1.005 VAR=12.5 IKR=0.03 ISC=1.72E-13 NC=1.27 RB=0.56 RE=0.6 RC=0.25 CJE=1.3E-11 TF=6.4E-10 CJC=4E-12 VJC=0.54 TR=5.072E-8)
diff --git a/src/deviceModelLibrary/Transistor/BC547B.xml b/src/deviceModelLibrary/Transistor/BC547B.xml
new file mode 100644
index 00000000..da06e5c4
--- /dev/null
+++ b/src/deviceModelLibrary/Transistor/BC547B.xml
@@ -0,0 +1 @@
+NPNBC547B1.7 7.306p 2 46.91n
1.307 22.01p 0 1.5 10 1 411.1p 3 0 400 .5 14.34f
6.092 .2847 .377 .3416 74.03 .75 .75 3 .6 14.34f 1.11
\ No newline at end of file
diff --git a/src/deviceModelLibrary/Transistor/NPN.lib b/src/deviceModelLibrary/Transistor/NPN.lib
index 382b5380..6509fe7a 100644
--- a/src/deviceModelLibrary/Transistor/NPN.lib
+++ b/src/deviceModelLibrary/Transistor/NPN.lib
@@ -1 +1,4 @@
-.model Q2N2222 NPN( Is=14.34f Xti=3 Eg=1.11 Vaf=74.03 Bf=400 Ne=1.307 Ise=14.34f Ikf=.2847 Xtb=1.5 Br=6.092 Nc=2 Isc=0 Ikr=0 Rc=1 Cjc=7.306p Mjc=.3416 Vjc=.75 Fc=.5 Cje=22.01p Mje=.377 Vje=.75 Tr=46.91n Tf=411.1p Itf=.6 Vtf=1.7 Xtf=3 Rb=10 )
+.model Q2N2222 NPN( Is=14.34f Xti=3 Eg=1.11 Vaf=74.03 Bf=400 Ne=1.307
++ Ise=14.34f Ikf=.2847 Xtb=1.5 Br=6.092 Nc=2 Isc=0 Ikr=0 Rc=1 Cjc=7.306p
++ Mjc=.3416 Vjc=.75 Fc=.5 Cje=22.01p Mje=.377 Vje=.75 Tr=46.91n Tf=411.1p
++ Itf=.6 Vtf=1.7 Xtf=3 Rb=10)
diff --git a/src/deviceModelLibrary/Transistor/NPN.xml b/src/deviceModelLibrary/Transistor/NPN.xml
index b2698bb1..ee2abcbc 100644
--- a/src/deviceModelLibrary/Transistor/NPN.xml
+++ b/src/deviceModelLibrary/Transistor/NPN.xml
@@ -1,33 +1 @@
-
-NPN
-Q2N2222
-
-14.34f
-3
-1.11
-74.03
-400
-1.307
-14.34f
-.2847
-1.5
-
6.092
-2
-0
-0
-1
-7.306p
-.3416
-.75
-.5
-22.01p
-.377
-.75
-46.91n
-411.1p
-.6
-1.7
-3
-10
-
-
+NPNQ2N22221.7 7.306p 2 46.91n
1.307 22.01p .75 1.5 10 1 411.1p 3 0 400.5 .2847
6.092 .377 .3416 74.03 0 14.34f 3 .75 14.34f .6 1.11
\ No newline at end of file
diff --git a/src/deviceModelLibrary/Transistor/PNP.lib b/src/deviceModelLibrary/Transistor/PNP.lib
index 23fe9d0f..7edda0ea 100644
--- a/src/deviceModelLibrary/Transistor/PNP.lib
+++ b/src/deviceModelLibrary/Transistor/PNP.lib
@@ -1 +1,4 @@
-.model Q2N2907A PNP( Is=650.6E-18 Xti=3 Eg=1.11 Vaf=115.7 Bf=231.7 Ne=1.829 Ise=54.81f Ikf=1.079 Xtb=1.5 Br=3.563 Nc=2 Isc=0 Ikr=0 Rc=.715 Cjc=14.76p Mjc=.5383 Vjc=.75 Fc=.5 Cje=19.82p Mje=.3357 Vje=.75 Tr=111.3n Tf=603.7p Itf=.65 Vtf=5 Xtf=1.7 Rb=10 )
+.model Q2N2907A PNP(Is=650.6E-18 Xti=3 Eg=1.11 Vaf=115.7 Bf=231.7 Ne=1.829
++ Ise=54.81f Ikf=1.079 Xtb=1.5 Br=3.563 Nc=2 Isc=0 Ikr=0 Rc=.715
++ Cjc=14.76p Mjc=.5383 Vjc=.75 Fc=.5 Cje=19.82p Mje=.3357 Vje=.75
++ Tr=111.3n Tf=603.7p Itf=.65 Vtf=5 Xtf=1.7 Rb=10)
--
cgit