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

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

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 5579|回复: 3

[讨论] v2lvs两个option -s -lsr 之间的差别

[复制链接]
发表于 2015-10-4 18:00:33 | 显示全部楼层 |阅读模式

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

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

x
本帖最后由 zzjseu 于 2015-10-4 18:02 编辑

v2lvs
· -lsr spice_library_file Specifies SPICE library file name using range mode. The SPICE file is parsed for interface configurations. Pins with pin select ([ ]) annotation are assembled into Verilog ranges.

· -s spice_library_file Specifies that the -o output file have a .INCLUDE statement placed at the beginning that points to the SPICE library file. The -s option does not cause V2LVS to read the library file.

----------

我在v2lvs的时候,对比了一下option -s 和 -lsr 之间的区别。 在关键的地方有一个很明显的差别,
就是用 -s   生成的 cdl 中 spice module interface 处理的正确,就是pin order 很对。
但是用 -lsr 生成的 cdl 中 相应的 spice module interface 处理的不对, pin order 排序正好相反,比如,A[0]=A_d[8], A[1]=A_d[7], ..., A[8]=A_d[0]。
当然了,前者runlvs可以得出正确结果。
所以问题就来了,按照 userguide,-s 只是加了一句include声明而已,并没有read include进去的 spi 啊,怎么spice  module interface 处理的就正确了呢?相反,-lsr 被读取了pin order 信息 interface 反而处理的就不对了呢。
发表于 2015-10-5 11:34:43 | 显示全部楼层
帮顶
发表于 2015-10-8 08:14:11 | 显示全部楼层
-s是必须的,只需要include subckt的spice
-lsr或者-lsp是可选的,因为有的时候总线定义和verilog model的不一样,
这时候就需要了, 通常用-lsp比较多,pin mode,你可以再试试
range mode不太常用,
发表于 2021-11-3 16:34:47 | 显示全部楼层


icfbicfb 发表于 2015-10-8 08:14
-s是必须的,只需要include subckt的spice
-lsr或者-lsp是可选的,因为有的时候总线定义和verilog model的 ...


你好,请问总线定义是什么?还有,因为有的时候总线定义和verilog model的...这句话是什么意思,谢谢谢
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-9-30 07:19 , Processed in 0.019128 second(s), 8 queries , Gzip On, Redis On.

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