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

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

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 6146|回复: 8

[求助] Calire做数字电路lvs提示错误:Wrong pin count in file....

[复制链接]
发表于 2014-8-27 15:18:23 | 显示全部楼层 |阅读模式

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

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

x
大家好!我最近在用Calibre做数字电路的lvs。流程是从ICC导出gds到virtuoso下,然后用v2lvs命令转化.v网表为cdl网表。但是lvs提示有错误:
Error: Wrong pin count in file "/home/LHG/zhangzy/thirdflow/source/cadence/final0825_label1/final0825_label1/top_order1/lvs/final0825.cdl" at line 742: expected 9 pins, but found 7
Error: Wrong pin count in file "/home/LHG/zhangzy/thirdflow/source/cadence/final0825_label1/final0825_label1/top_order1/lvs/final0825.cdl" at line 744: expected 9 pins, but found 7
......................总共有258个错误。
我的CDL第742行里确实有VDD和VSS啊,而且我已经在版图里到处label了:
XU1040 aor222d2 $PINS VDD=POWER VSS=GND A1=latch15[11] C1=latch15[17] Z=p15[5]
+ A2=n146 B1=latch15[5] B2=n191 C2=n116

明明数着是九个,可为什么工具只认识七个呢?愁死我了,求大神指点!
 楼主| 发表于 2014-8-27 15:19:03 | 显示全部楼层
我用的命令如下:
v2lvs -v top_order1_pg.v -o top_order1_pg.cdl -s /home/LHG/zhangzy/2004/2004.12/csm35/v1.0/spice/typ/CSM35OS142.spc  -s0 VSS -s1 VDD

虽然导出文件成功了,但是提示有warining,请问这些warning会影响lvs吗?我没有找到Verilog primitive library file。
Warning: No module declaration for module dfcrq2 first encountered in module shiftreg
0123
Warning: Duplicate instance name "U1" found in module "shift_inputreg" while doing ca
se-insensitive lookup
发表于 2014-8-27 15:54:45 | 显示全部楼层
这个/home/LHG/zhangzy/2004/2004.12/csm35/v1.0/spice/typ/CSM35OS142.spc    里面没有 global VDD VSS  ,

或者说标准单元cdl里没有 VDD VSS定义,
 楼主| 发表于 2014-8-27 16:40:45 | 显示全部楼层
本帖最后由 dennisi123 于 2014-8-27 19:13 编辑

回复 3# icfbicfb


   版主您好!我看了下这个文件,确实是没有电源和地的定义,请问怎么应该怎么改呢?
 楼主| 发表于 2014-8-28 10:05:25 | 显示全部楼层
原来是我的cdl文件里cell都没有定义VDD VSS,依次把VDD VSS加上就好了
发表于 2015-5-23 09:30:40 | 显示全部楼层
回复 5# dennisi123

具体怎么添加呢?能给个例子吗?
发表于 2015-5-23 10:48:17 | 显示全部楼层
应该是global VDD VSS造成的,

lvs spice override globals  yes 看看
发表于 2021-10-25 16:12:58 | 显示全部楼层
楼主,解决问题了吗?我这也遇到这个问题了,这个问题时后端工具写的网表带出了std cell的NW和PW的pin
发表于 2024-4-28 23:13:32 | 显示全部楼层
这是因为
design.cdl中是有9个pin

但是std cdl中只有7个pin,因为没有定义VDD和VSS的pin

解决办法:
std.cdl中增加.GLOBAL VDD VSS和.PIN  VDD VSS
lvs rule中增加LVS SPICE OVERRIDE GLOBALS YES
然后重跑lvs即可
• NO
Specifies that global signals apply to all subcircuit pins throughout their internal hierarchies
and cannot be overridden except through the LVS Spice Prefer Pins YES specification
statement. This is the default behavior.
• YES
Specifies that an assignment of a signal to a global pin in a subcircuit call has the effect of
overriding the respective global signal in the referenced subcircuit and in the entire subhierarchy
below the subcircuit.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

×

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

GMT+8, 2024-5-14 10:19 , Processed in 0.035998 second(s), 9 queries , Gzip On, Redis On.

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