vivado [XSIM 43-3409]Failed to compile generated C file [XSIM 43-3225] Cannot find design unit

vivado 报错
[XSIM 43-3409]Failed to compile generated C file
[XSIM 43-3225] Cannot find design unit

进一步

xelab  -top tb -snapshot tb -v 2

top 顶层名字 -snapshot 仿真项目命名(可随意)-v verbose level 0-2 默认0

error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
ERROR: [XSIM 43-3409] Failed to compile generated C file xsim.dir/adder_tb_snapshot/obj/xsim_1.c.

提示缺少libncurses.so.5
arch 有个.6

$sudo ln -s /usr/lib/libncurses.so  /usr/lib/libncurses.so.5

提示too short

$sudo cp /usr/lib/libncurses.so  /usr/lib/libncurses.so.5

也不行,看来只认5

$ find /opt/Xilinx -iname "libncurses.so*"
/opt/Xilinx/Vivado_HLS/2017.2/lnx64/tools/gdb_v7_2/libncurses.so.5

临时解决。

 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/Xilinx/Vivado_HLS/2017.2/lnx64/tools/gdb_v7_2

arch 的aur里有个ncurses5-compat-libs包编译安装下。
ubuntu debian 有个libncurses5安装下。

另附其它解决方法, 供参考。

1,Create a custom project file and run simulation from the command line.

2,Check the hierarchy update mode in the Sources window.
Ensure it is set to "Automatic Update and Compile Order".

3,Check the testbench file properties and ensure the Used In property includes Simulation.
Try removing and re-adding the source to see if it makes any difference.
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

yvee

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值