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

26 visualizzazioni (ultimi 30 giorni)
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

Risposte (1)

Marc Erickson
Marc Erickson il 16 Ott 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 Commento
Bilal MEJMAA
Bilal MEJMAA il 21 Ott 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.

Accedi per commentare.

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Prodotti


Release

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by