hspice error:model name pmos_3p3 in the element 0:mm4 is not defined
**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
大家有没有也遇到相同问题的?请问是怎么解决的?快流片了,着急 ,谢谢了!
这是netlist,那model呢
请问还要加model吗?我刚学hspice,目前只有我一个人在做,所以很多都不懂,请多多指点!非常感谢
我也只玩过一次,就是 MOS 管的 model,里面有很多参数
.model 开头
请问是.lib格式的文件吗?
对,包在 lib 里面
你好!我找到的spice model是好几个.spice格式的文件,没找到.lib文件。我将这几个文件include以后提示还有错误: **error** (/home/LHG/zhangzy/2004/2004.12/csm35/v1.0/spice/typ/HSpice_models/sm046005-1f.hspice).lib entry "cap"lacks of .endl
我用的命令是.include "/home/LHG/zhangzy/2004/2004.12/csm35/v1.0/spice/typ/HSpice_models/sm046005-1f.hspice"
/home/LHG/zhangzy/2004/2004.12/csm35/v1.0/spice/typ/HSpice_models/sm046005-1f.hspice里应该有多个 lib, 其中 "cap" 这个 lib 没有结束符号 .endl
一个 lib 里包含一套 spice model, 这样用:
.lib "/home/LHG/zhangzy/2004/2004.12/csm35/v1.0/spice/typ/HSpice_models/sm046005-1f.hspice" cap (当然这跟你最初的 error 没有关系,有关系的可能叫 mos_3p3 之类)
你好!我是直接用命令:.INCLUDE "/home/LHG/zhangzy/thirdflow/source/hspice/sm046005-1f.hspice" 加进去的,但是提示有错:**error** Error in encrypted blocks of file (/home/LHG/zhangzy/thirdflow/source/hspice/sm046005-1f.hspice:410), please contact encrypted file provider.
刚才又试了下您说的方法,还是提示有错。您能方便私信给我留个邮箱吗?我把文件发过去您看看好吗?麻烦您了!
这个问题是否解决了呢?
http://bbs.eetop.cn/thread-459448-1-1.html