|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
CDL:
.subckt INV2V1 ZN A VV
*.NOPIN gnd vcc vcc vdd
*.PININFO ZN:O A:I VV:I
MP0 ZN A VV VV p w=2u l=0.8u
MN0 ZN A gnd gnd n w=1u l=0.8u
.ends INV2V1
模型为:
*********************************************************************
.LIB MOS
*==================================================
*===============<< 5VGS/5VDS NMOS >>===============
*==================================================
.subckt n d g s b l=20u w=20u dtemp=0 ad=0 as=0 pd=0 ps=0
mcore1 d g s b nch_core w='w' l='l' m=1
+ ad='(ad?ad1.3e-6*w))' pd='(pd?pd:2*(6.5e-7+w))' as='(as?as1.3e-6*w))' ps='(ps?ps:2*(6.5e-7+w))'
.ends n
*==================================================
*===============<< 5VGS/5VDS Isolation NMOS >>=====
*==================================================
.subckt nchi d g s b iso l=20u w=20u dtemp=0 ad=0 as=0 pd=0 ps=0 area_bd=0 pj_bd=0 area_iso=0 pj_iso=0
mcore1 d g s b nch_core w='w' l='l' m=1 dtemp=dtemp
+ ad='(ad?ad1.3e-6*w))' pd='(pd?pd:2*(6.5e-7+w))' as='(as?as:(1.3e-6*w))' ps='(ps?ps:2*(6.5e-7+w))'
dhpw_nbl b iso hpwdio_core m=1 dtemp=dtemp
+ area='(area_bd?area_bd:((w+1.2e-5)*(l+1.75e-5)))' pj='(pj_bd?pj_bd:(2*((w+1.2e-5)+(l+1.75e-5))))'
dnbl_sub psub iso nbldio_core m=1 dtemp=dtemp
+ area='(area_iso?area_iso:((w+3.2e-5)*(l+3.75e-5)))' pj='(pj_iso?pj_iso:(2*((w+3.2e-5)+(l+3.75e-5))))'
.ends nchi
*==================================================
*===============<< 5VGS/5VDS PMOS >>===============
*==================================================
.subckt p d g s b l=20u w=20u dtemp=0 ad=0 as=0 pd=0 ps=0
mcore2 d g s b pch_core w='w' l='l' m=1 dtemp=dtemp
+ ad='(ad?ad:(1.3e-6*w))' pd='(pd?pd:2*(6.5e-7+w))' as='(as?as:(1.3e-6*w))' ps='(ps?ps:2*(6.5e-7+w))'
.ends p
*==================================================
*===============<< 5VGS/5VDS Isolation PMOS >>=====
*==================================================
.subckt pchi d g s b l=20u w=20u dtemp=0 ad=0 as=0 pd=0 ps=0 area_bd=0 pj_bd=0
mcore2 d g s b pch_core w='w' l='l' m=1 dtemp=dtemp
+ ad='(ad?ad:(1.3e-6*w))' pd='(pd?pd:2*(6.5e-7+w))' as='(as?as:(1.3e-6*w))' ps='(ps?ps:2*(6.5e-7+w))'
dio_body psub b nbldio_core m=1 dtemp=dtemp
+ area='(area_bd?area_bd:((1e-5+w)*(l+1e-5)))' pj='(pj_bd?pj_bd:(2*(w+l+2e-5)))'
.ends pchi
.lib 'cb040sp002.l' MOS_CORE
.endl MOS
*
.LIB MA5G40D
*==================================================
*=====<<Macro model of 5VGS/40VDS LDNMOS >>========
*==================================================
.subckt hvan d g s w=1e-6 l=1e-6 dtemp=0 ad=0 pd=0 as=0 ps=0 area_bd=0 pj_bd=0
.param
RDLIN D n1 '1e-3+drdsw_5vn*(((min(1.2,2.16e-6/l))/(1+max(0,V(g,s))))**1)*((4.66e4+(224/(2.49e-6+w)))*(1+4e-3*(temper-25+dtemp)))*(-tanh(3)+tanh(((max(0,V(d,s))/(L+(70*(1+2e-3*(temper-25+dtemp)))))**1.5)+3))'
mcore n1 g s s an5401 w='w' l='l' dtemp=dtemp m=1
+ ad='(ad?ad:(w*(l+1.9e-6)))' pd='(pd?pd:(2*(w+l+1.9e-6)))'
+ as='(as?as:0)' ps='(ps?ps:0)'
*
dio_body psub d hnwdio_core dtemp=dtemp m=1
+ area='(area_bd?area_bd:((8e-6+w)*(l+1.39e-5)))' pj='(pj_bd?pj_bd:(2*(w+l+8e-6+1.39e-5)))'
rpsub psub 0 0.1
.ends hvan
*==================================================
*=====<<Macro model of 5VGS/40VDS LDPMOS >>========
*==================================================
.subckt hvap d g s iso w=1e-6 l=1e-6 dtemp=0 ad=0 pd=0 as=0 ps=0 area_bd=0 pj_bd=0 area_iso=0 pj_iso=0
.param
rdlin d d1 'drdsw_5vp*(MAX(1E-4,(1E-3+2100*(TANH(((1e-5/W)*4.8e-2)*(MAX(0,(V(S,D)**1.3)*(1-((1e-5/W)*(-1e-3))*(temper-25+dtemp)))))))))'
mcore d1 g s s ap5401 w=w l=l m=1 dtemp=dtemp
+ as='(as?as:0)' ps='(ps?ps:0)' ad='(ad?ad:(w*(l+1.9e-6)))' pd='(pd?pd:(2*(w+l+1.9e-6)))'
dhpw_nbl d iso hpwdio_core m=1 dtemp=dtemp
+ area='(area_bd?area_bd:((w+1.2e-5)*(l+1.77e-5)))' pj='(pj_bd?pj_bd:(2*((w+1.2e-5)+(l+1.77e-5))))'
dnbl_sub psub iso nbldio2_core m=1 dtemp=dtemp
+ area='(area_iso?area_iso:((w+3.2e-5)*(l+3.77e-5)))' pj='(pj_iso?pj_iso:(2*((w+3.2e-5)+(l+3.77e-5))))'
rpsub psub 0 0.1
.ends hvap
.lib 'cb040sp002.l' MA5G40D_CORE
.ENDL MA5G40D
以下是NCH,PCH,AP5401,AN5401的模型参数. |
|