#.subckt huf75545 2 1 3 #*nom temp=25 deg c #*21 may 99 # template huf75545 n2,n1,n3 electrical n2,n1,n3 { var i iscl d..model dbodymod = (is=3.6e-12, cjo=4.6e-9,tt=3.3e-8,m=0.55) d..model dbreakmod = () d..model dplcapmod = (cjo=4.8e-9,is=1e-30,vj=1.0,n=10,m=0.8) m..model mmedmod = (type=_n,vto=3.04,kp=6,is=1e-30, tox=1) m..model mstrongmod = (type=_n,vto=3.5,kp=105,is=1e-30, tox=1) m..model mweakmod = (type=_n,vto=2.65,kp=0.12,is=1e-30, tox=1) sw_vcsp..model s1amod = (ron=1e-5,roff=0.1,von=-5.0,voff=-3.0) sw_vcsp..model s1bmod = (ron=1e-5,roff=0.1,von=-3.0,voff=-5.0) sw_vcsp..model s2amod = (ron=1e-5,roff=0.1,von=-1.5,voff=0.5) sw_vcsp..model s2bmod = (ron=1e-5,roff=0.1,von=0.5,voff=-1.5) c.ca n12 n8 = 5.4e-9 c.cb n15 n14 = 5.3e-9 c.cin n6 n8 = 3.4e-9 d.dbody n7 n71 = model=dbodymod res.rdbody n71 n5 =2.1e-3, tc1=1.5e-3, tc2=5.1e-6 d.dbreak n72 n11 = model=dbreakmod res.rdbreak n72 n5 =2.3e-1, tc1=0, tc2=-1.8e-5 d.dplcap n10 n5 = model=dplcapmod spe.ebreak n11 n7 n17 n18 = 87.4 spe.eds n14 n8 n5 n8 = 1 spe.egs n13 n8 n6 n8 = 1 spe.esg n6 n10 n6 n8 = 1 spe.evthres n6 n21 n19 n8 = 1 spe.evtemp n20 n6 n18 n22 = 1 i.it n8 n17 = 1 l.lgate n1 n9 = 5.1e-9 l.ldrain n2 n5 = 1.0e-9 l.lsource n3 n7 = 4.4e-9 res.rlgate n1 n9 = 51 res.rldrain n2 n5 = 10 res.rlsource n3 n7 = 44 m.mmed n16 n6 n8 n8 = model=mmedmod, l=1u, w=1u m.mstrong n16 n6 n8 n8 = model=mstrongmod, l=1u, w=1u m.mweak n16 n21 n8 n8 = model=mweakmod, l=1u, w=1u res.rbreak n17 n18 = 1, tc1=1.3e-3,tc2=-1.0e-6 res.rdrain n50 n16 = 4.8e-3, tc1=9e-3,tc2=2.8e-5 res.rgate n9 n20 = 0.87 res.rslc1 n5 n51 = 1e-6, tc1=1.53e-3,tc2=20e-6 res.rslc2 n5 n50 = 1e3 res.rsource n8 n7 = 1.6e-3, tc1=1e-3,tc2=1e-6 res.rvthres n22 n8 = 1, tc1=-2.3e-3,tc2=-1.2e-5 res.rvtemp n18 n19 = 1, tc1=-2.9e-3,tc2=0.5e-6 sw_vcsp.s1a n6 n12 n13 n8 = model=s1amod sw_vcsp.s1b n13 n12 n13 n8 = model=s1bmod sw_vcsp.s2a n6 n15 n14 n13 = model=s2amod sw_vcsp.s2b n13 n15 n14 n13 = model=s2bmod v.vbat n22 n19 = dc=1 equations { i (n51->n50) +=iscl iscl: v(n51,n50) = ((v(n5,n51)/(1e-9+abs(v(n5,n51))))*((abs(v(n5,n51)*1e6/320))** 3)) } } # #*thermal model subcircuit #.subckt huf75545t th tl #*21 may 99 # template thermal_model th tl thermal_c th, tl { ctherm.ctherm1 th c2 =6.4e-3 ctherm.ctherm2 c2 c3 =3.0e-2 ctherm.ctherm3 c3 c4 =1.4e-2 ctherm.ctherm4 c4 c5 =1.6e-2 ctherm.ctherm5 c5 c6 =5.5e-2 ctherm.ctherm6 c6 tl =1.5 rtherm.rtherm1 th c2 =3.2e-3 rtherm.rtherm2 c2 c3 =8.1e-3 rtherm.rtherm3 c3 c4 =2.3e-2 rtherm.rtherm4 c4 c5 =1.3e-1 rtherm.rtherm5 c5 c6 =1.8e-1 rtherm.rtherm6 c6 tl =3.8e-2 }