hspice调用.18的库总是报错
时间:10-02
整理:3721RD
点击:
**error** model name nch3.1 in the element0:mn1
is not defined.
源码:
.title opa
*****parameter******
.param l=0.18u
*****circuit********
mn1 1 vin 2 gnd nch3.1 W=2.16u L=l
mn2 3 vin 2 gnd nch3.1 W=2.16u L=l
mp3 1 1 vdd vdd pch3.1 W=2.34u L=l
mp4 3 1 vdd vdd pch3.1 W=2.34u L=l
mn5 2 vbias gnd gnd nch3.1 W=0.72u L=l
mp6 4 3 vdd vdd pch3.1 W=39.51u L=l
mn7 4 vbias gnd gnd nch3.1 W=5.94u L=l
Cc 3 4 2.5p
Cl 4 gnd 10p
I1 vdd vbias 100u
mn8 vbias vbias gnd gnd nch3.1 W=0.72u L=l
********library************
.lib 'mm018.l' MOS_3V
********power**************
vsupply vdd 0 3.3v
vgnd gnd 0 0v
*****input*****
Vin vin gnd 2.2v
*****output*****
.dc Vin 0 3.3v 1mv
.op
.option post
.end
我看了库文件。明明有nch3.1啊
is not defined.
源码:
.title opa
*****parameter******
.param l=0.18u
*****circuit********
mn1 1 vin 2 gnd nch3.1 W=2.16u L=l
mn2 3 vin 2 gnd nch3.1 W=2.16u L=l
mp3 1 1 vdd vdd pch3.1 W=2.34u L=l
mp4 3 1 vdd vdd pch3.1 W=2.34u L=l
mn5 2 vbias gnd gnd nch3.1 W=0.72u L=l
mp6 4 3 vdd vdd pch3.1 W=39.51u L=l
mn7 4 vbias gnd gnd nch3.1 W=5.94u L=l
Cc 3 4 2.5p
Cl 4 gnd 10p
I1 vdd vbias 100u
mn8 vbias vbias gnd gnd nch3.1 W=0.72u L=l
********library************
.lib 'mm018.l' MOS_3V
********power**************
vsupply vdd 0 3.3v
vgnd gnd 0 0v
*****input*****
Vin vin gnd 2.2v
*****output*****
.dc Vin 0 3.3v 1mv
.op
.option post
.end
我看了库文件。明明有nch3.1啊
同问,我之前的Hspice也没法调用库文件..........