在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 5537|回复: 5

[求助] HSPICE网表仿真错误

[复制链接]
发表于 2012-5-29 16:25:05 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
.title current-mode readout ciruit
.option post list
.trans 10ms 100ms
.dc Vph 2 12 1
.dc temp 22 32 1
.temp 27.0
.op debug
.probe v(9) v(10)
.plot i(400)
.option list ingold=0 post probe
+absmos=1e-15 dcstep=1000 nopiv
+absv=1e-15 relv=1e-12 absi=1e-15
+gmindc=1e-24 itl1=1000
+method=gear lvltim=2 itl5=10000 delmax=1e-15
+dv=0.2
.param
+k=1.38e-23 T=300 eps0=8.85e-12
+Ka=15.8 Kb=63.1e-9 Kn=1e-10
+Nsil=3.0e18 Nnit=2.0e18
+cbulk=0.1
.SUBCKT ISFET 6 1 3 4 101
+q=1.6e-19 Nav='6.023e23*1e3'
+epsw=78.5 epsihp=32 epsohp=32
+dihp=0.1n dohp=0.3n Cbulk=0.1
+Eabs=4.7 Phim=4.7 Erel=0.200 Chieo=3e-3 Philj=1e-3
+ET='q/(k*t)'
+sq='sqrt(8*eps0*epsw*k*T)'
+Cb='Nav*Cbulk'
+KK='Ka*Kb'
+Ch='((eps0*epsihp*epsohp)/(epsohp*dihp+epsihp*dohp))'
+Cd='(sq*ET*0.5)*sqrt(Cb)'
+Ceq='1/(1/Ch+1/Cd)'
Eref 1 10 VOL='Eabs-Phim-Erel+Chieo+Philj'
Ceq 10 2 C='1/(1/Ch+1/Cd)'
EP1 46 0 VOL='log(KK)+4.6*V(101)'
RP1 46 0 1G
EP2 23 0 VOL='log(Ka)+2.3*V(101)'
RP2 23 0 1G
EPH 2 10 VOL='(q/Ceq)*(Nsil*((exp(-2*V(2,10)*ET)-exp(V(46)))/(exp(-2*V(2,10)*ET)+exp(V(23))*ex
p(-1*V(2,10)*ET)+exp(v(46))))+Nnit*((exp(1*V(2,10)*ET))/(exp(-1*V(2,10)*ET)+Kn*exp(V(
23)))))'
Rph 101 0 1k
MIS 6 2 3 4 MISFET L=18u W=804u NRS=5 NRD=5
.MODEL MISFET NMOS LEVEL=2
+VTO=7.79E-01 LAMBDA=7.59E-03 RSH=3.5E+01 TOX=86E-9
+UO=6.53E+02 TPG=0
+UEXP=7.64E-02 NSUB=3.27E+15 NFS=1.21E+11
+NEFF=3.88 VMAX=5.35E+04 DELTA=1.47 LD=2.91E-06
+UCRIT=7.97E+04 XJ=6.01E-09 CJ=4.44E-4 IS=1E-11
+CJSW=5.15E-10 PHI=5.55E-01 GAMMA=9.95E-01
+MJ=0.395 MJSW=0.242 PB=0.585
.ENDS ISFET
.SUBCKT REFET 6 1 3 4 101
+q=1.6e-19 Nav='6.023e23*1e3'
+epsw=78.5 epsihp=32 epsohp=32
+dihp=0.1n dohp=0.3n Cbulk=0.1
+Eabs=4.7 Phim=4.7 Erel=0.200 Chieo=3e-3 Philj=1e-3
+ET='q/(k*t)'
+sq='sqrt(8*eps0*epsw*k*T)'
+Cb='Nav*Cbulk'
+KK='Ka*Kb'
+Ch='((eps0*epsihp*epsohp)/(epsohp*dihp+epsihp*dohp))'
+Cd='(sq*ET*0.5)*sqrt(Cb)'
+Ceq='1/(1/Ch+1/Cd)'
Eref 1 10 VOL='Eabs-Phim-Erel+Chieo+Philj'
Ceq 10 2 C='1/(1/Ch+1/Cd)'
EP1 46 0 VOL='log(KK)+4.6*V(101)'
RP1 46 0 1G
EP2 23 0 VOL='log(Ka)+2.3*V(101)'
RP2 23 0 1G
EPH 2 10 VOL=0
Rph 101 0 1k
MIS 6 2 3 4 MISFET L=18u W=804u NRS=5 NRD=5
.MODEL MISFET NMOS LEVEL=2
+VTO=7.79E-01 LAMBDA=7.59E-03 RSH=3.5E+01 TOX=86E-9
+UO=6.53E+02 TPG=0
+UEXP=7.64E-02 NSUB=3.27E+15 NFS=1.21E+11
+NEFF=3.88 VMAX=5.35E+04 DELTA=1.47 LD=2.91E-06
+UCRIT=7.97E+04 XJ=6.01E-09 CJ=4.44E-4 IS=1E-11
+CJSW=5.15E-10 PHI=5.55E-01 GAMMA=9.95E-01
+MJ=0.395 MJSW=0.242 PB=0.585
.ENDS REFET
vdd 100 0 1.5v
vss 200 0 -1.5v
m1 100 100 1 1 nmos l=10um w=5um
m9 1 1 200 200 nmos l=0.5um w=1um
m2 2 2 100 100 pmos l=0.5um w=1um
m3 3 2 100 100 pmos l=0.5um w=1um
m4 4 4 100 100 pmos l=0.5um w=1um
m5 400 4 100 100 pmos l=0.5um w=1um
m6 5 2 100 100 pmos l=0.5um w=1um
m7 6 6 100 100 pmos l=0.5um w=1um
m8 7 6 100 100 pmos l=0.5um w=1um
m9 1 1 200 200 nmos l=0.5um w=1um
m10 8 1 200 200 nmos l=0.5um w=1um
m11 9 1 200 200 nmos l=0.5um w=1um
m12 10 1 200 200 nmos l=0.5um w=1um
m13 7 7 200 200 nmos l=0.5um w=1um
m14 400 7 200 200 nmos l=0.5um w=1um
m15 2 300 8 8 nmos l=0.5um w=1um
m16 3 3 9 9 nmos l=0.5um w=1um
m17 9 9 8 8 nmos l=0.5um w=1um
m18 4 3 9 9 nmos l=0.5um w=1um
m19 5 5 10 10 nmos l=0.5um w=1um
m20 10 10 8 8 nmos l=0.5um w=1um
m21 6 5 10 10 nmos l=0.5um w=1um
r1 9 0 2k
r2 10 0 3k
XIS 6 500 0 0 600 ISFET
XRE 9 500 0 0 600 REFET
r3 400 0 1k
vin 300 0 sin(0 300mv 10)
Vbias 500 0 DC 1.5
Vph 600 0 DC 2
Vd 110 0 DC 0.5
.model nmos nmos level=49
+ lmin=0.6e-6 lmax=2.0e-5 wmin=0.8e-6 wmax=2.0e-5 version=3.0 tox=1.25e-08
xj=2.5000000e-07 nch=1.2721000e+17
+lln=1.0295000 lwn=1.0000000 wln=0.9340000 wwn=2.0000000 lint=1.5200000e-07
ll=-3.5900000e-14 lw=0.00 lwl=0.00 wint=2.0200001e-07
+wl=-9.4300000e-14 ww=-5.1700000e-20 wwl=0.00 mobmod=1 binunit=2 xl=0.00e+00 xw=0.00e+00
dwg=-2.2914280e-08
+dwb=1.3746710e-08 ldif=0.00 hdif=6.00e-07 rsh=0 rd=0 rs=0 rsc=0 rdc=0 vth0=7.28e-01
k1=0.7409649
+k2=-1.5283380e-02 k3=7.1778210 dvt0=14.8549000 dvt1=1.0209540 dvt2=-4.6828460e-02
dvt0w=-8.0227880e-02 dvt1w=8.8635700e+04
+dvt2w=0.1900000 nlx=0.00 w0=1.3573220e-06 k3b=-4.7786870 ngate=1.0000000e+20
vsat=7.7711460e+04 ua=-7.4628200e-10
+ub=2.6335220e-18 uc=3.5986350e-11 rdsw=1.8026500e+03 prwb=1.9065101e-02
prwg=-3.4200580e-02 wr=0.9613520 u0=4.2603870e-02
+a0=0.4940039 keta=-1.6965831e-02 a1=0.00 a2=0.9900000 ags=1.9959440e-02
b0=8.6096910e-08 b1=-4.3232750e-07 voff=-9.6102280e-02
+nfactor=1.0989590 cit=2.3121500e-04 cdsc=4.8599650e-03 cdscb=9.1149930e-04 cdscd=0.00
eta0=6.2591110e-03 etab=-1.1673500e-02
+dsub=0.2718996 pclm=0.6415634 pdiblc1=9.6421800e-03 pdiblc2=1.5307820e-03
pdiblcb=-0.1822976 drout=0.1000000 pscbe1=2.7371760e+30
+pscbe2=4.6373430e-20 pvag=0.00 delta=1.0000000e-02 alpha0=3.5e-6 beta0=30.0000000
kt1=-0.3333333 kt2=-2.6930001e-02 at=1.2000000e+04
+ute=-1.6454999 ua1=1.1130000e-09 ub1=-1.046000e-18 uc1=-6.6220000e-12 kt1l=0.00
prt=8.4800000e+02 cj=4.35e-04+cjn mj=0.4223898
+pb=0.9590048 cjsw=3.65e-10 mjsw=0.1671139 pbsw=0.5406927 cjswg=2e-14 mjswg=0.33
pbswg=0.7 cta=0 ctp=0 pta=0
+ptp=0 js=1.00e-14 jsw=0.00 n=1.0 xti=3.0 cgdo=2.00e-10 cgso=2.00e-10 cgbo=1.0e-13
capmod=2 nqsmod=0 elm=5
+xpart=1 cgsl=2.0000000e-10 cgdl=2.0000000e-10 ckappa=1.9920000 cf=0.00
clc=8.0259140e-09 cle=2.0475841 dlc=1.5184e-07
+dwc=2.015e-07
.model pmos pmos level=49
+ lmin=0.6e-6 lmax=2.0e-5 wmin=0.8e-6 wmax=2.0e-5 version=3.1 tox=1.30e-08
xj=3.0000001e-07 nch=2.5099999e+16
+lln=0.2000000 lwn=1.0000000 wln=1.0660000 wwn=2.0000000 lint=-1.3000000e-09
ll=-1.3500000e-10 lw=0.00 lwl=1.4900000e-15 wint=2.3999999e-07
+wl=5.5000000e-15 ww=-8.2200000e-20 wwl=0.00 mobmod=1 binunit=2 xl=0.00e+00 xw=0.00e+00
dwg=-2.9800001e-08
+dwb=2.0800000e-08 ldif=0.00 hdif=6.00e-07 rsh=0 rd=0 rs=0 rsc=0 rdc=0 vth0=-1.02e+00
k1=0.4355000
+k2=1.2700000e-02 k3=11.1944000 dvt0=6.4793000 dvt1=0.9395000 dvt2=8.7300000e-03
dvt0w=3.7900000e-02 dvt1w=0.00
+dvt2w=0.1900000 nlx=0.00 w0=2.9399999e-07 k3b=-2.3515999 ngate=1.0000000e+20
vsat=9.4300000e+04 ua=1.9199999e-09
+ub=7.7500000e-19 uc=-5.0000000e-11 rdsw=3.3300000e+03 prwb=9.9200000e-02
prwg=-3.7100000e-02 wr=0.9804000 u0=1.9200001e-02
+a0=0.2612000 keta=-1.4800000e-02 a1=0.00 a2=0.4000000 ags=2.0000000e-02
b0=3.1600001e-07 b1=-3.0300001e-07 voff=-0.1054000
+nfactor=0.8294000 cit=9.8500000e-04 cdsc=1.0000000e-10 cdscb=0.00 cdscd=0.00
eta0=0.1185000 etab=-3.2900000e-03
+dsub=0.5157000 pclm=2.9535999 pdiblc1=1.0000000e-05 pdiblc2=1.2900000e-03
pdiblcb=0.1900000 drout=3.0000000 pscbe1=3.7000000e+30
+pscbe2=1.0000000e-20 pvag=1.0000000 delta=1.0000000e-02 alpha0=1.00e-6
beta0=30.0000000 kt1=-0.4763000 kt2=-2.9050000e-02 at=1.0000000e+04
+ute=-1.0000000 ua1=3.7500000e-09 ub1=-7.1500000e-18 uc1=-5.0833000e-11 kt1l=0.00
prt=8.8300000e+02 cj=8.21e-04 mj=0.5198076
+pb=0.9180865 cjsw=4.11e-10 mjsw=0.2586436 pbsw=0.6054589 cjswg=2.00e-14 mjswg=0.33
pbswg=0.7 cta=0 ctp=0 pta=0
+ptp=0 js=1.00e-04 jsw=0.00 n=1.0 xti=3.0 cgdo=1.00e-10 cgso=1.00e-10 cgbo=1.0e-13
capmod=2 nqsmod=0 elm=5
+xpart=1 cgsl=1.0000000e-10 cgdl=9.9592000e-11 ckappa=1.0000000 cf=0.00
clc=5.0018750e-08 cle=0.8024064 dlc=-1.421085e-14
+dwc=2.304e-07 vfbcv=-1
.END
用HSPICE仿真的时候出错了,
rph 101 0 1k
  **error** (c:\documents and settings\isfet.sp:41)  unrecognizable data card
rph 101 0 1k
mis 6 2 3 4 misfet l=18u w=804u nrs=5 nrd=5
  **error** (c:\documents and settings\isfet.sp:42) .ends  card missing at readin
  **error** (c:\documents and settings\isfet.sp:42) difficulty in reading input
不知道那个地方出错了,求解答。
发表于 2012-5-29 19:59:52 | 显示全部楼层
太长了,有schmatic吗
 楼主| 发表于 2012-5-29 20:15:16 | 显示全部楼层
回复 2# gadflybook


    发到你邮箱了。
发表于 2012-5-29 21:43:42 | 显示全部楼层
仔细检查一下语法
1. hspice换行要用“+”号
2. 里面两个叫m9的管子,删掉一个
修改之后语法没问题,就是跑起来不收敛(hspice2006.03)
 楼主| 发表于 2012-5-30 11:30:11 | 显示全部楼层
回复 4# yshmilyou


    首先谢谢你花时间看完这么长的网表,我对HSPICE网表语法不是很了解,能具体给我说下怎么收敛吗?
发表于 2016-8-11 17:53:57 | 显示全部楼层
thank you !
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /1 下一条


小黑屋| 手机版| 关于我们| 联系我们| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-12-27 20:17 , Processed in 0.019295 second(s), 8 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表