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

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)

  • 6
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值