在使用vcs和verdi调试过程中,在编译代码时报错如下:
Error-[IOLF] Incompatible object/library File
The architecture of current VCS is 'linux 32bit', user provided
'/opt/Synopsys/Verdi2015/share/PLI/VCS/LINUX64/pli.a' is incompatible with current architecture because it was compiled with '-m64’.
Please make sure the user provided object/library files are compiled on compatible platform and with same mode as VCS.
开始一直在解决版本匹配问题,我使用的VCS是2014.03,而verdi使用的是2015.09-SP1 -1。在搜索问题后查不到相关的解答,最后发现在编译的过程中加一条命令就可以完美解决,即
vcs 编译选项中加入
-full64