Hspice .MES failed问题求助
时间:03-15
整理:3721RD
点击:
用Hspice仿真 用的是Allen书上6.3-3的图就是交流仿真生成.ma0文件时有时成功,有时不成功。
EXAMPLE 6.6-1 OPEN LOOP CONFIGURATION
.OPTION LIMPTS = 1000
VIN+ 1 0 DC 0 AC 1.0
VDD 4 0 DC 2.5
VSS 0 5 DC 2.5
VIN- 2 0 DC 0
CL 3 0 10P
X1 1 2 3 4 5 OPAMP
.SUBCKT OPAMP 1 2 6 8 9
M1 4 2 3 3 NMOS1 W = 47.88U L =0.72U
M2 5 1 3 3 NMOS1 W = 47.88U L =0.72U
M3 4 4 8 8 PMOS1 W = 23.28U L =0.75U
M4 5 4 8 8 PMOS1 W = 23.28U L =0.75U
M5 3 7 9 9 NMOS1 W = 13.40U L =0.79U
M6 6 5 8 8 PMOS1 W = 41.49U L =1.43U
M7 6 7 9 9 NMOS1 W =6.69U L =0.79U
M8 7 7 9 9 NMOS1 W =6.33U L =0.79U
CC 5 63.98P 0.00
.MODEL NMOS1 NMOS VTO = 0.70 KP = 110U GAMMA = 0.4 LAMBDA = 0.04 PHI =
+0.7 MJ = 0.5 MJSW = 0.38 CGBO = 700P CGSO = 220P CGDO = 220P CJ =
+770U CJSW = 380P LD = 0.016U TOX = 14N
.MODEL PMOS1 PMOS VTO = -0.7 KP = 50U GAMMA = 0.57 LAMBDA = 0.05 PHI =
+0.8 MJ = 0.5 MJSW = 0.35 CGBO = 700P CGSO = 220P CGDO = 220P CJ =
+560U CJSW = 350P LD = 0.014U TOX = 14N
IBIAS 8 7 37.68U
.ENDS
.OP
.TF V(3) VIN+
.DC VIN+ -0.005 0.005 100U
.PRINT DC V(3)
.AC DEC 10 1 10MEG
.MEAS AC AD MAX VDB(3) FROM=1 TO=100
.MEAS AC UGB TRIG AT=1 TARG VDB(3) VAL=0 CROSS=1
.MEAS AC W3DB TRIG AT=1 TARG VDB(3) VAL='AD-3' CROSS=1
.MEAS AC PHASE FIND VP(3) WHEN VDB(3)=0
.MEAS AC PAMARGINE PARAM='180+PHASE'
.MEAS AC POW AVG(POWER) FROM=1 TO=UGB
.PRINT AC VDB(3) VP(3)
.PROBE (This entry is unique to PSPICE)
.END
用上面的网表文件不成功,生成
$DATA1 SOURCE='HSPICE' VERSION='W-2004.09'
.TITLE 'example 6.6-1 open loop configuration'
adugbw3dbphase
pamarginepowtemperalter#
88.6123fAIled1.169e+03failed
failedfailed25.00001.0000
而把mos管的宽长改一下变为
M1 4 2 3 3 NMOS1 W= 9.77U L= 1.66U
M2 5 1 3 3 NMOS1 W= 9.77U L= 1.66U
M3 4 4 8 8 PMOS1 W=20.11U L= 1.48U
M4 5 4 8 8 PMOS1 W=20.11U L= 1.48U
M5 3 7 9 9 NMOS1 W=50.01U L= 1.12U
M6 6 5 8 8 PMOS1 W=35.76U L= 0.87U
M7 6 7 9 9 NMOS1 W=135.81U L= 0.87U
M8 7 7 9 9 NMOS1 W=77.24U L= 0.87U
然后就能成功了,生成为
$DATA1 SOURCE='HSPICE' VERSION='W-2004.09'
.TITLE 'example 6.6-1 open loop configuration'
adugbw3dbphase
pamarginepowtemperalter#
36.91975.342e+057.535e+03-95.5232
84.47682.392e-0425.00001.0000
用的事Hspice2004.09 新人求大神帮助,谢谢了~
EXAMPLE 6.6-1 OPEN LOOP CONFIGURATION
.OPTION LIMPTS = 1000
VIN+ 1 0 DC 0 AC 1.0
VDD 4 0 DC 2.5
VSS 0 5 DC 2.5
VIN- 2 0 DC 0
CL 3 0 10P
X1 1 2 3 4 5 OPAMP
.SUBCKT OPAMP 1 2 6 8 9
M1 4 2 3 3 NMOS1 W = 47.88U L =0.72U
M2 5 1 3 3 NMOS1 W = 47.88U L =0.72U
M3 4 4 8 8 PMOS1 W = 23.28U L =0.75U
M4 5 4 8 8 PMOS1 W = 23.28U L =0.75U
M5 3 7 9 9 NMOS1 W = 13.40U L =0.79U
M6 6 5 8 8 PMOS1 W = 41.49U L =1.43U
M7 6 7 9 9 NMOS1 W =6.69U L =0.79U
M8 7 7 9 9 NMOS1 W =6.33U L =0.79U
CC 5 63.98P 0.00
.MODEL NMOS1 NMOS VTO = 0.70 KP = 110U GAMMA = 0.4 LAMBDA = 0.04 PHI =
+0.7 MJ = 0.5 MJSW = 0.38 CGBO = 700P CGSO = 220P CGDO = 220P CJ =
+770U CJSW = 380P LD = 0.016U TOX = 14N
.MODEL PMOS1 PMOS VTO = -0.7 KP = 50U GAMMA = 0.57 LAMBDA = 0.05 PHI =
+0.8 MJ = 0.5 MJSW = 0.35 CGBO = 700P CGSO = 220P CGDO = 220P CJ =
+560U CJSW = 350P LD = 0.014U TOX = 14N
IBIAS 8 7 37.68U
.ENDS
.OP
.TF V(3) VIN+
.DC VIN+ -0.005 0.005 100U
.PRINT DC V(3)
.AC DEC 10 1 10MEG
.MEAS AC AD MAX VDB(3) FROM=1 TO=100
.MEAS AC UGB TRIG AT=1 TARG VDB(3) VAL=0 CROSS=1
.MEAS AC W3DB TRIG AT=1 TARG VDB(3) VAL='AD-3' CROSS=1
.MEAS AC PHASE FIND VP(3) WHEN VDB(3)=0
.MEAS AC PAMARGINE PARAM='180+PHASE'
.MEAS AC POW AVG(POWER) FROM=1 TO=UGB
.PRINT AC VDB(3) VP(3)
.PROBE (This entry is unique to PSPICE)
.END
用上面的网表文件不成功,生成
$DATA1 SOURCE='HSPICE' VERSION='W-2004.09'
.TITLE 'example 6.6-1 open loop configuration'
adugbw3dbphase
pamarginepowtemperalter#
88.6123fAIled1.169e+03failed
failedfailed25.00001.0000
而把mos管的宽长改一下变为
M1 4 2 3 3 NMOS1 W= 9.77U L= 1.66U
M2 5 1 3 3 NMOS1 W= 9.77U L= 1.66U
M3 4 4 8 8 PMOS1 W=20.11U L= 1.48U
M4 5 4 8 8 PMOS1 W=20.11U L= 1.48U
M5 3 7 9 9 NMOS1 W=50.01U L= 1.12U
M6 6 5 8 8 PMOS1 W=35.76U L= 0.87U
M7 6 7 9 9 NMOS1 W=135.81U L= 0.87U
M8 7 7 9 9 NMOS1 W=77.24U L= 0.87U
然后就能成功了,生成为
$DATA1 SOURCE='HSPICE' VERSION='W-2004.09'
.TITLE 'example 6.6-1 open loop configuration'
adugbw3dbphase
pamarginepowtemperalter#
36.91975.342e+057.535e+03-95.5232
84.47682.392e-0425.00001.0000
用的事Hspice2004.09 新人求大神帮助,谢谢了~
看了下手册 貌似是FALL设置不对的问题 将FALL设置为0 可以输出 就是不明白为什么有时候行 有时候不行