Borrar filtros
Borrar filtros

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

11 visualizaciones (últimos 30 días)
Bilal MEJMAA
Bilal MEJMAA el 14 de Oct. de 2023
Comentada: Bilal MEJMAA el 21 de Oct. de 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

Respuestas (1)

Marc Erickson
Marc Erickson el 16 de Oct. de 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 comentario
Bilal MEJMAA
Bilal MEJMAA el 21 de Oct. de 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.

Iniciar sesión para comentar.

Categorías

Más información sobre HDL Coder en Help Center y File Exchange.

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by