gm_interface_model.slx file throws unexpected error when it is run by clicking Monitor and Tune button.

1 view (last 30 days)
Using HDL workflow advisor, I generate gm_interface_model.slx file, but when I run, it throws following error.
External mode is terminating because Simulink received an unexpected incoming packet from target.
I using Xilinx Ultrascale MPSoC Board for implementing my algorithm on FPGA. My sample time of the interface model in 5e-3s.
What can be the cause of this error? Is something wrong with clocking my IP core?

Answers (1)

Gowthami
Gowthami on 17 Apr 2023
Edited: Gowthami on 2 May 2023
Hello,
It is my understanding that you are getting the error while running the'gm_interface_model.slx'model.
I would recommend you go through the solution provided in the following Matlab Answer -
  5 Comments
Gowthami
Gowthami on 2 May 2023
Hello,
I would recommend you go through the solution provided in the following Matlab Answer -
The above answer is explaining the issue when running the generated model.
While using External mode, you could use the new FPGA prototyping API from MATLAB, if your use case is to read/write data from FPGA.
For more information on Prototype FPGA Design on Hardware with Live Data by Using MATLAB Commands, you may go through the following link - https://www.mathworks.com/help/hdlcoder/ug/prototype-fpga-design-on-hardware-by-using-MATLAB-commands.html

Sign in to comment.

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!