请教 tsmc 18RF spice 仿真问题
录入:edatop.com 阅读:
现在用tsmc 18RF spice 仿真,一直提示**error** model name pch_rf.1 in the element, **error** reference 0:pch_rf not found **error** model name pmos_rf in the element 换了三个mos管的名字 结果都不对 请教?
下边是库文件
.lib 'e:\hspice\rf018.l' tt_rfmos
.param a1n_rf=0 a1p_rf=0 a2np_rf=0 a3np_rf=0 a4np_rf=0
+vthnmis_rf=agauss(0,1,1) dlnmis_rf=agauss(0,1,1) dwnmis_rf=agauss(0,1,1) toxnmis_rf=agauss(0,1,1)
+vthpmis_rf=agauss(0,1,1) dlpmis_rf=agauss(0,1,1) dwpmis_rf=agauss(0,1,1) toxpmis_rf=agauss(0,1,1)
+ fac_n_rf ='0.3766*2.4'
+ fac_p_rf ='0.3766*2.1'
+ du0n_rf='a1n_rf*fac_n_rf*(-0.2e-2)'
+ dlu0n_rf='a1n_rf*fac_n_rf*(-0.5e-9)'
+ dwu0n_rf='a1n_rf*fac_n_rf*(-0.00e-9)'
+ dpu0n_rf='a1n_rf*fac_n_rf*(-0.0e-16)'
+ dvthn_rf='a1n_rf*fac_n_rf*0.0205'
+ dlvthn_rf='a1n_rf*fac_n_rf*2.9e-9'
+ dwvthn_rf='a1n_rf*fac_n_rf*6.60e-9'
+ dpvthn_rf='a1n_rf*fac_n_rf*3.0e-15'
+ toxn_rf='4.08e-09+a4np_rf*fac_n_rf*1.33e-10*0.5'
+ dxln_rf='a2np_rf*fac_n_rf*1.33e-8*0.5'
+ dxwn_rf='a3np_rf*fac_n_rf*2.2e-8*0.5'
+ dk2n_rf='a1n_rf*fac_n_rf*0.008'
+ dlk2n_rf='a1n_rf*fac_n_rf*0.4e-8'
+ dvsatn_rf= '-a1n_rf*fac_n_rf*0.4e4'
+ dwvsatn_rf= '-a1n_rf*fac_n_rf*0.0e-3'
+ deta0n_rf='0.0*a1n_rf*fac_n_rf'
+ dleta0n_rf='-0.35e-9*0.5*(a1n_rf*fac_n_rf-sqrt(a1n_rf*fac_n_rf*a1n_rf*fac_n_rf+1e-8))'
+ dweta0n_rf='0'
+ dpeta0n_rf='-1.5e-16*0.5*(a1n_rf*fac_n_rf-sqrt(a1n_rf*fac_n_rf*a1n_rf*fac_n_rf+1e-8))'
+ dnfactorn_rf='a1n_rf*fac_n_rf*0'
+ dlnfactorn_rf='a1n_rf*fac_n_rf*5e-8'
+ dwnfactorn_rf='a1n_rf*fac_n_rf*0'
+ dpnfactorn_rf='a1n_rf*fac_n_rf*0.0e-15'
+ dvoffn_rf='-a1n_rf*fac_n_rf*0.003'
+ dlvoffn_rf='-a1n_rf*fac_n_rf*1.0e-9'
+ dwvoffn_rf='-a1n_rf*fac_n_rf*0.7e-9'
+ dpvoffn_rf='-a1n_rf*fac_n_rf*1.0e-15'
+ du0p_rf='a1p_rf*fac_p_rf*(-0.007e-2)'
+ dlu0p_rf='a1p_rf*fac_p_rf*(-0.1e-9)'
+ dwu0p_rf='a1p_rf*fac_p_rf*(-0.025e-9)'
+ dpu0p_rf='a1p_rf*fac_p_rf*(-0.0e-16)'
+ dvthp_rf='a1p_rf*fac_p_rf*(-0.030)'
+ dlvthp_rf='a1p_rf*fac_p_rf*(-5.00e-9)'
+ dwvthp_rf='a1p_rf*fac_p_rf*(-1.5e-9)'
+ dpvthp_rf='a1p_rf*fac_p_rf*(-1.5e-15)'
+ toxp_rf='4.08e-09+a4np_rf*fac_p_rf*1.33e-10*0.5'
+ dxlp_rf='a2np_rf*fac_p_rf*1.33e-8*0.5'
+ dxwp_rf='a3np_rf*fac_p_rf*2.2e-8*0.5'
+ drdswp_rf='0'
+ dk2p_rf='a1p_rf*fac_p_rf*0.007'
+ dlk2p_rf='a1p_rf*fac_p_rf*0.15e-8'
+ dvsatp_rf= '-a1p_rf*fac_p_rf*0.00e4'
+ dwvsatp_rf= '-a1p_rf*fac_p_rf*0.0e-3'
+ deta0p_rf='0'
+ dleta0p_rf='-6e-10*0.5*(a1p_rf*fac_p_rf-sqrt(a1p_rf*fac_p_rf*a1p_rf*fac_p_rf+1e-8))'
+ dweta0p_rf='0'
+ dpeta0p_rf='-0.6e-16*0.5*(a1p_rf*fac_p_rf-sqrt(a1p_rf*fac_p_rf*a1p_rf*fac_p_rf+1e-8))'
+ dnfactorp_rf='a1p_rf*fac_p_rf*0'
+ dlnfactorp_rf='-a1p_rf*fac_p_rf*0.5e-8'
+ dwnfactorp_rf='-a1p_rf*fac_p_rf*0'
+ dpnfactorp_rf='0'
+ dvoffp_rf='-a1p_rf*fac_p_rf*0.000'
+ dlvoffp_rf='-a1p_rf*fac_p_rf*0.2e-8'
+ dwvoffp_rf='-a1p_rf*fac_p_rf*0.0e-8'
+ dpvoffp_rf='-a1p_rf*fac_p_rf*0.0e-15'
+cjn_rf = 0.001000266 cjswn_rf = 2.040547e-10
+cjswgn_rf = 3.340547e-10 cgon_rf = 3.665e-10
+hdifn_rf = 2e-07
+rshn_rf = 6.8
+dk1n_rf
= 0
drdswn_rf
= 0
+cjp_rf = 0.001121 cjswp_rf = 2.481e-10
+cjswgp_rf = 4.221e-10 cgop_rf = 3.28e-10
+hdifp_rf = 2e-07
+rshp_rf = 7.2
.lib 'rf018.l' rf_mos
.subckt nmos_rf d g s b lr=18.e-08 nr=64 wr=1.5e-6
.param lspace=0.54u
.param ledge=2.6u
.param ledgeeff=0.97u
.param lsti=1.84u
.param wsti=3.37u
.param rod=2570
.param rsti=4597
.param ns='int(nr/2+1)'
.param nd='int((nr+1)/2)'
.param lod='nr*(lr+lspace)+2*ledge-lspace'
.param rb='(rod*lod/12+rsti*lsti/2)*(rod*wr/12+rsti*wsti/2)/(lod*(rod*lod/12+rsti*lsti/2)+wr*(rod*wr/12+rsti*wsti/2))'
.param rdb='rod*lr/(wr*nr*2)'
*********************
rg g gi r='(0.539*wr/nr/lr+0.146/nr/(lr*1e6)+17.86/nr+584.9*lr/nr/wr+3.48)'
rs s si r='(0.0325*(lr*1e6+0.54)*(2*ns+1/ns-3) +8.666/ns + 0.4485)/(wr*1e6)'
rd d di r='0.005417*(lr*1e6+0.54)*(nd+2/nd) + 0.0929*(wr*1e6+2.94)/nd + 1.625/(1.43+(nd-1)*(lr*1e6+0.54))'
*********************
cgs_m gi si c='(1.649*nr*(lr*1e6+0.54)/(0.1*wr*1e6+4)+0.158*wr*1e6+0.737)*1e-15'
cgd_m gi di c='(0.181*nr*lr*1e6+0.153*nr+0.331)*1e-15'
cds_m si di c='(0.0713+0.0842*nr*wr*1e6/(lr*1e6+0.9)+1.051*nr*(lr*1e6+0.54)/(wr*1e6+9.8))*1e-15'
***** diodes ****************
dss sb si ndio_rf_f area = '(ns-2)*wr*lspace+2*wr*ledgeeff+(nr-int(nr/2)*2)*wr*(lspace-ledgeeff)'
+
pj='(ns-2)*lspace*2+2*(2*ledgeeff+wr)+(nr-int(nr/2)*2)*(2*(lspace-ledgeeff)-wr)'
ddd db di ndio_rf_f area = 'int(nr/2)*wr*lspace+(nr-int(nr/2)*2)*wr*ledgeeff'
+
pj='int(nr/2)*lspace*2+(nr-int(nr/2)*2)*(2*ledgeeff+wr)'
dsg sb si ndio_rf_g area = 1e-15 pj = 'wr*nr'
ddg db di ndio_rf_g area = 1e-15 pj = 'wr*nr'
*****************************************************************************
rb b bi r='rb'
cb b bi c='159f/rb'
rdb db bi r='rdb'
cdb db bi c='159f/rdb'
rsb sb bi r='rdb'
csb sb bi c='159f/rdb'
******* mosfet *******
m0 di gi si bi nch_rf l = lr w = wr m = nr ad = 0 as = 0 pd = 0 ps = 0
.model nch_rf.1 nmos
(
lmin = 1.8e-007 lmax = '5.001e-07'
+wmin = '1.5000e-06' wmax = '8.001e-06'
+level = 49 tnom = 25.0 version = 3.24
+tox = 'toxn_rf'
+toxm = 4.08e-09
+xj = 1.6000000e-07
+nch = 3.9000000e17 lln = -1 lwn = 1.0000000
+wln = 1.0000000 wwn = -1 lint = 1.0000000e-08
+ll = 0.00 lw = 0.00 lwl = 0.00
+wint = 3.0000000e-09 wl = 0.00 ww = 0.00
+wwl = 0.00 mobmod = 1 binunit = 2
+xl = '-0.02e-6+dxln_rf' xw = '0.0+dxwn_rf' dwg = 0.00
+dwb = 0.00 acm = 12 ldif = 9.00e-08
+hdif = 'hdifn_rf' rsh = 'rshn_rf' rd = 0
+rs = 0
+vth0 = '0.4751966+dvthn_rf'
+lvth0 = '5.3743360e-09+dlvthn_rf'
+wvth0 = '3.4482360e-10+dwvthn_rf'
+pvth0 = '4.5089380e-15+dpvthn_rf' k1 = 'dk1n_rf+0.4007356' lk1 = 4.9634880e-08
+wk1 = 8.8686750e-08 pk1 = -6.3891820e-15
+k2 = '6.3188600e-02+dk2n_rf'
+lk2 = '-2.3847164e-08+dlk2n_rf'
+wk2 = -3.8768180e-08 pk2 = 5.0552590e-15
+k3 = 0.00 dvt0 = 0.00 dvt1 = 0.00
+dvt2 = 0.00 dvt0w = 0.00 dvt1w = 0.00
+dvt2w = 0.00 nlx = 0.00 w0 = 0.00
+k3b = 0.00 vsat = '8.4294280e04+dvsatn_rf'
+lvsat = -2.0140363e-04
+wvsat = '1.4459029e-03+dwvsatn_rf'
+pvsat = 1.5350395e-12
+ua = -9.0172960e-10 lua = 3.5887640e-18 wua = 4.2784730e-16
+pua = -4.6390690e-23 ub = 2.7527719e-18 lub = 5.9103390e-27
+wub = -9.4519130e-25 pub = -3.5064990e-33 uc = 1.2291169e-10
+luc = 4.3605990e-18 wuc = -6.1268420e-17 puc = -2.2654354e-24
+rdsw = 'drdswn_rf+1.7000000e02' prwb = 0.00 prwg = 0.00
+wr = 1.0000000 u0 = 'du0n_rf+4.3840840e-02'
+lu0 = '1.2758692e-09+dlu0n_rf'
+wu0 = '-4.8608560e-09+dwu0n_rf'
+pu0 = '-2.4055863e-16+dpu0n_rf'
+a0 = 0.5262308
+la0 = 8.2795080e-08 wa0 = 1.4537927e-07 pa0 = -7.3379640e-14
+keta = -4.4118840e-02 lketa = 3.2284670e-09 wketa = 2.2941933e-08
+pketa = -2.7027957e-15 a1 = 0.00 a2 = 0.9900000
+ags = -2.7693154e-02 lags = 1.0727657e-09 wags = 7.7723050e-08
+pags = -1.0838496e-14 b0 = 0.00 b1 = 0.00
+voff = '-0.1247105+dvoffn_rf'
+lvoff = '-1.4487617e-09+dlvoffn_rf'
+wvoff = '1.6054964e-09+dwvoffn_rf'
+pvoff = '-9.7541500e-16+dpvoffn_rf'
+nfactor = '1.0000000+dnfactorn_rf'
+pnfactor = '0+dpnfactorn_rf'
+wnfactor = '0+dwnfactorn_rf'
+lnfactor = '0+dlnfactorn_rf'
+cit = 2.7498236e-04
+lcit = 1.0350804e-10 wcit = -3.0914837e-11 pcit = 1.4220811e-17
+cdsc = 0.00 cdscb = 0.00 cdscd = 0.00
+eta0 = '-2.9405078e-04+deta0n_rf'
+leta0 = '1.8126334e-10+dleta0n_rf'
+weta0 = '3.0046217e-12+dweta0n_rf'
+peta0 = '-1.3821218e-18+dpeta0n_rf'
+etab = 1.3878694e-03 letab = -6.8441990e-10
+wetab = -3.6866540e-12 petab = 1.6959704e-18 dsub = 0.00
+pclm = 1.1010191 lpclm = 3.8489530e-08 wpclm = 6.6560680e-08
+ppclm = 4.0427110e-14 pdiblc1 = 1.0000000e-06 pdiblc2 = -6.1190130e-03
+lpdiblc2 = 5.0530930e-09 wpdiblc2 = 1.8349379e-09 ppdiblc2 = -2.2121929e-16
+pdiblcb = 1.0000000e-02 drout = 0.00 pscbe1 = 4.0000000e08
+pscbe2 = 1.0000000e-06 pvag = 0.00 delta = 1.0000000e-02
+alpha0 = 0.0 alpha1 = 0.448150714 beta0 = 11.59263
+kt1 = -0.2269240 lkt1 = 5.0937890e-09 wkt1 = -2.2583577e-09
+pkt1 = -1.7512235e-15 kt2 = -2.9338669e-02 lkt2 = 5.9558730e-10
+wkt2 = -1.9897783e-09 pkt2 = 7.3825670e-17 at = 2.0000000e04
+ute = -2.1610963 lute = 8.2097990e-08 wute = 7.8818350e-07
+pute = -1.1786150e-13 ua1 = 1.2174792e-09 lua1 = 9.1298580e-19
+wua1 = 7.7858620e-18 pua1 = -1.0901051e-24 ub1 = -3.8124500e-18
+lub1 = 4.2482470e-25 wub1 = 2.8560549e-24 pub1 = -4.2389140e-31
+uc1 = -1.5406690e-10 luc1 = 3.2328220e-17 wuc1 = 1.5903152e-16
+puc1 = -2.7204607e-23 kt1l = 0.00 prt = 0
*
* capacitance parameters
*
+cj = 0 mj = 0.3595262 pb = 0.6882682
+cjsw = 0 mjsw = 0.2003879 pbsw = 0.6882682
+cjswg = 0 mjswg = 0.43879 pbswg = 0.6882682
+tpb = 1.554306e-03 tpbsw = 1.554306e-03 tcj = 1.040287e-03
+tcjsw = 6.45489e-04 js = 8.38e-06 jsw = 1.60e-11
+nj = 1.0 xti = 3.0 cgdo = 1.92e-10
+cgso = 1.92e-10
+cgbo = 1.0e-13 capmod = 3
+nqsmod = 0 elm = 0 xpart = 0
+cf = 0 tlev = 1 tlevc = 1
+calcacm = 1
+wwc=-0.0225
+dlc=2.68e-8
+dwc=-2.833e-8
+noff=2 lnoff=5e-8
+acde=1
+moin=10
+voffcv= -0.05 lvoffcv= 1.114e-8
+cgsl=1.31e-10
+cgdl=1.31e-10
+wcf= 2.82e-18
*
* noise parameters
*
+noimod = 2 noia = 2.0e+19 noib=1.2e4 noic = 2.5e-13
+em = 3.0e+07 ef =0.874
)
下边是库文件
.lib 'e:\hspice\rf018.l' tt_rfmos
.param a1n_rf=0 a1p_rf=0 a2np_rf=0 a3np_rf=0 a4np_rf=0
+vthnmis_rf=agauss(0,1,1) dlnmis_rf=agauss(0,1,1) dwnmis_rf=agauss(0,1,1) toxnmis_rf=agauss(0,1,1)
+vthpmis_rf=agauss(0,1,1) dlpmis_rf=agauss(0,1,1) dwpmis_rf=agauss(0,1,1) toxpmis_rf=agauss(0,1,1)
+ fac_n_rf ='0.3766*2.4'
+ fac_p_rf ='0.3766*2.1'
+ du0n_rf='a1n_rf*fac_n_rf*(-0.2e-2)'
+ dlu0n_rf='a1n_rf*fac_n_rf*(-0.5e-9)'
+ dwu0n_rf='a1n_rf*fac_n_rf*(-0.00e-9)'
+ dpu0n_rf='a1n_rf*fac_n_rf*(-0.0e-16)'
+ dvthn_rf='a1n_rf*fac_n_rf*0.0205'
+ dlvthn_rf='a1n_rf*fac_n_rf*2.9e-9'
+ dwvthn_rf='a1n_rf*fac_n_rf*6.60e-9'
+ dpvthn_rf='a1n_rf*fac_n_rf*3.0e-15'
+ toxn_rf='4.08e-09+a4np_rf*fac_n_rf*1.33e-10*0.5'
+ dxln_rf='a2np_rf*fac_n_rf*1.33e-8*0.5'
+ dxwn_rf='a3np_rf*fac_n_rf*2.2e-8*0.5'
+ dk2n_rf='a1n_rf*fac_n_rf*0.008'
+ dlk2n_rf='a1n_rf*fac_n_rf*0.4e-8'
+ dvsatn_rf= '-a1n_rf*fac_n_rf*0.4e4'
+ dwvsatn_rf= '-a1n_rf*fac_n_rf*0.0e-3'
+ deta0n_rf='0.0*a1n_rf*fac_n_rf'
+ dleta0n_rf='-0.35e-9*0.5*(a1n_rf*fac_n_rf-sqrt(a1n_rf*fac_n_rf*a1n_rf*fac_n_rf+1e-8))'
+ dweta0n_rf='0'
+ dpeta0n_rf='-1.5e-16*0.5*(a1n_rf*fac_n_rf-sqrt(a1n_rf*fac_n_rf*a1n_rf*fac_n_rf+1e-8))'
+ dnfactorn_rf='a1n_rf*fac_n_rf*0'
+ dlnfactorn_rf='a1n_rf*fac_n_rf*5e-8'
+ dwnfactorn_rf='a1n_rf*fac_n_rf*0'
+ dpnfactorn_rf='a1n_rf*fac_n_rf*0.0e-15'
+ dvoffn_rf='-a1n_rf*fac_n_rf*0.003'
+ dlvoffn_rf='-a1n_rf*fac_n_rf*1.0e-9'
+ dwvoffn_rf='-a1n_rf*fac_n_rf*0.7e-9'
+ dpvoffn_rf='-a1n_rf*fac_n_rf*1.0e-15'
+ du0p_rf='a1p_rf*fac_p_rf*(-0.007e-2)'
+ dlu0p_rf='a1p_rf*fac_p_rf*(-0.1e-9)'
+ dwu0p_rf='a1p_rf*fac_p_rf*(-0.025e-9)'
+ dpu0p_rf='a1p_rf*fac_p_rf*(-0.0e-16)'
+ dvthp_rf='a1p_rf*fac_p_rf*(-0.030)'
+ dlvthp_rf='a1p_rf*fac_p_rf*(-5.00e-9)'
+ dwvthp_rf='a1p_rf*fac_p_rf*(-1.5e-9)'
+ dpvthp_rf='a1p_rf*fac_p_rf*(-1.5e-15)'
+ toxp_rf='4.08e-09+a4np_rf*fac_p_rf*1.33e-10*0.5'
+ dxlp_rf='a2np_rf*fac_p_rf*1.33e-8*0.5'
+ dxwp_rf='a3np_rf*fac_p_rf*2.2e-8*0.5'
+ drdswp_rf='0'
+ dk2p_rf='a1p_rf*fac_p_rf*0.007'
+ dlk2p_rf='a1p_rf*fac_p_rf*0.15e-8'
+ dvsatp_rf= '-a1p_rf*fac_p_rf*0.00e4'
+ dwvsatp_rf= '-a1p_rf*fac_p_rf*0.0e-3'
+ deta0p_rf='0'
+ dleta0p_rf='-6e-10*0.5*(a1p_rf*fac_p_rf-sqrt(a1p_rf*fac_p_rf*a1p_rf*fac_p_rf+1e-8))'
+ dweta0p_rf='0'
+ dpeta0p_rf='-0.6e-16*0.5*(a1p_rf*fac_p_rf-sqrt(a1p_rf*fac_p_rf*a1p_rf*fac_p_rf+1e-8))'
+ dnfactorp_rf='a1p_rf*fac_p_rf*0'
+ dlnfactorp_rf='-a1p_rf*fac_p_rf*0.5e-8'
+ dwnfactorp_rf='-a1p_rf*fac_p_rf*0'
+ dpnfactorp_rf='0'
+ dvoffp_rf='-a1p_rf*fac_p_rf*0.000'
+ dlvoffp_rf='-a1p_rf*fac_p_rf*0.2e-8'
+ dwvoffp_rf='-a1p_rf*fac_p_rf*0.0e-8'
+ dpvoffp_rf='-a1p_rf*fac_p_rf*0.0e-15'
+cjn_rf = 0.001000266 cjswn_rf = 2.040547e-10
+cjswgn_rf = 3.340547e-10 cgon_rf = 3.665e-10
+hdifn_rf = 2e-07
+rshn_rf = 6.8
+dk1n_rf
= 0
drdswn_rf
= 0
+cjp_rf = 0.001121 cjswp_rf = 2.481e-10
+cjswgp_rf = 4.221e-10 cgop_rf = 3.28e-10
+hdifp_rf = 2e-07
+rshp_rf = 7.2
.lib 'rf018.l' rf_mos
.subckt nmos_rf d g s b lr=18.e-08 nr=64 wr=1.5e-6
.param lspace=0.54u
.param ledge=2.6u
.param ledgeeff=0.97u
.param lsti=1.84u
.param wsti=3.37u
.param rod=2570
.param rsti=4597
.param ns='int(nr/2+1)'
.param nd='int((nr+1)/2)'
.param lod='nr*(lr+lspace)+2*ledge-lspace'
.param rb='(rod*lod/12+rsti*lsti/2)*(rod*wr/12+rsti*wsti/2)/(lod*(rod*lod/12+rsti*lsti/2)+wr*(rod*wr/12+rsti*wsti/2))'
.param rdb='rod*lr/(wr*nr*2)'
*********************
rg g gi r='(0.539*wr/nr/lr+0.146/nr/(lr*1e6)+17.86/nr+584.9*lr/nr/wr+3.48)'
rs s si r='(0.0325*(lr*1e6+0.54)*(2*ns+1/ns-3) +8.666/ns + 0.4485)/(wr*1e6)'
rd d di r='0.005417*(lr*1e6+0.54)*(nd+2/nd) + 0.0929*(wr*1e6+2.94)/nd + 1.625/(1.43+(nd-1)*(lr*1e6+0.54))'
*********************
cgs_m gi si c='(1.649*nr*(lr*1e6+0.54)/(0.1*wr*1e6+4)+0.158*wr*1e6+0.737)*1e-15'
cgd_m gi di c='(0.181*nr*lr*1e6+0.153*nr+0.331)*1e-15'
cds_m si di c='(0.0713+0.0842*nr*wr*1e6/(lr*1e6+0.9)+1.051*nr*(lr*1e6+0.54)/(wr*1e6+9.8))*1e-15'
***** diodes ****************
dss sb si ndio_rf_f area = '(ns-2)*wr*lspace+2*wr*ledgeeff+(nr-int(nr/2)*2)*wr*(lspace-ledgeeff)'
+
pj='(ns-2)*lspace*2+2*(2*ledgeeff+wr)+(nr-int(nr/2)*2)*(2*(lspace-ledgeeff)-wr)'
ddd db di ndio_rf_f area = 'int(nr/2)*wr*lspace+(nr-int(nr/2)*2)*wr*ledgeeff'
+
pj='int(nr/2)*lspace*2+(nr-int(nr/2)*2)*(2*ledgeeff+wr)'
dsg sb si ndio_rf_g area = 1e-15 pj = 'wr*nr'
ddg db di ndio_rf_g area = 1e-15 pj = 'wr*nr'
*****************************************************************************
rb b bi r='rb'
cb b bi c='159f/rb'
rdb db bi r='rdb'
cdb db bi c='159f/rdb'
rsb sb bi r='rdb'
csb sb bi c='159f/rdb'
******* mosfet *******
m0 di gi si bi nch_rf l = lr w = wr m = nr ad = 0 as = 0 pd = 0 ps = 0
.model nch_rf.1 nmos
(
lmin = 1.8e-007 lmax = '5.001e-07'
+wmin = '1.5000e-06' wmax = '8.001e-06'
+level = 49 tnom = 25.0 version = 3.24
+tox = 'toxn_rf'
+toxm = 4.08e-09
+xj = 1.6000000e-07
+nch = 3.9000000e17 lln = -1 lwn = 1.0000000
+wln = 1.0000000 wwn = -1 lint = 1.0000000e-08
+ll = 0.00 lw = 0.00 lwl = 0.00
+wint = 3.0000000e-09 wl = 0.00 ww = 0.00
+wwl = 0.00 mobmod = 1 binunit = 2
+xl = '-0.02e-6+dxln_rf' xw = '0.0+dxwn_rf' dwg = 0.00
+dwb = 0.00 acm = 12 ldif = 9.00e-08
+hdif = 'hdifn_rf' rsh = 'rshn_rf' rd = 0
+rs = 0
+vth0 = '0.4751966+dvthn_rf'
+lvth0 = '5.3743360e-09+dlvthn_rf'
+wvth0 = '3.4482360e-10+dwvthn_rf'
+pvth0 = '4.5089380e-15+dpvthn_rf' k1 = 'dk1n_rf+0.4007356' lk1 = 4.9634880e-08
+wk1 = 8.8686750e-08 pk1 = -6.3891820e-15
+k2 = '6.3188600e-02+dk2n_rf'
+lk2 = '-2.3847164e-08+dlk2n_rf'
+wk2 = -3.8768180e-08 pk2 = 5.0552590e-15
+k3 = 0.00 dvt0 = 0.00 dvt1 = 0.00
+dvt2 = 0.00 dvt0w = 0.00 dvt1w = 0.00
+dvt2w = 0.00 nlx = 0.00 w0 = 0.00
+k3b = 0.00 vsat = '8.4294280e04+dvsatn_rf'
+lvsat = -2.0140363e-04
+wvsat = '1.4459029e-03+dwvsatn_rf'
+pvsat = 1.5350395e-12
+ua = -9.0172960e-10 lua = 3.5887640e-18 wua = 4.2784730e-16
+pua = -4.6390690e-23 ub = 2.7527719e-18 lub = 5.9103390e-27
+wub = -9.4519130e-25 pub = -3.5064990e-33 uc = 1.2291169e-10
+luc = 4.3605990e-18 wuc = -6.1268420e-17 puc = -2.2654354e-24
+rdsw = 'drdswn_rf+1.7000000e02' prwb = 0.00 prwg = 0.00
+wr = 1.0000000 u0 = 'du0n_rf+4.3840840e-02'
+lu0 = '1.2758692e-09+dlu0n_rf'
+wu0 = '-4.8608560e-09+dwu0n_rf'
+pu0 = '-2.4055863e-16+dpu0n_rf'
+a0 = 0.5262308
+la0 = 8.2795080e-08 wa0 = 1.4537927e-07 pa0 = -7.3379640e-14
+keta = -4.4118840e-02 lketa = 3.2284670e-09 wketa = 2.2941933e-08
+pketa = -2.7027957e-15 a1 = 0.00 a2 = 0.9900000
+ags = -2.7693154e-02 lags = 1.0727657e-09 wags = 7.7723050e-08
+pags = -1.0838496e-14 b0 = 0.00 b1 = 0.00
+voff = '-0.1247105+dvoffn_rf'
+lvoff = '-1.4487617e-09+dlvoffn_rf'
+wvoff = '1.6054964e-09+dwvoffn_rf'
+pvoff = '-9.7541500e-16+dpvoffn_rf'
+nfactor = '1.0000000+dnfactorn_rf'
+pnfactor = '0+dpnfactorn_rf'
+wnfactor = '0+dwnfactorn_rf'
+lnfactor = '0+dlnfactorn_rf'
+cit = 2.7498236e-04
+lcit = 1.0350804e-10 wcit = -3.0914837e-11 pcit = 1.4220811e-17
+cdsc = 0.00 cdscb = 0.00 cdscd = 0.00
+eta0 = '-2.9405078e-04+deta0n_rf'
+leta0 = '1.8126334e-10+dleta0n_rf'
+weta0 = '3.0046217e-12+dweta0n_rf'
+peta0 = '-1.3821218e-18+dpeta0n_rf'
+etab = 1.3878694e-03 letab = -6.8441990e-10
+wetab = -3.6866540e-12 petab = 1.6959704e-18 dsub = 0.00
+pclm = 1.1010191 lpclm = 3.8489530e-08 wpclm = 6.6560680e-08
+ppclm = 4.0427110e-14 pdiblc1 = 1.0000000e-06 pdiblc2 = -6.1190130e-03
+lpdiblc2 = 5.0530930e-09 wpdiblc2 = 1.8349379e-09 ppdiblc2 = -2.2121929e-16
+pdiblcb = 1.0000000e-02 drout = 0.00 pscbe1 = 4.0000000e08
+pscbe2 = 1.0000000e-06 pvag = 0.00 delta = 1.0000000e-02
+alpha0 = 0.0 alpha1 = 0.448150714 beta0 = 11.59263
+kt1 = -0.2269240 lkt1 = 5.0937890e-09 wkt1 = -2.2583577e-09
+pkt1 = -1.7512235e-15 kt2 = -2.9338669e-02 lkt2 = 5.9558730e-10
+wkt2 = -1.9897783e-09 pkt2 = 7.3825670e-17 at = 2.0000000e04
+ute = -2.1610963 lute = 8.2097990e-08 wute = 7.8818350e-07
+pute = -1.1786150e-13 ua1 = 1.2174792e-09 lua1 = 9.1298580e-19
+wua1 = 7.7858620e-18 pua1 = -1.0901051e-24 ub1 = -3.8124500e-18
+lub1 = 4.2482470e-25 wub1 = 2.8560549e-24 pub1 = -4.2389140e-31
+uc1 = -1.5406690e-10 luc1 = 3.2328220e-17 wuc1 = 1.5903152e-16
+puc1 = -2.7204607e-23 kt1l = 0.00 prt = 0
*
* capacitance parameters
*
+cj = 0 mj = 0.3595262 pb = 0.6882682
+cjsw = 0 mjsw = 0.2003879 pbsw = 0.6882682
+cjswg = 0 mjswg = 0.43879 pbswg = 0.6882682
+tpb = 1.554306e-03 tpbsw = 1.554306e-03 tcj = 1.040287e-03
+tcjsw = 6.45489e-04 js = 8.38e-06 jsw = 1.60e-11
+nj = 1.0 xti = 3.0 cgdo = 1.92e-10
+cgso = 1.92e-10
+cgbo = 1.0e-13 capmod = 3
+nqsmod = 0 elm = 0 xpart = 0
+cf = 0 tlev = 1 tlevc = 1
+calcacm = 1
+wwc=-0.0225
+dlc=2.68e-8
+dwc=-2.833e-8
+noff=2 lnoff=5e-8
+acde=1
+moin=10
+voffcv= -0.05 lvoffcv= 1.114e-8
+cgsl=1.31e-10
+cgdl=1.31e-10
+wcf= 2.82e-18
*
* noise parameters
*
+noimod = 2 noia = 2.0e+19 noib=1.2e4 noic = 2.5e-13
+em = 3.0e+07 ef =0.874
)
自己顶先 请教高人
pmos_rf ,是子电路模式。
调用这样的复杂单元 用 X开头,子电路的调用。
电路由 几个基本单元构成,基本测pch-rf管M开头 电容 C 电阻 R 电感 L ,二极管 。
.model nch_rf.1 nmos 改成.model nch_rf nmos 试试看吧
真么专业!
真么专业 顶先
申明:网友回复良莠不齐,仅供参考。如需专业解答,请学习本站推出的微波射频专业培训课程。