Xrun MSIE flow遇到INTERNAL EXCEPTION with “ifmgr - pt_build() -size calculated incorrectly“

使用xrun MSIE flow在进行多个snapshot的编译的时,当进行到最后top模块的elaboration的时候,遇到如下异常:

ImportError: No module named site

xmelab: *F,INTERR: INTERNAL EXCEPTION

-----------------------------------------------------------------

The tool has encountered an unexpected condition and must exit.

Contact Cadence Design Systems customer support about this

problem and provide enough information to help us reproduce it,

including the logfile that contains this error message.

  TOOL:        xmelab(64)        20.09-s023

  HOSTNAME: hzfes1

  OPERATING SYSTEM: Linux 2.6.32-754.el6.x86_64 #1 SMP Thu May 24 18:18:25 EDT 2018 x86_64

  MESSAGE: ifmgr - pt_build() - size calculated incorrectly 36947 vs 36948

查询了Cadence help有如下解释:

This internal error comes in multi xrun MSIE non-Bbox flow. The reason is that, the non-Bbox flow shares
the elaboration environment. If the same specialization of the code generation happens in different primaries, then, at the
time of incremental elaboration, the primaries cannot distinguish which code generation belongs to them and it loads
incorrect code generation. Due to this shared environment, this results into this internal error with message "ifmgr -
pt_build()"
This issue can be resolved using the multi Xrun MSIE Bbox flow. This flow enables primaries to know their entire
compilation and elaboration data structures.
  1. Use bbox_create while creating the primary:
xrun -clean msie.sv -mkprimsnap -top prim1 -name prim1 -xmlibdirname prim1_lib -
bbox_create bbox1 -access r
xrun -clean msie.sv -mkprimsnap -top prim2 -name prim2 -xmlibdirname prim2_lib -
bbox_create bbox2 -access r

上面的命令会在编译目录下创建bbox1和bbox2文件夹
Note: Make sure to use different snapshot name (passed with -name) to different primaries using -bbox_create.

      2. Use bbox_link to refer the primaries during incremental elaboration:

xrun -clean msie.sv -primname prim1@prim1_lib -bbox_link 绝对路径指到/bbox1 -
primname prim2@prim2_lib -bbox_link 绝对路径指到/bbox2 -top incr


 

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值