Clear Filters
Clear Filters

facing error to use HDL verifier

39 views (last 30 days)
lakshmi
lakshmi on 26 Jun 2024 at 10:43
Answered: Marc Erickson on 26 Jun 2024 at 14:51
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.

Answers (1)

Marc Erickson
Marc Erickson on 26 Jun 2024 at 14:51
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

Categories

Find more on Multicore Processor Targets in Help Center and File Exchange

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!