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

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

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
楼主: yslen01

urg crash的问题

[复制链接]
发表于 2024-10-16 16:23:45 | 显示全部楼层


yslen01 发表于 2024-10-16 16:13
我是在用urg的时候报错。

比如urg -dir simv1.vdb -full64。


simv1.vdb    这个文件共享下,大家一起测试下
发表于 2024-10-17 16:43:44 | 显示全部楼层


yslen01 发表于 2024-10-16 16:13
我是在用urg的时候报错。

比如urg -dir simv1.vdb -full64。





vcs_V-2023.12-SP2
vcs_T-2022.06

First of all, I apologize. I made an incorrect statement.
When you use the following command to generate the simv.vdb file:

vcs -cm line+cond testbench.sv -o simv


and then run urg using the generated simv.vdb:

urg -dir simv.vdb -report report_directory

the vcs_V-2023.12-SP2 version crashes, as you experienced.

With the stack limit set to unlimited using the command:

limit stacksize unlimited

the vcs_T-2022.06 version works properly.

This issue doesn't seem to be related to licensing.
Upon analyzing the error message, it seems to be a stack-related crash. The program shows a crash occurring during the nanosleep or waitpid system calls within the libc.so.6 library. The related stack trace shows that the crash is being triggered by Synopsys VCS-related libraries (liberrorinf.so, libucapi.so, etc.), and it appears to be associated with a thread named urg1. There is also a memory allocation issue, as seen in the functions mem_free and snpsCheckFreeFunc.
This seems to be related to the synopsys_checksum fetching process, which involves nanosleep or waitpid. Since the older version (vcs_T-2022.06) works correctly, it appears that the latest version (2024) may have issues with the synopsys_checksum not functioning properly.
I recommend replacing synopsys_checksum with SynopsysMonoSlayer.
Additionally, there is another issue where VCS compilation with the vcs_V-2023.12-SP2 version fails to work properly when the user's disk is under heavy load. When the system is rebooted and under no load, it works fine. This issue also seems related to the nanosleep or waitpid system calls.




发表于 2024-10-17 18:29:55 | 显示全部楼层


joshua2784920 发表于 2024-10-17 16:43
vcs_V-2023.12-SP2
vcs_T-2022.06


can u share the latest SynopsysMonoSlayer? the repo in github seems to be deleted. thx
发表于 2024-10-17 19:28:45 | 显示全部楼层


joshua2784920 发表于 2024-10-17 16:43
vcs_V-2023.12-SP2
vcs_T-2022.06


thanks for your answer, bro. Hope someone will find a way to tackle that problem.

发表于 2024-10-17 19:45:55 | 显示全部楼层


joshua2784920 发表于 2024-10-17 16:43
vcs_V-2023.12-SP2
vcs_T-2022.06


thanks for explanation
发表于 2024-10-20 10:58:57 | 显示全部楼层
VCS 和verdi 2023.12-SP2
直接同名替换就行了

libucapi.tar.gz

28.3 MB, 下载次数: 17 , 下载积分: 资产 -9 信元, 下载支出 9 信元

发表于 2024-10-20 11:01:43 | 显示全部楼层
解压,vcs、verdi  2023.12-sp2版本,直接同名文件覆盖即可

libucapi.tar.gz

28.3 MB, 下载次数: 13 , 下载积分: 资产 -9 信元, 下载支出 9 信元

发表于 2024-10-20 20:04:53 | 显示全部楼层


killwin 发表于 2024-10-20 11:01
解压,vcs、verdi  2023.12-sp2版本,直接同名文件覆盖即可


还是会报错。具体如下:
Error-[UCAPI-FLFM] Ucapi file loading failed
  Error occurred while loading file
  'simv.vdb/snps/coverage/db/testdata/test/testbench.cumulative.xml':  Unknown
  attribute type for TestBench element.



 楼主| 发表于 2024-10-21 09:25:16 | 显示全部楼层


joshua2784920 发表于 2024-10-17 16:43
vcs_V-2023.12-SP2
vcs_T-2022.06


Thanks very much!
发表于 2024-10-21 09:57:33 | 显示全部楼层


killwin 发表于 2024-10-20 11:01
解压,vcs、verdi  2023.12-sp2版本,直接同名文件覆盖即可


感谢,试了一下。在简单的case上可以过。

复杂的case,比如用到了urg -parallel,并行合并覆盖率的时候,会在另外的地方crash。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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


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

GMT+8, 2024-11-22 00:58 , Processed in 0.022559 second(s), 7 queries , Gzip On, Redis On.

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