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

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

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 3397|回复: 8

[求助] cadence AMS 混仿全加器时报错

[复制链接]
发表于 2021-8-4 23:49:16 | 显示全部楼层 |阅读模式

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

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

x
Warning from spectre.
    WARNING (SPECTRE-135): No analysis specified.

spectre terminated prematurely due to fatal error.
ncsim: *E,RNALER: Simulation terminated due to Analog error.
Memory Usage - 36.0M program + 464.4M data = 500.4M total
cpu Usage - 0.0s system + 0.2s user = 0.2s total (10.7% cpu)
ncsim> exit

请问这个是什么原因呢???

 楼主| 发表于 2021-8-5 00:42:36 | 显示全部楼层
log文件有如下警告与报错:

Warning from spectre during circuit read-in.
    WARNING (VACOMP-2397): Compilation failed when using pipe build. Bytecode
        flow will be used for encrypted VerilogA, and normal file compilation
        will be used for unencrypted VerilogA.

Compiling ahdlcmi module library.

Error found by spectre during circuit read-in.
    ERROR (VACOMP-1008): Cannot compile ahdlcmi module library. Check the log
        file
        amsControlSpectre.ahdlSimDB//2614_tools.lnx86_affirma_ams_etc_connect_lib_L2E_2.vams.connectLib__L2E_2__module__0x10000001_behavioral.ahdlcmi/Linux-64/../ahdlcmi.out
        for details. If the compiler ran out of memory, use 'setenv
        CDS_CMI_COMPLEVEL 0', and try again. Otherwise, contact your Cadence
        Customer Support representative with the netlist, log files, behavioral
        model files, and any other information that can help identify the
        problem.
 楼主| 发表于 2021-8-5 01:20:13 | 显示全部楼层
查看ahdlcmi.out文件,报错如下:

ld: BFD (GNU Binutils) 2.20 internal error, aborting at ../../binutils-2.20/bfd/reloc.c line 446 in bfd_get_reloc_size

ld: Please report this bug.

collect2: ld returned 1 exit status
gnumake: *** [obj/optimize/5.0/libahdlcmi_connectLib__L2E_2__module__0x10000001_behavioral.so] Error 1
 楼主| 发表于 2021-8-5 01:21:16 | 显示全部楼层
查看ahdlcmi.out文件,发现报错如下:

ld: BFD (GNU Binutils) 2.20 internal error, aborting at ../../binutils-2.20/bfd/reloc.c line 446 in bfd_get_reloc_size

ld: Please report this bug.

collect2: ld returned 1 exit status
gnumake: *** [obj/optimize/5.0/libahdlcmi_connectLib__L2E_2__module__0x10000001_behavioral.so] Error 1
 楼主| 发表于 2021-8-5 01:26:08 | 显示全部楼层
我安装的MMSIM151 和 INCISIVE151,分别打开下面路径发现:
/cadence/MMSIM151/tools.lnx86/cdsgcc/gcc/  下面有一个4.8文件,bin文件中cdsgcc中gccversionfull显示是4.8.3,如果没有4.8.3就用4.1.2
/cadence/INCISIVE151/tools.lnx86/cdsgcc/gcc/  下面有4.1和4.4两个文件,bin文件中cdsgcc中gccversionfull显示是4.4.5 ,如果没有4.4.5就用4.1.2

难道是这两个分别需要的gcc版本不同?所以混合仿真失败了?
 楼主| 发表于 2021-8-5 01:34:39 | 显示全部楼层
ahdlcmi.out

ld: BFD (GNU Binutils) 2.20 internal error, aborting at ../../binutils-2.20/bfd/reloc.c line 446 in bfd_get_reloc_size

ld: Please report this bug.

collect2: ld returned 1 exit status
gnumake: *** [obj/optimize/5.0/libahdlcmi_connectLib__L2E_2__module__0x10000001_behavioral.so] Error 1
 楼主| 发表于 2021-8-5 02:19:09 | 显示全部楼层
问题解决
解决方案链接:http://bbs.eetop.cn/thread-635921-1-1.html
原文:
gcc 版本不兼容问题
把下面这个目录里的gcc备份一下"gcc_bk",删除gcc,

/opt/cadence/INCISIVE152/tools.lnx86/cdsgcc/gcc/4.8/bin$


在/usr/bin里找到gcc

建立软连接:
/opt/cadence/INCISIVE152/tools.lnx86/cdsgcc/gcc/4.8/bin$ sudo ln -s /usr/bin/gcc ./gcc
完美解决
发表于 2024-1-21 02:07:25 | 显示全部楼层
要开-64bit选项。
开了之后,下面这两个err和warning消失
ERROR VACOMP-1008 Cannot compile ahdlcmi module library

WARNING VACOMP-2397 Comilation failed when using pipe build
a.png
发表于 2024-4-6 19:56:42 | 显示全部楼层


小孩77 发表于 2024-1-21 02:07
要开-64bit选项。
开了之后,下面这两个err和warning消失
ERROR VACOMP-1008 Cannot compile ahdlcmi modul ...


这个在哪里改哇?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-5-11 15:42 , Processed in 0.029154 second(s), 7 queries , Gzip On, Redis On.

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