子日

Hspice仿真中**error** model name in the element 0:m1

0
阅读(7611)

版本:Hspice2005.03

库文件:mm018(SMIC的0.18工艺库)

.TITLE 0.18UM NMOS DEVICE
.global Gnd
M1 Drain Gnd Gnd Body NMOS W=0.4u L=0.2u
Vin Body Gnd 0
VDrain Drain Gnd 0.1V
.DC Vin 0 -2.0V -0.1V
.probe I(Drain)
.end

**error** model name nmos in the element     0:m1
 is not defined.

错误原因:由于在库文件中用到的MOS model是.MODEL nch.1            NMOS  ,所以在定义MOS管的模型参考名时不应该使用“NOMS”而应该使用“nch”,因为.MODEL nch.1            NMOS  这句话的意思是在Hspice 中使用的NMOS器件在库中的名称是nch.