facing error to use HDL verifier

20 vues (au cours des 30 derniers jours)
lakshmi
lakshmi le 26 Juin 2024
When attempting to simulate a Simulink block, I encountered an error. I was trying to implement the example using the command openExample('hdlverifier/GettingStartedWithSimulinkHDLCosimExample') in MATLAB, strictly following to all steps outlined in the MATLAB documentation.
Error reported by S-function 'shdlcosimxsi' in 'rcosflt_tb/rcosflt_rtl/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.

Réponses (1)

Marc Erickson
Marc Erickson le 26 Juin 2024
Ensure you are using a version of Vivado that is compatible with your version of MATLAB.
If still not working.
  • On Windows: ensure you have your $PATH correct. This is generally done for you when running the wizard.
  • On Linux: either set LD_LIBRARY_PATH as-needed before starting MATLAB or use "ldconfig" for one-time setup for a specific machine when you have sudo access.
  • See this doc for more details: https://www.mathworks.com/help/hdlverifier/ug/startup-for-hdl-cosimulation.html?searchHighlight=ldconfig&s_tid=srchtitle_support_results_1_ldconfig#bt9u4xl-6

Catégories

En savoir plus sur Code Generation dans Help Center et File Exchange

Produits


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by