SOC环境中挂载C和S家VIP时,解决UVM uvm_pkg冲突问题

这篇博客主要讨论了在使用IRUN编译时遇到的ERROR信息,特别是关于`DLCSMD`依赖校验错误和`UVMLIB`混合导入的问题。错误在INCISIVE 13.2版本中尤为突出。解决方案包括使用`-UVMNOCDNSEXTRAS`开关或`-UVMNOAUTOCOMPILE`开关。前者禁用`cdns_uvm_pkg`的自动编译,后者则禁止irun自动编译UVM包。但需要注意,这些开关可能会影响某些特定的Cadence UVM特性,如调试功能。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

IRUN编译时ERROR信息:
ncvlog: *E,DLCSMD: Dependent checksum verilog_package worklib.uvm_pkg:sv (VST) doesn’t match with the checksum that’s in the header of: verilog_package worklib.cdns_uvm_pkg:sv (VST).
module worklib.top:sv
errors: 1, warnings: 0
irun: *E,VLGERR: An error occurred during parsing. Review the log file for errors with the code *E and fix those identified problems to proceed. Exiting with code (status 1).

解决办法(源自网络,仅供学习交流,实测有效):

  • It is not recommended to mix `include and package import constructs to make the ovm/uvm libraries visible to the simulation.
  • This use case compiles fine in INCISIVE versions 13.1 and below.

Users migrating to INCISIV13.2 release may see the DLCSMD error when the user mixes the two modes. The issue has been there before but didn’t become visible

To resolve this:

  1. Use the -UVMNOCDNSEXTRA switch.

The switch -UVMNOCDNSEXTRA disables this implicit compiling of cdns_uvm_pkg and can be used as a workaround for this problem. This switch eliminates this compilation problem, but it also disables Cadence-specific UVM features that are available in 13.2 including uvm debug capabilities (unless the user manually compiles the needed cdns_uvm_pkg available at $INSTALL_DIR/tools/methodology/UVM/CDNS-1.1d/additions/sv).

  1. Use the -UVMNOAUTOCOMPILE switch. The -uvmnoautocompile switch disables irun’s automatic compile of the uvm package.

The root issue is that irun isn’t used properly (-uvmnoautocompile is missing or the second package needs to be removed)

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值