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

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

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 4379|回复: 11

[求助] 验证时只想给部分rtl加specify,谢谢

[复制链接]
发表于 2017-7-4 15:13:15 | 显示全部楼层 |阅读模式

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

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

x
验证时,对于有些模块,我们要屏蔽掉specify,而有些模块我们需要加入进行timing check的specify,有什么好方法,类似这样的操作,例如:把这些文件列一个lst,
+specify /prj/user/a.v
+nospecify /prj/user/b.v
+specify /prj/user/c.v

发表于 2017-7-6 10:57:31 | 显示全部楼层
use config file and syntax as following:
instance {list_of_hierarchical_names} {noIopath  noSpecify  noTiming};

Explain the above line:
instance: Keyword that specifies that the attributes in this statement
  apply to all module instances in the list specified by their
  hierarchical names.

list_of_hierarchical _names : A comma separated list of module
instances enclosed in curly braces: { }

noIopath: Attribute keyword that specifies disabling the module
path delays in the specified module instances.

noSpecify: Attribute keyword that specifies disabling the specify
blocks in the specified module instances.

noTiming:  Attribute keyword that specifies disabling the timing
checks in the specified module instances.
然后用在vcs compile命令中用这个选项:+optconfigfile+filename
发表于 2017-7-7 10:25:15 | 显示全部楼层
学习了
 楼主| 发表于 2017-7-7 11:32:27 | 显示全部楼层
回复 2# yuanpin318

谢谢您,但我们使用nc仿真
发表于 2017-7-11 09:41:16 | 显示全部楼层
ncverilog 也支持 $disable_warnings(“timing", <hierarchy_name> 这个systemtask
 楼主| 发表于 2017-7-12 10:22:36 | 显示全部楼层
回复 5# yuanpin318

您能具体说一下吗,或是告诉我参考那个文档,谢谢
发表于 2017-7-12 17:54:02 | 显示全部楼层
是cadence的AE说的。没去找什么文档。我这边没问题。
 楼主| 发表于 2017-7-13 10:19:09 | 显示全部楼层
回复 7# yuanpin318

好,那我这么说吧,比如我用ncverilog -f  proja.lst
proja.lst里面是几个.v文件,
a.v
b.v
c.v
d.v

我想让a.v中的specify无效,
我应该怎么做,是这样写吗?谢谢。

ncverilog -f  proja.lst -disable_warnings {specify, a.v}
发表于 2017-7-13 13:05:03 | 显示全部楼层
I added in tb.v

initial
  begin
  #5000ns;
  $disable_warnings("timing", tb_top.dut.a);
   #1000ns;
  $enable_warnings("timing", tb_top.dut.a);
  end

没有试过command line. 你最好问一下你的AE。
 楼主| 发表于 2017-7-14 17:02:19 | 显示全部楼层
回复 9# yuanpin318

谢谢你,我们小公司,哪有啥AE
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

×

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

GMT+8, 2024-4-25 08:27 , Processed in 0.039175 second(s), 6 queries , Gzip On, Redis On.

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