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

26 Ansichten (letzte 30 Tage)
Bilal MEJMAA
Bilal MEJMAA am 14 Okt. 2023
Kommentiert: Bilal MEJMAA am 21 Okt. 2023
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

Antworten (1)

Marc Erickson
Marc Erickson am 16 Okt. 2023
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 Kommentar
Bilal MEJMAA
Bilal MEJMAA am 21 Okt. 2023
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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by