how can i solve this

1 view (last 30 days)
taamouch abdelhak
taamouch abdelhak on 19 Jan 2019
Edited: Walter Roberson on 22 Jan 2019
Hi, I want to teste the exemple 'Verify Viterbi Decoder Using HDL Cosimulation' But i meet every time this Error
//Error reported by S-function 'shdlcosim' in 'viterbi_modelsim/viterbi_hdl/S-Function': Failed to connect to server. Make sure the loaded HDL simulator library is using shared memory//
how can i solve this probleme. Thank you
  2 Comments
William
William on 21 Jan 2019
Hi Taamouch,
There are a few different possible reasons for this error message.
  1. Are you getting this error when you click on the 'Run' button in Simulink? If so, please make sure you launch either ModelSim or Incisive/Xcelium first before clicking the 'Run' button. You can launch the tools by double clicking on the Startup Command Annotation Box provided in the Simulink model.
  2. Once the simulator is launched and before clicking on the 'Run' button in Simulink, scroll through the log/outputs in the simulator terminal window / command window to see if there are any warnings or errors
  3. Which platform and version of MATLAB are you using?
Regards,
taamouch abdelhak
taamouch abdelhak on 21 Jan 2019
Hi Mr.William
I appreciate your response.
I use Matlab 2017b, and I tested the ModelSim versions 10.4a, 6.5. and it does not work.

Sign in to comment.

Answers (1)

taamouch abdelhak
taamouch abdelhak on 22 Jan 2019
Edited: taamouch abdelhak on 22 Jan 2019
Finally i found the problem.
if you have the same problem you just need to instal the version supported by your Matlab.
for me i solved the problem by using ModelSim 10.4c for Matlab 2017b .
good luck.

Tags

Community Treasure Hunt

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

Start Hunting!