Filter löschen
Filter löschen

facing error to use HDL verifier

2 Ansichten (letzte 30 Tage)
lakshmi
lakshmi am 26 Jun. 2024
Beantwortet: Marc Erickson am 26 Jun. 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.

Antworten (1)

Marc Erickson
Marc Erickson am 26 Jun. 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

Kategorien

Mehr zu Code Generation finden Sie in Help Center und File Exchange

Produkte


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by