Error: Failed to load shared library "xsim.dir/​design/xsi​mk.so"

11 次查看(过去 30 天)
I am getting the following error while trying to start co-simulation using the cosimZiward:
Could not create XSI loader object. The HDL design DLL or Vivado Simulator kernel libraries could not be properly loaded. Ensure the design DLL has been created at xsim.dir/design/xsimk.so and the Xilinx kernel libraries librdi_simulator_kernel.so can be found.
I checked the "/home/dptphysics/Documents/Xilinx/Vivado/2020.2/lib/lnx64.o" directory, where the "librdi_simulator_kernel.so" file exists.
Also design DLL "xsim.dir/design/xsimk.so" has been created.
I am working with Vivado 2020.2, I tried also to remove Vivado and install it again but nothing works.
Thank you for your help

回答(1 个)

Marc Erickson
Marc Erickson 2023-10-16
For linux, there are two key requirements:
  1. You must use the supported version of Vivado for the version of MATLAB you are using.
  2. The LD_LIBRARY_PATH must be defined to include the lnx64.o directory before you invoke MATLAB, or you must use ld.so.conf.d startup scripts to point to the lnx64.o directory that holds the Xilinx shared libraries.
  1 个评论
Bilal MEJMAA
Bilal MEJMAA 2023-10-21
Thank you so much for our response Marc, I have installed MATLAB 2023b and Vivado 2022.1 to ensure that the versions support each other. And I also included the lnx64.o folder to the LD_LIBRARY_PATH but I still have the error.
I have started the cosimulation in Windows, I excpect the the process is almost the same as Ubunto, I am wondering just to ensure that I am not skipping anything.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 HDL Coder 的更多信息

产品


版本

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by