From d1e7316107a3b07162df40c2203de10fa1562c85 Mon Sep 17 00:00:00 2001 From: dwarning Date: Tue, 24 Jul 2007 09:11:02 +0000 Subject: [PATCH] testing more effects and unifications --- tests/adms/hicum0/hic0_gum.sp | 5 +- tests/adms/hicum0/hic0_out.sp | 4 +- tests/adms/hicum2/hic2_gum.sp | 49 +------- tests/adms/hicum2/hic2_out.sp | 47 +------- tests/adms/hicum2/model-card-hicumL2V2p21.lib | 105 +++++++++--------- tests/adms/mextram/mex_gum.sp | 9 +- tests/adms/mextram/mex_out.sp | 4 +- 7 files changed, 75 insertions(+), 148 deletions(-) diff --git a/tests/adms/hicum0/hic0_gum.sp b/tests/adms/hicum0/hic0_gum.sp index 371e5f61a..25aead9b4 100644 --- a/tests/adms/hicum0/hic0_gum.sp +++ b/tests/adms/hicum0/hic0_gum.sp @@ -3,12 +3,13 @@ HICUM0 Gummel Test Ic=f(Vc,Vb) VB B 0 0.5 VC C 0 2.0 VS S 0 0.0 -X1 C B 0 S hicumL0V1p1_c_sbt +X1 C B 0 S hicumL0V1p1_c_slh .control -dc vb 0.2 1.2 0.05 +dc vb 0.2 1.4 0.01 run plot abs(i(vc)) abs(i(vb)) abs(i(vs)) ylimit 0.1e-12 100e-3 ylog +plot abs(i(vc))/abs(i(vb)) vs abs(-i(vc)) xlog xlimit 1e-09 10e-3 ylimit 0 300 .endc ******************************************************************************** diff --git a/tests/adms/hicum0/hic0_out.sp b/tests/adms/hicum0/hic0_out.sp index 4fb25b0f6..6ef68879b 100644 --- a/tests/adms/hicum0/hic0_out.sp +++ b/tests/adms/hicum0/hic0_out.sp @@ -3,10 +3,10 @@ HICUM0 Output Test Ic=f(Vc,Ib) IB 0 B 200n VC C 0 2.0 VS S 0 0.0 -X1 C B 0 S hicumL0V1p1_c_sbt +X1 C B 0 S hicumL0V1p1_c_slh .control -dc vc 0.0 3.0 0.05 ib 5u 25u 5u +dc vc 0.0 3.0 0.05 ib 10u 100u 10u run plot abs(i(vc)) .endc diff --git a/tests/adms/hicum2/hic2_gum.sp b/tests/adms/hicum2/hic2_gum.sp index 3152bd442..4e9c3f94b 100644 --- a/tests/adms/hicum2/hic2_gum.sp +++ b/tests/adms/hicum2/hic2_gum.sp @@ -1,54 +1,17 @@ -HICUM2 Gummel Test Ic=f(Vc,Ib) +HICUM2v2.2 Gummel Test Ic,b,s=f(Vc,Ib) VB B 0 0.5 VC C 0 2.0 VS S 0 0.0 -Q1 C B 0 S MOD +Q1 C B 0 S DT hicumL2V2p2_c_slh .control -dc vb 0.2 1.0 0.05 +dc vb 0.2 1.4 0.01 run -plot abs(i(vc)) abs(i(vb)) ylog +plot abs(i(vc)) abs(i(vb)) abs(i(vs)) ylog xlimit 0.3 1.6 ylimit 1e-12 0.1 +plot abs(i(vc))/abs(i(vb)) vs abs(-i(vc)) xlog xlimit 1e-09 10e-3 ylimit 0 120 .endc -.model MOD NPN LEVEL=8 tnom=27.00 -+ c10=3.680e-30 qp0=1.480e-14 ich=2.470e-02 hfc=1.000e+00 -+ hfe=1.000e+00 hjci=4.000e-02 hjei=1.000e+00 alit=4.500e-01 -+ mcf=1.015e+00 -+ cjei0=2.830e-14 vdei=7.500e-01 zei=3.660e-01 -+ cjci0=1.690e-14 vdci=9.090e-01 zci=4.340e-01 vptci=1.370e+01 -+ t0=2.310e-12 dt0h=5.000e-14 tbvl=0.000e+00 tef0=2.500e-13 -+ gtfe=1.000e+00 thcs=9.000e-11 fthc=6.000e-01 -+ alqf=2.250e-01 -+ rci0=3.470e+01 vlim=8.000e-01 vpt=1.000e+01 vces=8.000e-02 -+ tr=0.000e+00 -+ ibeis=5.750e-19 mbei=1.065e+00 ireis=2.870e-15 mrei=2.045e+00 -+ ibcis=0.000e+00 mbci=1.500e+00 -+ favl=8.200e+01 qavl=3.220e-13 -+ rbi0=3.559e+01 fdqr0=1.320e-01 fgeo=7.397e-01 fqi=8.957e-01 -+ fcrbi=2.000e-01 -+ latb=8.035e-01 latl=8.300e-02 -+ cjep0=3.660e-15 vdep=7.500e-01 zep=8.530e-01 -+ ibeps=1.020e-18 mbep=1.070e+00 ireps=5.090e-15 mrep=2.245e+00 -+ ibets=0.000e+00 abet=4.000e+01 -+ cjcx0=1.590e-14 vdcx=6.170e-01 zcx=2.570e-01 vptcx=2.550e+00 -*obsolete in va2.2 ccox=4.670e-15 fbc=9.990e-01 -+ ibcxs=2.200e-16 mbcx=1.172e+00 -*obsolete in va2.2 ceox=1.420e-14 -+ rbx=2.136e+01 re=3.459e+00 rcx=1.686e+01 -+ itss=5.820e-19 msf=1.080e+00 tsf=1.000e-09 iscs=4.920e-14 -+ msc=1.050e+00 -*obsolete in va2.2 msr=1.000e+00 -+ cjs0=4.720e-14 vds=5.480e-01 zs=2.430e-01 vpts=1.000e+10 -+ rsu=0.000e+00 csu=0.000e+00 -+ kf=4.870e-13 af=1.000e+00 -*obsolete in va2.2 aljei=1.880e+00 -*obsolete in va2.2 aljep=2.200e+00 -*obsolete in va2.2 alhc=4.000e-02 -*obsolete in va2.2 krbi=1.000e+00 -+ vgb=1.014e+00 alb=-7.000e-03 alt0=1.000e-04 kt0=1.000e-07 -+ zetaci=9.300e-01 alvs=1.000e-03 alces=4.000e-04 zetarbi=3.300e-01 -+ zetarbx=1.000e-02 zetarcx=3.100e-01 zetare=0.000e+00 alfav=0.000e+00 -+ alqav=0.000e+00 rth=0.000e+00 cth=0.000e+00 +.include model-card-hicumL2V2p21sp.lib .end diff --git a/tests/adms/hicum2/hic2_out.sp b/tests/adms/hicum2/hic2_out.sp index 5e3343112..55be0d308 100644 --- a/tests/adms/hicum2/hic2_out.sp +++ b/tests/adms/hicum2/hic2_out.sp @@ -1,54 +1,17 @@ -HICUM2 Output Test Ic=f(Vc,Ib) +HICUM2v2.2 Output Test Ic=f(Vc,Ib) IB 0 B 200n VC C 0 3.0 VS S 0 0.0 -Q1 C B 0 S MOD +Q1 C B 0 S DT hicumL2V2p2_c_slh .control -dc vc 0.0 2.0 0.05 ib 5u 25u 5u +dc vc 0.0 2.0 0.05 ib 10u 50u 10u run plot abs(i(vc)) +plot v(dt) .endc -.model MOD NPN LEVEL=8 tnom=27.00 -+ c10=3.680e-30 qp0=1.480e-14 ich=2.470e-02 hfc=1.000e+00 -+ hfe=1.000e+00 hjci=4.000e-02 hjei=1.000e+00 alit=4.500e-01 -+ mcf=1.015e+00 -+ cjei0=2.830e-14 vdei=7.500e-01 zei=3.660e-01 -+ cjci0=1.690e-14 vdci=9.090e-01 zci=4.340e-01 vptci=1.370e+01 -+ t0=2.310e-12 dt0h=5.000e-14 tbvl=0.000e+00 tef0=2.500e-13 -+ gtfe=1.000e+00 thcs=9.000e-11 fthc=6.000e-01 -+ alqf=2.250e-01 -+ rci0=3.470e+01 vlim=8.000e-01 vpt=1.000e+01 vces=8.000e-02 -+ tr=0.000e+00 -+ ibeis=5.750e-19 mbei=1.065e+00 ireis=2.870e-15 mrei=2.045e+00 -+ ibcis=0.000e+00 mbci=1.500e+00 -+ favl=8.200e+01 qavl=3.220e-13 -+ rbi0=3.559e+01 fdqr0=1.320e-01 fgeo=7.397e-01 fqi=8.957e-01 -+ fcrbi=2.000e-01 -+ latb=8.035e-01 latl=8.300e-02 -+ cjep0=3.660e-15 vdep=7.500e-01 zep=8.530e-01 -+ ibeps=1.020e-18 mbep=1.070e+00 ireps=5.090e-15 mrep=2.245e+00 -+ ibets=0.000e+00 abet=4.000e+01 -+ cjcx0=1.590e-14 vdcx=6.170e-01 zcx=2.570e-01 vptcx=2.550e+00 -*obsolete in va2.2 ccox=4.670e-15 fbc=9.990e-01 -+ ibcxs=2.200e-16 mbcx=1.172e+00 -*obsolete in va2.2 ceox=1.420e-14 -+ rbx=2.136e+01 re=3.459e+00 rcx=1.686e+01 -+ itss=5.820e-19 msf=1.080e+00 tsf=1.000e-09 iscs=4.920e-14 -+ msc=1.050e+00 -*obsolete in va2.2 msr=1.000e+00 -+ cjs0=4.720e-14 vds=5.480e-01 zs=2.430e-01 vpts=1.000e+10 -+ rsu=0.000e+00 csu=0.000e+00 -+ kf=4.870e-13 af=1.000e+00 -*obsolete in va2.2 aljei=1.880e+00 -*obsolete in va2.2 aljep=2.200e+00 -*obsolete in va2.2 alhc=4.000e-02 -*obsolete in va2.2 krbi=1.000e+00 -+ vgb=1.014e+00 alb=-7.000e-03 alt0=1.000e-04 kt0=1.000e-07 -+ zetaci=9.300e-01 alvs=1.000e-03 alces=4.000e-04 zetarbi=3.300e-01 -+ zetarbx=1.000e-02 zetarcx=3.100e-01 zetare=0.000e+00 alfav=0.000e+00 -+ alqav=0.000e+00 rth=0.000e+00 cth=0.000e+00 +.include model-card-hicumL2V2p21sp.lib .end diff --git a/tests/adms/hicum2/model-card-hicumL2V2p21.lib b/tests/adms/hicum2/model-card-hicumL2V2p21.lib index dadb2f25e..f4633f1c8 100644 --- a/tests/adms/hicum2/model-card-hicumL2V2p21.lib +++ b/tests/adms/hicum2/model-card-hicumL2V2p21.lib @@ -5,8 +5,8 @@ ******************************************************************************** * 1D transistor: Isothermal Simulation and Temperature dependence ******************************************************************************** -subckt hicumL2V2p2_1D c b e s -qhcm22 (c b e s) hic2_full c10=3.76E-32 qp0=2.78e-14 ich=2.09e-2 hfe=1.0 hfc=1.0 hjei=1.0 +.model hicumL2V2p2_1D npn level=8 ++ c10=3.76E-32 qp0=2.78e-14 ich=2.09e-2 hfe=1.0 hfc=1.0 hjei=1.0 + hjci=1.0 tr=0.0 ibeis=1.16E-20 mbei=1.015 ireis=1.16e-16 mrei=2.0 ibeps=0.0 + mbep=1.015 ireps=0.0 mrep=2.0 mcf=1.0 tbhrec=0.0 ibcis=1.16e-20 mbci=1.015 ibcxs=0.0 + mbcx=1.03 ibets=0.0 abet=40.0 tunode=1.0 favl=1.186 qavl=11.1e-5 alfav=0.825e-4 @@ -21,16 +21,16 @@ qhcm22 (c b e s) hic2_full c10=3.76E-32 qp0=2.78e-14 ich=2.09e-2 hfe=1.0 hfc=1.0 + alt0=0.0 kt0=0.0 zetaci=1.6 alvs=1.0e-3 alces=0.4e-3 zetarbi=0.588 zetarbx=0.206 + zetarcx=0.223 zetare=0.0 zetacx=2.2 vge=1.1386 vgc=1.1143 vgs=1.15 f1vg=-1.02377e-4 + f2vg=4.3215e-4 zetact=3.5 zetabet=4.0 flsh=0.0 rth=1000.0 cth=1.0e-10 tnom=27.0 dt=0.0 -ends hicumL2V2p2_1D + ******************************************************************************** * 1D transistor: Electrothermal Simulation to test self-heating ******************************************************************************** -subckt hicumL2V2p2_1D_slh c b e s -qhcm22 (c b e s) hic2_full c10=3.76E-32 qp0=2.78e-14 ich=2.09e-2 hfe=1.0 hfc=1.0 hjei=1.0 +.model hicumL2V2p2_1D_slh npn level=8 ++ c10=3.76E-32 qp0=2.78e-14 ich=2.09e-2 hfe=1.0 hfc=1.0 hjei=1.0 + hjci=1.0 tr=0.0 ibeis=1.16E-20 mbei=1.015 ireis=1.16e-16 mrei=2.0 ibeps=0.0 + mbep=1.015 ireps=0.0 mrep=2.0 mcf=1.0 tbhrec=0.0 ibcis=1.16e-20 mbci=1.015 ibcxs=0.0 + mbcx=1.03 ibets=0.0 abet=40.0 tunode=1.0 favl=1.186 qavl=11.1e-5 alfav=0.825e-4 -+ alqav=0.196e-3 rbi0=0.0 rbx=0.0 fgeo=0.73 fdqr0=0.2 fcrbi=0.0 flcomp=1 ++ alqav=0.196e-3 rbi0=0.0 rbx=0.0 fgeo=0.73 fdqr0=0.2 fcrbi=0.0 flcomp=1 + fqi=1.0 re=0.0 rcx=0.0 itss=0.0 msf=1.05 iscs=0.0 msc=1.0 tsf=1.05 rsu=0.0 + csu=0.0 cjei0=8.11e-15 vdei=0.95 zei=0.5 ajei=1.8 cjep0=1.0e-20 vdep=1.05 + zep=0.4 ajep=2.4 cjci0=1.16e-15 vdci=0.8 zci=0.333 vptci=46 cjcx0=1.0e-20 @@ -41,16 +41,16 @@ qhcm22 (c b e s) hic2_full c10=3.76E-32 qp0=2.78e-14 ich=2.09e-2 hfe=1.0 hfc=1.0 + alt0=0.0 kt0=0.0 zetaci=1.6 alvs=1.0e-3 alces=0.4e-3 zetarbi=0.588 zetarbx=0.206 + zetarcx=0.223 zetare=0.0 zetacx=2.2 vge=1.1386 vgc=1.1143 vgs=1.15 f1vg=-1.02377e-4 + f2vg=4.3215e-4 zetact=3.5 zetabet=4.0 flsh=1.0 rth=1000.0 cth=1.0e-10 tnom=27.0 dt=0.0 -ends hicumL2V2p2_1D_slh + ******************************************************************************** -* 1D transistor: Isothermal Simulation with NQS Effect : future +* 1D transistor: Isothermal Simulation with NQS Effect: future ******************************************************************************** -subckt hicumL2V2p2_1D_nqs c b e s -qhcm22 (c b e s) hic2_full c10=3.76E-32 qp0=2.78e-14 ich=2.09e-2 hfe=1.0 hfc=1.0 hjei=1.0 +.model hicumL2V2p2_1D_nqs npn level=8 ++ c10=3.76E-32 qp0=2.78e-14 ich=2.09e-2 hfe=1.0 hfc=1.0 hjei=1.0 + hjci=1.0 tr=0.0 ibeis=1.16E-20 mbei=1.015 ireis=1.16e-16 mrei=2.0 ibeps=0.0 + mbep=1.015 ireps=0.0 mrep=2.0 mcf=1.0 tbhrec=0.0 ibcis=1.16e-20 mbci=1.015 ibcxs=0.0 + mbcx=1.03 ibets=0.0 abet=40.0 tunode=1.0 favl=1.186 qavl=11.1e-5 alfav=0.825e-4 -+ alqav=0.196e-3 rbi0=0.0 rbx=0.0 fgeo=0.73 fdqr0=0.2 fcrbi=0.0 flcomp=1 ++ alqav=0.196e-3 rbi0=0.0 rbx=0.0 fgeo=0.73 fdqr0=0.2 fcrbi=0.0 flcomp=1 + fqi=1.0 re=0.0 rcx=0.0 itss=0.0 msf=1.05 iscs=0.0 msc=1.0 tsf=1.05 rsu=0.0 + csu=0.0 cjei0=8.11e-15 vdei=0.95 zei=0.5 ajei=1.8 cjep0=1.0e-20 vdep=1.05 + zep=0.4 ajep=2.4 cjci0=1.16e-15 vdci=0.8 zci=0.333 vptci=46 cjcx0=1.0e-20 @@ -61,16 +61,16 @@ qhcm22 (c b e s) hic2_full c10=3.76E-32 qp0=2.78e-14 ich=2.09e-2 hfe=1.0 hfc=1.0 + alt0=0.0 kt0=0.0 zetaci=1.6 alvs=1.0e-3 alces=0.4e-3 zetarbi=0.588 zetarbx=0.206 + zetarcx=0.223 zetare=0.0 zetacx=2.2 vge=1.1386 vgc=1.1143 vgs=1.15 f1vg=-1.02377e-4 + f2vg=4.3215e-4 zetact=3.5 zetabet=4.0 flsh=0.0 rth=1000.0 cth=1.0e-10 tnom=27.0 dt=0.0 -ends hicumL2V2p2_1D_nqs + ******************************************************************************** * 1D transistor: Isothermal Simulation to test collector current spreading ******************************************************************************** -subckt hicumL2V2p2_1D_ccs c b e s -qhcm22 (c b e s) hic2_full c10=3.76E-32 qp0=2.78e-14 ich=2.09e-2 hfe=1.0 hfc=1.0 hjei=1.0 +.model hicumL2V2p2_1D_ccs npn level=8 ++ c10=3.76E-32 qp0=2.78e-14 ich=2.09e-2 hfe=1.0 hfc=1.0 hjei=1.0 + hjci=1.0 tr=0.0 ibeis=1.16E-20 mbei=1.015 ireis=1.16e-16 mrei=2.0 ibeps=0.0 + mbep=1.015 ireps=0.0 mrep=2.0 mcf=1.0 tbhrec=0.0 ibcis=1.16e-20 mbci=1.015 ibcxs=0.0 + mbcx=1.03 ibets=0.0 abet=40.0 tunode=1.0 favl=1.186 qavl=11.1e-5 alfav=0.825e-4 -+ alqav=0.196e-3 rbi0=0.0 rbx=0.0 fgeo=0.73 fdqr0=0.2 fcrbi=0.0 flcomp=1 ++ alqav=0.196e-3 rbi0=0.0 rbx=0.0 fgeo=0.73 fdqr0=0.2 fcrbi=0.0 flcomp=1 + fqi=1.0 re=0.0 rcx=0.0 itss=0.0 msf=1.05 iscs=0.0 msc=1.0 tsf=1.05 rsu=0.0 + csu=0.0 cjei0=8.11e-15 vdei=0.95 zei=0.5 ajei=1.8 cjep0=1.0e-20 vdep=1.05 + zep=0.4 ajep=2.4 cjci0=1.16e-15 vdci=0.8 zci=0.333 vptci=46 cjcx0=1.0e-20 @@ -81,16 +81,16 @@ qhcm22 (c b e s) hic2_full c10=3.76E-32 qp0=2.78e-14 ich=2.09e-2 hfe=1.0 hfc=1.0 + alt0=0.0 kt0=0.0 zetaci=1.6 alvs=1.0e-3 alces=0.4e-3 zetarbi=0.588 zetarbx=0.206 + zetarcx=0.223 zetare=0.0 zetacx=2.2 vge=1.1386 vgc=1.1143 vgs=1.15 f1vg=-1.02377e-4 + f2vg=4.3215e-4 zetact=3.5 zetabet=4.0 flsh=0.0 rth=1000.0 cth=1.0e-10 tnom=27.0 dt=0.0 -ends hicumL2V2p2_1D_ccs + ******************************************************************************** * Internal transistor (with Itun at peripheral node): Isothermal Simulation and Temperature dependence ******************************************************************************** -subckt hicumL2V2p2_i_tnp c b e s -qhcm22 (c b e s) hic2_full c10=3.76E-32 qp0=2.78e-14 ich=2.09e-2 hfe=1.0 hfc=1.0 hjei=1.0 +.model hicumL2V2p2_i_tnp npn level=8 ++ c10=3.76E-32 qp0=2.78e-14 ich=2.09e-2 hfe=1.0 hfc=1.0 hjei=1.0 + hjci=1.0 tr=0.0 ibeis=1.16E-20 mbei=1.015 ireis=1.16e-16 mrei=2.0 ibeps=0.0 + mbep=1.015 ireps=0.0 mrep=2.0 mcf=1.0 tbhrec=0.0 ibcis=1.16e-20 mbci=1.015 ibcxs=0.0 + mbcx=1.03 ibets=1.0e-20 abet=40.0 tunode=1.0 favl=1.186 qavl=11.1e-5 alfav=0.825e-4 -+ alqav=0.196e-3 rbi0=71.76 rbx=0.0 fgeo=0.73 fdqr0=0.2 fcrbi=0.0 flcomp=1 ++ alqav=0.196e-3 rbi0=71.76 rbx=0.0 fgeo=0.73 fdqr0=0.2 fcrbi=0.0 flcomp=1 + fqi=1.0 re=0.0 rcx=0.0 itss=0.0 msf=1.05 iscs=0.0 msc=1.0 tsf=1.05 rsu=0.0 + csu=0.0 cjei0=8.11e-15 vdei=0.95 zei=0.5 ajei=1.8 cjep0=1.0e-20 vdep=1.05 + zep=0.4 ajep=2.4 cjci0=1.16e-15 vdci=0.8 zci=0.333 vptci=46 cjcx0=1.0e-20 @@ -101,16 +101,16 @@ qhcm22 (c b e s) hic2_full c10=3.76E-32 qp0=2.78e-14 ich=2.09e-2 hfe=1.0 hfc=1.0 + alt0=0.0 kt0=0.0 zetaci=1.6 alvs=1.0e-3 alces=0.4e-3 zetarbi=0.588 zetarbx=0.206 + zetarcx=0.223 zetare=0.0 zetacx=2.2 vge=1.1386 vgc=1.1143 vgs=1.15 f1vg=-1.02377e-4 + f2vg=4.3215e-4 zetact=3.5 zetabet=4.0 flsh=0.0 rth=1000.0 cth=1.0e-10 tnom=27.0 dt=0.0 -ends hicumL2V2p2_i_tnp + ******************************************************************************** * Internal transistor (with Itun at internal node): Isothermal Simulation and Temperature dependence ******************************************************************************** -subckt hicumL2V2p2_i_tni c b e s -qhcm22 (c b e s) hic2_full c10=3.76E-32 qp0=2.78e-14 ich=2.09e-2 hfe=1.0 hfc=1.0 hjei=1.0 +.model hicumL2V2p2_i_tni npn level=8 ++ c10=3.76E-32 qp0=2.78e-14 ich=2.09e-2 hfe=1.0 hfc=1.0 hjei=1.0 + hjci=1.0 tr=0.0 ibeis=1.16E-20 mbei=1.015 ireis=1.16e-16 mrei=2.0 ibeps=0.0 + mbep=1.015 ireps=0.0 mrep=2.0 mcf=1.0 tbhrec=0.0 ibcis=1.16e-20 mbci=1.015 ibcxs=0.0 + mbcx=1.03 ibets=1.0e-20 abet=40.0 tunode=0.0 favl=1.186 qavl=11.1e-5 alfav=0.825e-4 -+ alqav=0.196e-3 rbi0=71.76 rbx=0.0 fgeo=0.73 fdqr0=0.2 fcrbi=0.0 flcomp=1 ++ alqav=0.196e-3 rbi0=71.76 rbx=0.0 fgeo=0.73 fdqr0=0.2 fcrbi=0.0 flcomp=1 + fqi=1.0 re=0.0 rcx=0.0 itss=0.0 msf=1.05 iscs=0.0 msc=1.0 tsf=1.05 rsu=0.0 + csu=0.0 cjei0=8.11e-15 vdei=0.95 zei=0.5 ajei=1.8 cjep0=1.0e-20 vdep=1.05 + zep=0.4 ajep=2.4 cjci0=1.16e-15 vdci=0.8 zci=0.333 vptci=46 cjcx0=1.0e-20 @@ -121,16 +121,16 @@ qhcm22 (c b e s) hic2_full c10=3.76E-32 qp0=2.78e-14 ich=2.09e-2 hfe=1.0 hfc=1.0 + alt0=0.0 kt0=0.0 zetaci=1.6 alvs=1.0e-3 alces=0.4e-3 zetarbi=0.588 zetarbx=0.206 + zetarcx=0.223 zetare=0.0 zetacx=2.2 vge=1.1386 vgc=1.1143 vgs=1.15 f1vg=-1.02377e-4 + f2vg=4.3215e-4 zetact=3.5 zetabet=4.0 flsh=0.0 rth=1000.0 cth=1.0e-10 tnom=27.0 dt=0.0 -ends hicumL2V2p2_i_tni + ******************************************************************************** * Complete transistor: Isothermal Simulation and Temperature dependence ******************************************************************************** -subckt hicumL2V2p2_c c b e s -qhcm22 (c b e s) hic2_full c10=3.76E-32 qp0=2.78e-14 ich=2.09e-2 hfe=1.0 hfc=1.0 hjei=1.0 +.model hicumL2V2p2_c npn level=8 ++ c10=3.76E-32 qp0=2.78e-14 ich=2.09e-2 hfe=1.0 hfc=1.0 hjei=1.0 + hjci=1.0 tr=0.0 ibeis=1.16E-20 mbei=1.015 ireis=1.16e-16 mrei=2.0 ibeps=3.72e-21 + mbep=1.015 ireps=1.0e-30 mrep=2.0 mcf=1.0 tbhrec=250.0 ibcis=1.16e-20 mbci=1.015 ibcxs=4.39e-20 + mbcx=1.03 ibets=1.0e-20 abet=40.0 tunode=1.0 favl=1.186 qavl=11.1e-5 alfav=0.825e-4 -+ alqav=0.196e-3 rbi0=71.76 rbx=8.83 fgeo=0.73 fdqr0=0.2 fcrbi=0.0 flcomp=1 ++ alqav=0.196e-3 rbi0=71.76 rbx=8.83 fgeo=0.73 fdqr0=0.2 fcrbi=0.0 flcomp=1 + fqi=1.0 re=12.534 rcx=9.165 itss=0.0 msf=1.05 iscs=0.0 msc=1.0 tsf=1.05 rsu=0.0 + csu=0.0 cjei0=8.11e-15 vdei=0.95 zei=0.5 ajei=1.8 cjep0=2.07e-15 vdep=1.05 + zep=0.4 ajep=2.4 cjci0=1.16e-15 vdci=0.8 zci=0.333 vptci=46 cjcx0=5.4e-15 @@ -141,16 +141,16 @@ qhcm22 (c b e s) hic2_full c10=3.76E-32 qp0=2.78e-14 ich=2.09e-2 hfe=1.0 hfc=1.0 + alt0=0.0 kt0=0.0 zetaci=1.6 alvs=1.0e-3 alces=0.4e-3 zetarbi=0.588 zetarbx=0.206 + zetarcx=0.223 zetare=0.0 zetacx=2.2 vge=1.1386 vgc=1.1143 vgs=1.15 f1vg=-1.02377e-4 + f2vg=4.3215e-4 zetact=3.5 zetabet=4.0 flsh=0.0 rth=1000.0 cth=1.0e-10 tnom=27.0 dt=0.0 -ends hicumL2V2p2_c + ******************************************************************************** * Complete transistor: Electrothermal Simulation to test self-heating ******************************************************************************** -subckt hicumL2V2p2_c_slh c b e s -qhcm22 (c b e s) hic2_full c10=3.76E-32 qp0=2.78e-14 ich=2.09e-2 hfe=1.0 hfc=1.0 hjei=1.0 +.model hicumL2V2p2_c_slh npn level=8 ++ c10=3.76E-32 qp0=2.78e-14 ich=2.09e-2 hfe=1.0 hfc=1.0 hjei=1.0 + hjci=1.0 tr=0.0 ibeis=1.16E-20 mbei=1.015 ireis=1.16e-16 mrei=2.0 ibeps=3.72e-21 + mbep=1.015 ireps=1.0e-30 mrep=2.0 mcf=1.0 tbhrec=250.0 ibcis=1.16e-20 mbci=1.015 ibcxs=4.39e-20 + mbcx=1.03 ibets=1.0e-20 abet=40.0 tunode=1.0 favl=1.186 qavl=11.1e-5 alfav=0.825e-4 -+ alqav=0.196e-3 rbi0=71.76 rbx=8.83 fgeo=0.73 fdqr0=0.2 fcrbi=0.0 flcomp=1 ++ alqav=0.196e-3 rbi0=71.76 rbx=8.83 fgeo=0.73 fdqr0=0.2 fcrbi=0.0 flcomp=1 + fqi=1.0 re=12.534 rcx=9.165 itss=0.0 msf=1.05 iscs=0.0 msc=1.0 tsf=1.05 rsu=0.0 + csu=0.0 cjei0=8.11e-15 vdei=0.95 zei=0.5 ajei=1.8 cjep0=2.07e-15 vdep=1.05 + zep=0.4 ajep=2.4 cjci0=1.16e-15 vdci=0.8 zci=0.333 vptci=46 cjcx0=5.4e-15 @@ -161,16 +161,16 @@ qhcm22 (c b e s) hic2_full c10=3.76E-32 qp0=2.78e-14 ich=2.09e-2 hfe=1.0 hfc=1.0 + alt0=0.0 kt0=0.0 zetaci=1.6 alvs=1.0e-3 alces=0.4e-3 zetarbi=0.588 zetarbx=0.206 + zetarcx=0.223 zetare=0.0 zetacx=2.2 vge=1.1386 vgc=1.1143 vgs=1.15 f1vg=-1.02377e-4 + f2vg=4.3215e-4 zetact=3.5 zetabet=4.0 flsh=1.0 rth=1000.0 cth=1.0e-10 tnom=27.0 dt=0.0 -ends hicumL2V2p2_c_slh + ******************************************************************************** -* Complete transistor: Isothermal Simulation with NQS Effect : future +* Complete transistor: Isothermal Simulation with NQS Effect: future ******************************************************************************** -subckt hicumL2V2p2_c_nqs c b e s -qhcm22 (c b e s) hic2_full c10=3.76E-32 qp0=2.78e-14 ich=2.09e-2 hfe=1.0 hfc=1.0 hjei=1.0 +.model hicumL2V2p2_c_nqs npn level=8 ++ c10=3.76E-32 qp0=2.78e-14 ich=2.09e-2 hfe=1.0 hfc=1.0 hjei=1.0 + hjci=1.0 tr=0.0 ibeis=1.16E-20 mbei=1.015 ireis=1.16e-16 mrei=2.0 ibeps=3.72e-21 + mbep=1.015 ireps=1.0e-30 mrep=2.0 mcf=1.0 tbhrec=250.0 ibcis=1.16e-20 mbci=1.015 ibcxs=4.39e-20 + mbcx=1.03 ibets=1.0e-20 abet=40.0 tunode=1.0 favl=1.186 qavl=11.1e-5 alfav=0.825e-4 -+ alqav=0.196e-3 rbi0=71.76 rbx=8.83 fgeo=0.73 fdqr0=0.2 fcrbi=0.0 flcomp=1 ++ alqav=0.196e-3 rbi0=71.76 rbx=8.83 fgeo=0.73 fdqr0=0.2 fcrbi=0.0 flcomp=1 + fqi=1.0 re=12.534 rcx=9.165 itss=0.0 msf=1.05 iscs=0.0 msc=1.0 tsf=1.05 rsu=0.0 + csu=0.0 cjei0=8.11e-15 vdei=0.95 zei=0.5 ajei=1.8 cjep0=2.07e-15 vdep=1.05 + zep=0.4 ajep=2.4 cjci0=1.16e-15 vdci=0.8 zci=0.333 vptci=46 cjcx0=5.4e-15 @@ -181,16 +181,16 @@ qhcm22 (c b e s) hic2_full c10=3.76E-32 qp0=2.78e-14 ich=2.09e-2 hfe=1.0 hfc=1.0 + alt0=0.0 kt0=0.0 zetaci=1.6 alvs=1.0e-3 alces=0.4e-3 zetarbi=0.588 zetarbx=0.206 + zetarcx=0.223 zetare=0.0 zetacx=2.2 vge=1.1386 vgc=1.1143 vgs=1.15 f1vg=-1.02377e-4 + f2vg=4.3215e-4 zetact=3.5 zetabet=4.0 flsh=0.0 rth=1000.0 cth=1.0e-10 tnom=27.0 dt=0.0 -ends hicumL2V2p2_c_nqs + ******************************************************************************** * Complete transistor: Isothermal Simulation to test collector current spreading ******************************************************************************** -subckt hicumL2V2p2_c_ccs c b e s -qhcm22 (c b e s) hic2_full c10=3.76E-32 qp0=2.78e-14 ich=2.09e-2 hfe=1.0 hfc=1.0 hjei=1.0 +.model hicumL2V2p2_c_ccs npn level=8 ++ c10=3.76E-32 qp0=2.78e-14 ich=2.09e-2 hfe=1.0 hfc=1.0 hjei=1.0 + hjci=1.0 tr=0.0 ibeis=1.16E-20 mbei=1.015 ireis=1.16e-16 mrei=2.0 ibeps=3.72e-21 + mbep=1.015 ireps=1.0e-30 mrep=2.0 mcf=1.0 tbhrec=250.0 ibcis=1.16e-20 mbci=1.015 ibcxs=4.39e-20 + mbcx=1.03 ibets=1.0e-20 abet=40.0 tunode=1.0 favl=1.186 qavl=11.1e-5 alfav=0.825e-4 -+ alqav=0.196e-3 rbi0=71.76 rbx=8.83 fgeo=0.73 fdqr0=0.2 fcrbi=0.0 flcomp=1 ++ alqav=0.196e-3 rbi0=71.76 rbx=8.83 fgeo=0.73 fdqr0=0.2 fcrbi=0.0 flcomp=1 + fqi=1.0 re=12.534 rcx=9.165 itss=0.0 msf=1.05 iscs=0.0 msc=1.0 tsf=1.05 rsu=0.0 + csu=0.0 cjei0=8.11e-15 vdei=0.95 zei=0.5 ajei=1.8 cjep0=2.07e-15 vdep=1.05 + zep=0.4 ajep=2.4 cjci0=1.16e-15 vdci=0.8 zci=0.333 vptci=46 cjcx0=5.4e-15 @@ -201,16 +201,16 @@ qhcm22 (c b e s) hic2_full c10=3.76E-32 qp0=2.78e-14 ich=2.09e-2 hfe=1.0 hfc=1.0 + alt0=0.0 kt0=0.0 zetaci=1.6 alvs=1.0e-3 alces=0.4e-3 zetarbi=0.588 zetarbx=0.206 + zetarcx=0.223 zetare=0.0 zetacx=2.2 vge=1.1386 vgc=1.1143 vgs=1.15 f1vg=-1.02377e-4 + f2vg=4.3215e-4 zetact=3.5 zetabet=4.0 flsh=0.0 rth=1000.0 cth=1.0e-10 tnom=27.0 dt=0.0 -ends hicumL2V2p2_c_ccs + ******************************************************************************** * Complete transistor: Isothermal Simulation with substrate transistor ******************************************************************************** -subckt hicumL2V2p2_c_sbt c b e s -qhcm22 (c b e s) hic2_full c10=3.76E-32 qp0=2.78e-14 ich=2.09e-2 hfe=1.0 hfc=1.0 hjei=1.0 +.model hicumL2V2p2_c_sbt npn level=8 ++ c10=3.76E-32 qp0=2.78e-14 ich=2.09e-2 hfe=1.0 hfc=1.0 hjei=1.0 + hjci=1.0 tr=0.0 ibeis=1.16E-20 mbei=1.015 ireis=1.16e-16 mrei=2.0 ibeps=3.72e-21 + mbep=1.015 ireps=1.0e-30 mrep=2.0 mcf=1.0 tbhrec=250.0 ibcis=1.16e-20 mbci=1.015 ibcxs=4.39e-20 + mbcx=1.03 ibets=1.0e-20 abet=40.0 tunode=1.0 favl=1.186 qavl=11.1e-5 alfav=0.825e-4 -+ alqav=0.196e-3 rbi0=71.76 rbx=8.83 fgeo=0.73 fdqr0=0.2 fcrbi=0.0 flcomp=1 ++ alqav=0.196e-3 rbi0=71.76 rbx=8.83 fgeo=0.73 fdqr0=0.2 fcrbi=0.0 flcomp=1 + fqi=1.0 re=12.534 rcx=9.165 itss=1.0e-16 msf=1.05 iscs=1.0e-17 msc=1.0 tsf=1.05 rsu=0.0 + csu=0.0 cjei0=8.11e-15 vdei=0.95 zei=0.5 ajei=1.8 cjep0=2.07e-15 vdep=1.05 + zep=0.4 ajep=2.4 cjci0=1.16e-15 vdci=0.8 zci=0.333 vptci=46 cjcx0=5.4e-15 @@ -221,16 +221,16 @@ qhcm22 (c b e s) hic2_full c10=3.76E-32 qp0=2.78e-14 ich=2.09e-2 hfe=1.0 hfc=1.0 + alt0=0.0 kt0=0.0 zetaci=1.6 alvs=1.0e-3 alces=0.4e-3 zetarbi=0.588 zetarbx=0.206 + zetarcx=0.223 zetare=0.0 zetacx=2.2 vge=1.1386 vgc=1.1143 vgs=1.15 f1vg=-1.02377e-4 + f2vg=4.3215e-4 zetact=3.5 zetabet=4.0 flsh=0.0 rth=1000.0 cth=1.0e-10 tnom=27.0 dt=0.0 -ends hicumL2V2p2_c_sbt + ******************************************************************************** * Complete transistor: Isothermal Simulation with substrate network ******************************************************************************** -subckt hicumL2V2p2_c_sbn c b e s -qhcm22 (c b e s) hic2_full c10=3.76E-32 qp0=2.78e-14 ich=2.09e-2 hfe=1.0 hfc=1.0 hjei=1.0 +.model hicumL2V2p2_c_sbn npn level=8 ++ c10=3.76E-32 qp0=2.78e-14 ich=2.09e-2 hfe=1.0 hfc=1.0 hjei=1.0 + hjci=1.0 tr=0.0 ibeis=1.16E-20 mbei=1.015 ireis=1.16e-16 mrei=2.0 ibeps=3.72e-21 + mbep=1.015 ireps=1.0e-30 mrep=2.0 mcf=1.0 tbhrec=250.0 ibcis=1.16e-20 mbci=1.015 ibcxs=4.39e-20 + mbcx=1.03 ibets=1.0e-20 abet=40.0 tunode=1.0 favl=1.186 qavl=11.1e-5 alfav=0.825e-4 -+ alqav=0.196e-3 rbi0=71.76 rbx=8.83 fgeo=0.73 fdqr0=0.2 fcrbi=0.0 flcomp=1 ++ alqav=0.196e-3 rbi0=71.76 rbx=8.83 fgeo=0.73 fdqr0=0.2 fcrbi=0.0 flcomp=1 + fqi=1.0 re=12.534 rcx=9.165 itss=1.0e-16 msf=1.05 iscs=1.0e-17 msc=1.0 tsf=1.05 rsu=10.0 + csu=2.1e-15 cjei0=8.11e-15 vdei=0.95 zei=0.5 ajei=1.8 cjep0=2.07e-15 vdep=1.05 + zep=0.4 ajep=2.4 cjci0=1.16e-15 vdci=0.8 zci=0.333 vptci=46 cjcx0=5.4e-15 @@ -241,11 +241,10 @@ qhcm22 (c b e s) hic2_full c10=3.76E-32 qp0=2.78e-14 ich=2.09e-2 hfe=1.0 hfc=1.0 + alt0=0.0 kt0=0.0 zetaci=1.6 alvs=1.0e-3 alces=0.4e-3 zetarbi=0.588 zetarbx=0.206 + zetarcx=0.223 zetare=0.0 zetacx=2.2 vge=1.1386 vgc=1.1143 vgs=1.15 f1vg=-1.02377e-4 + f2vg=4.3215e-4 zetact=3.5 zetabet=4.0 flsh=0.0 rth=1000.0 cth=1.0e-10 tnom=27.0 dt=0.0 -ends hicumL2V2p2_c_sbn + ******************************************************************************** * Complete test transistor: default ******************************************************************************** -subckt hicumL2V2p2_default c b e s -qhcm22 (c b e s) hic2_full -ends hicumL2V2p2_default -******************************************************************************** \ No newline at end of file +.model hicumL2V2p2_default npn level=8 + +******************************************************************************** diff --git a/tests/adms/mextram/mex_gum.sp b/tests/adms/mextram/mex_gum.sp index 005ea0133..dcea13de2 100644 --- a/tests/adms/mextram/mex_gum.sp +++ b/tests/adms/mextram/mex_gum.sp @@ -1,14 +1,15 @@ -mextram gum test +MEXTRAM Gummel Test Ic,b,s=f(Vc,Ib) -VB b 0 0.5 +VB B 0 0.5 VC C 0 2.0 VS S 0 0.0 Q1 C B 0 S BJTRF1 .control -dc vb 0.2 1.0 0.05 +dc vb 0.2 1.4 0.01 run -plot abs(i(vc)) abs(i(vb)) ylog +plot abs(i(vc)) abs(i(vb)) abs(i(vs)) ylog xlimit 0.3 1.4 ylimit 1e-12 100e-3 +plot abs(i(vc))/abs(i(vb)) vs abs(-i(vc)) xlog xlimit 1e-09 10e-3 ylimit 0 150 .endc .model BJTRF1 NPN LEVEL=6 diff --git a/tests/adms/mextram/mex_out.sp b/tests/adms/mextram/mex_out.sp index bacf704e7..cce762b73 100644 --- a/tests/adms/mextram/mex_out.sp +++ b/tests/adms/mextram/mex_out.sp @@ -1,4 +1,4 @@ -mextram out test +MEXTRAM Output Test Ic=f(Vc,Ib) IB 0 b 200n VC C 0 2.0 @@ -6,7 +6,7 @@ VS S 0 0.0 Q1 C B 0 S BJTRF1 .control -dc vc 0.0 2.0 0.05 ib 1u 10u 1u +dc vc 0.0 2.0 0.05 ib 500n 5u 500n run plot abs(i(vc)) .endc