共享库导致Spectre在cadence界面不能运行
作者:互联网
问题描述:
Patch MMSIM (spectre)后,cadence建立lib->cellview ADE仿真出现问题
ERROR (ADE-3036): Errors encountered during simulation. The simulator run log has not been generated.
Possible cause could be an invalid command line option for the version of the simulator
you are running. Choose Setup->Environment and verify that the command line options
specified in the userCmdLineOption field are supported for the simulator.
Alternatively, run the simulator standalone using the runSimulation file in the netlist
directory to know the exact cause of the error.
原因分析:
其实报错文本里面已经提示你解决方法了,在terminal中进入对应simulation/cellview_name/spectre/schematic/netlist文件夹中,执行
spectre -raw psf input.scs &
发现报错
MMSIM12_10_347/tools/spectre/bin/64bit/spectre: error while loading shared libraries: libreadline.so.5: cannot open shared object file: No such file or directory
所以可以确定是共享库出了问题导致的。
下面开始解决。
解决方案:
首先执行
updatedb (更新数据库)
locate -b 'libreadline.so.5'
发现返还结果/opt里面好多文件夹都有libreadline.so.5文件。这个时候进入/lib64之后发现有更高版本的libreadline.so.6.2,于是可以采取两种方法。
- 从/opt对应文件夹里面拷贝libreadline.so.5 到 /lib64中
cp /opt/.../.../libreadline.so.5 /lib64
- 因为/lib64中已经有更高版本的libreadline,所以建立一个软连接就可以了
ln -s /lib64/libreadline.so.6.2 (source file) /lib64/libreadline.so.5 (link file)
这个时候再执行spectre应该就不会报找不到的问题了。
标签:界面,simulator,libreadline,Spectre,so.5,file,lib64,spectre,cadence 来源: https://blog.csdn.net/weixin_52714276/article/details/114326343