Getting Error while using HDL Coder

18 visualizzazioni (ultimi 30 giorni)
Ashwani
Ashwani il 23 Giu 2025
Risposto: Kiran Kintali il 2 Dic 2025 alle 16:29
I am using Matlab to generate Verilog HDL code for Multivarient Newton Raphson method. I have attached my project along with the screenshot for the issue which i face while using the HDL coder. Kindly help me to resolve the issue.
  3 Commenti
Walter Roberson
Walter Roberson il 22 Lug 2025
I had no problem accessing the attachment. I used "Save link as" to save the zip file (internal name: data.zip ) and unzipped the zip file to get a directory named Matlab_HDL_Coder that contained a simulink project and associated files.
Harald
Harald il 23 Lug 2025
@Shlok, I was able to reproduce the problem accessing the attachments.
Colleagues have done an initial investigation. The links work if you switch to the mathworks.com domain. To do so, scroll to the bottom of the page, click the country currently displayed on the right, and in the popup select "United States".
My apologies for the inconvenience.

Accedi per commentare.

Risposte (1)

Kiran Kintali
Kiran Kintali il 2 Dic 2025 alle 16:29
If you are still facing the issue please reach out to MathWorks technical support.
I tried the example model in R2025b release and saw this valid error message.
>> makehdl('MV_newtonSubsystem/Subsystem')
In MATLAB Function, MV_newtonSubsystem/Subsystem/MATLAB Function, contains "'break'" . Use of while, break, continue, return, or parfor keywords in MATLAB code may prevents HDL code generation.

Categorie

Scopri di più su FPGA, ASIC, and SoC Development in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by