Cosimulation fails with XSI error: Vivado Simulink HDL Simulation
Afficher commentaires plus anciens
When I try to set up a simulation model, either with HDL Workflow Advisor or through the Cosimulation Wizard (with the HDL files generated from the Simulink model), I'm not able to run the simulation and get the following error:
Error reported by S-function 'shdlcosimxsi' in 'gm_simple_filt_test_vs/HDL_DUT_vs/S-Function': 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. Saw following std::exception: ISim engine error: Failed to Load up XSI.
Might this be a Vivado version incompatibility error, or is it a simple setup error I missed? I'm working with ADI boards that require an unsupported version but am able to still generate a bitstream when selecting "Allow unsupported version". I'm just unsure if this approach still works for cosimulation... trying to narrow down the root of the issue. I had issues when trying to set up the LD_LIBRARY_PATH variable in the command line (clashing with MATLAB libraries, so instead I used setenv() to set the path within MATLAB.
I am using Linux (ubuntu 20.04), MATLAB R2021b/R2022b, Vivado 2021.1. Thanks in advance!
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur HDL Coder dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!