微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 微波和射频技术 > RFIC设计学习交流 > hspice error:model name pmos_3p3 in the element 0:mm3

hspice error:model name pmos_3p3 in the element 0:mm3

时间:10-02 整理:3721RD 点击:

最近用hspice仿真,总是报错:
**error** model name pmos_3p3 in the element0:mm4
is not defined.
**error** model name pmos_3p3 in the element0:mm3
is not defined.
**error** model name nmos_3p3 in the element0:mm2
is not defined.
**error** model name nmos_3p3 in the element0:mm1
is not defined.
我用的spc文件摘录如下:
.subckt ad01d0 a b ci s co
Cg1_1 CI VSS4.14168e-15
Cg1_2 B VSS7.28435e-15
Cc2_2 B CI2.32608e-16
Cg1_3 4 VSS4.50593e-15
Cc1_3 4 CI4.26413e-16
Cc3_3 4 B5.17321e-16
Cg1_4 A VSS5.35359e-15
Cc1_4 A B8.94521e-16
Cc2_4 A 45.75607e-16
Cc3_4 A CI6.62081e-16
Cg1_5 6 VSS1.82215e-15
Cc1_5 6 42.89416e-16
Cc2_5 6 CI3.60958e-16
Cc3_5 6 A2.43636e-16
Cc5_5 6 B4.41086e-16
Cg1_6 CO VSS5.671e-16
Cc1_6 CO 41.55977e-16
Cc3_6 CO 66.05412e-18
Cg1_7 S VSS5.4273e-16
Cc1_7 S 64.75992e-16
Cc2_7 S B6.22657e-17
Cc3_7 S CO1.81798e-16
Cc4_7 S 49.9208e-17
Cg1_8 12 VSS2.24308e-16
Cc1_8 12 A2.25903e-16
Cc2_8 12 CI2.08555e-17
Cc3_8 12 46.34468e-17
Cc4_8 12 B5.06795e-17
Cg1_9 11 VSS1.09011e-16
Cc1_9 11 43.11922e-16
Cc2_9 11 CI1.46254e-16
Cc3_9 11 62.14373e-17
Cc4_9 11 B4.94114e-17
Cc5_9 11 A3.28385e-17
Cg1_10 10 VSS3.1507e-16
Cc1_10 10 CI2.05234e-17
Cc2_10 10 46.54041e-17
Cc3_10 10 A2.10968e-16
Cc4_10 10 B4.95864e-17
Cc5_10 10 128.19885e-18
Cg1_11 9 VSS4.55127e-16
Cc1_11 9 44.54445e-17
Cc2_11 9 CI1.83156e-16
Cc3_11 9 A8.9448e-17
Cc4_11 9 63.82871e-17
Cc5_11 9 112.55536e-17
Cc6_11 9 B4.49332e-17
Cc1_12 18 41.53694e-17
Cc1_13 17 61.53694e-17
Cc1_14 16 62.45811e-17
Cc1_15 21 66.89651e-18
Cc2_15 21 41.77339e-17
Cc1_16 20 62.16748e-17
Cc2_16 20 41.77339e-17
Cc1_17 19 42.18841e-17
MM28 S 6 VDD VDD pmos_3p3 l=0.35u w=2.2u ad=1.975p pd=6.85u as=1.155p ps=3.25u
MM27 VDD 4 CO VDD pmos_3p3 l=0.35u w=2.2u ad=1.155p pd=3.25u as=1.795p ps=6.35u
MM23 19 A 4 VDD pmos_3p3 l=0.35u w=3.465u ad=1.1365p pd=4.1155u as=1.41827p
+ ps=4.33573u
MM18 19 B VDD VDD pmos_3p3 l=0.35u w=3.465u ad=1.1365p pd=4.1155u as=1.59572p
+ ps=4.52494u
MM26 11 4 6 VDD pmos_3p3 l=0.35u w=2.3u ad=1.2075p pd=3.35u as=1.25818p ps=3.62542u
MM24 20 CI 6 VDD pmos_3p3 l=0.35u w=3.6u ad=1.35p pd=4.35u as=1.96932p ps=5.67458u
MM21 21 A 20 VDD pmos_3p3 l=0.35u w=3.6u ad=1.35p pd=4.35u as=1.35p ps=4.35u
MM20 VDD B 21 VDD pmos_3p3 l=0.35u w=3.6u ad=3.4p pd=12.091u as=1.35p ps=4.35u
MM15 12 CI 4 VDD pmos_3p3 l=0.35u w=3.3u ad=1.7325p pd=4.35u as=1.35073p ps=4.12927u
MM22 VDD A 11 VDD pmos_3p3 l=0.35u w=3.4u ad=1.56578p pd=4.44006u as=1.43788p
+ ps=4.29512u
MM16 VDD CI 11 VDD pmos_3p3 l=0.35u w=3.627u ad=1.9593p pd=5.55463u as=1.53387p
+ ps=4.58188u
MM17 12 B VDD VDD pmos_3p3 l=0.35u w=3.3u ad=1.7325p pd=4.35u as=1.43606p ps=4.31632u
MM25 12 A VDD VDD pmos_3p3 l=0.35u w=3.194u ad=2.426p pd=7.844u as=1.38994p
+ ps=4.17768u
MM19 11 B VDD VDD pmos_3p3 l=0.35u w=2.3u ad=1.2075p pd=3.35u as=1.24245p ps=3.52237u
MM14 S 6 VSS VSS nmos_3p3 l=0.35u w=1.6u ad=1.57875p pd=5.262u as=0.84p ps=2.65u
MM13 VSS 4 CO VSS nmos_3p3 l=0.35u w=1.6u ad=0.84p pd=2.65u as=1.35p ps=5.15u
MM5 10 B VSS VSS nmos_3p3 l=0.35u w=2.394u ad=1.00768p pd=3.29613u as=0.989639p
+ ps=3.29613u
MM2 10 CI 4 VSS nmos_3p3 l=0.35u w=2.25u ad=0.947069p pd=3.09787u as=1.18125p ps=3.3u
MM12 9 4 6 VSS nmos_3p3 l=0.35u w=2u ad=1.05p pd=3.05u as=1.05p ps=3.05u
MM10 16 CI 6 VSS nmos_3p3 l=0.35u w=2u ad=0.65p pd=2.65u as=1.05p ps=3.05u
MM7 16 A 17 VSS nmos_3p3 l=0.35u w=2u ad=0.65p pd=2.65u as=0.65p ps=2.65u
MM6 VSS B 17 VSS nmos_3p3 l=0.35u w=2u ad=1.58p pd=5.832u as=0.65p ps=2.65u
MM1 9 CI VSS VSS nmos_3p3 l=0.35u w=2u ad=1.05p pd=3.05u as=1.06176p ps=3.10588u
MM11 10 A VSS VSS nmos_3p3 l=0.35u w=2.25u ad=2.19375p pd=6.45u as=0.930111p
+ ps=3.09787u
MM8 18 A 4 VSS nmos_3p3 l=0.35u w=2.25u ad=0.73125p pd=2.9u as=1.18125p ps=3.3u
MM4 VSS B 18 VSS nmos_3p3 l=0.35u w=2.25u ad=1.18125p pd=3.3u as=0.73125p ps=2.9u
MM9 9 A VSS VSS nmos_3p3 l=0.35u w=2.25u ad=1.18125p pd=3.3u as=1.19449p ps=3.49412u
MM3 9 B VSS VSS nmos_3p3 l=0.35u w=2.25u ad=1.18125p pd=3.3u as=1.18125p ps=3.3u
.ends
.subckt ad01d1 a b ci s co
大家有没有也遇到相同问题的?请问是怎么解决的?快流片了,着急 ,谢谢了!

没model啊,人家不认识你写的nmos-3p3是啥子。或者是你调用的lib文件里面模型不叫这个名字

您好!我加了spice models了,是一个.hspice的文件,但是提示说已加密,需要解密,愁死我了

感谢楼上的回答,是我的引用语法不对。引用spice models的时候应该这样写:.lib"/home/LHG/zhangzy/0.35um_ANALOG_3.3V_5V_Salicide_459/spice_model/yi-046-sm005/attachement/sm046005-1j.hspice" typical
其中typical是sm04600501j.hspice中定义的一个lib

前几天更新了pdk,现在发现用新的hspice文件不能仿真了,报错:
model name pmos_3p3 in the element 0:mm8 is not defined
我引用的方式是:.lib './sm046005-15.hspice' typical,以前用是可以的,现在怎么不行了?

sm046005-15.hspice文件截取如下:
.lib typical
.lib 'sm046005-15.hspice' rc
.lib 'sm046005-15.hspice' sigma
.lib 'sm046005-15.hspice' NT
.lib 'sm046005-15.hspice' PT
.lib 'sm046005-15.hspice' device
.endl typical

.lib device
*-------------------------------------------------------------------------------------------------------
* 0.35um Logic Salicide Dual-gate Process with PLDD structure - Thin gate NMOS transistor without DNWell
.subckt nmos_3p3 d g s b w=0 l=0
+ as=0 ad=0 ps=0 pd=0 nrd=0 nrs=0 par=1 dtemp=0
m0 d g s b nmos_3p3 w=w l=l as=as ad=ad ps=ps pd=pd nrd=nrd nrs=nrs dtemp=dtemp
.model nmos_3p3 NMOS
+Level= 53
*+lmin=3.5e-7 lmax=1.0e-5 wmin=4.0e-7 wmax=2.0e-5
+Tnom=25.0
+version =3.3hspver=98.2paramchk=1
*+Tox= 7.69E-09
*+Toxm= 7.69E-09
+Tox= toxn_tn
+Toxm= toxn_tn
+Xj= xjn_tn
+xl= xln_tn
+xw= xwn_tn
+Nch= 2.0857000E+17
+lln= 1.0000000
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
.ends nmos_3p3
..........
...........
* 0.35um Logic Salicide Dual-gate Process with PLDD structure - Thin gate NMOS transistor without DNWell
.subckt nmos_3p3 d g s b w=0 l=0
+ as=0 ad=0 ps=0 pd=0 nrd=0 nrs=0 par=1 dtemp=0
+ par_vth_tnn=0.0121
+ par_k_tnn= 0.0136
+ par_l_tnn= 0
+ par_w_tnn= 0
+ par_leff_tnn = 'l - par_l_tnn'
+ par_weff_tnn = 'par*(w - par_w_tnn)'
+ p_sqrtarea_tnn = 'sqrt((par_leff_tnn)*(par_weff_tnn))'
+ var_k_tnn= '0.7071 * par_k_tnn* 1e-06 / p_sqrtarea_tnn'
+ var_vth_tnn='0.7071*par_vth_tnn* 1e-06 / p_sqrtarea_tnn'
+ mis_k_tnn = agauss (0, var_k_tnn, 1)
+ mis_vth_tnn = agauss (0, var_vth_tnn, 1)
+ std_u0n_tn='1-mis_k_tnn*sw_stat_mismatch'
+ mis_vthon_tn='mis_vth_tnn*sw_stat_mismatch'
m0 d g s b nmos_3p3 w=w l=l as=as ad=ad ps=ps pd=pd nrd=nrd nrs=nrs dtemp=dtemp
.model nmos_3p3 NMOS
+Level= 53
*+lmin=3.5e-7 lmax=1.0e-5 wmin=4.0e-7 wmax=2.0e-5
+Tnom=25.0
+version =3.3hspver=98.2paramchk=1
.......................
ends nmos_3p3
.......
.ENDL device_stat
***************************************************************************************************
*

您好,我也遇到这个问题了,能把您的.sp文件的库包含那部分贴出来吗?谢谢!

我也遇到了类似的问题,不过已经解决了,GF更新了工艺库,把MOS管变成了一个subckt,所以需要使用XMp1之类的表示mos管

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top