在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 3482|回复: 2

[求助] hspice仿真问题:Number of nodes miss match between instance

[复制链接]
发表于 2014-9-2 09:26:10 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
今天做hspice仿真,遇到一个 **error** (example5.sp:19216) :Number of nodes miss match between "xinvbd2_g1b1i550" and subcircuit "inv0d4".  Subcircuit definition has    2 node(s) whereas subckt instance was found with    0 node(s). Please specify same number of nodes.

我的sp网表第19216行如下:
Xinvbd2_G1B1I550 inv0d4 $PINS I=clk_cts_0_33 ZN=CLK_G1B30I550
在sp网表里也定义了inv0d4的SUBCKT:
.SUBCKT inv0d4  ZN   I
M1      ZN      I       VSS     VSS     nmos_3p3 L=0.35U  W=13.40U  
M2      ZN      I       VDD     VDD     pmos_3p3 L=0.36U  W=14.56U  
.ENDS inv0d4
这两个都有两个node,而且inv0d4在之前的行里也有实例化,都不报错,为什么这一行会遇到问题呢?求高人指点!非常感谢!
发表于 2014-9-2 10:41:40 | 显示全部楼层
Xinvbd2_G1B1I550 inv0d4 $PINS I=clk_cts_0_33 ZN=CLK_G1B30I550  是calibre的格式吧,

你hspice 能认这种格式么,用标准spice格式吧, v2lvs -i
 楼主| 发表于 2014-9-2 11:01:41 | 显示全部楼层
回复 2# icfbicfb


   版主您好!我用的命令如下: v2lvs -v final0825.v -o final0825_1.sp -i  -s /home/LHG/zhangzy/2004/2004.12/csm35/v1.0/spice/typ/CSM35OS142.spc -s0 VSS -s1 VDD   但是有错误提示:Error: No module declaration for module buffd3 first encountered in module datalatch.
       (-i switch requires Verilog declarations for all modules.)

是不是我没有加.v的library file?可是我的库里只有cell的verilog描述,没有cell的primitive library file 该怎么办呢?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /2 下一条

×

小黑屋| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-5-5 11:09 , Processed in 0.019531 second(s), 8 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表