MATLAB stuck when HDL coder converted the model to Verilog

6 ビュー (過去 30 日間)
wang
wang 2023 年 2 月 22 日
編集済み: Kiran Kintali 2023 年 11 月 20 日
After clicking henerate HDL code to run, the operation page is directly stuck and no operation can be carried out. MATLAB can only be forcibly closed. And no Verilog was produced。
If I close MATLAB directly, the following error report will appear. But if I wait for it to run, MATLAB will jam.
So when I changed the output to multiple parallel structures, and I continued to run henerate HDL code, the program, just like it did before, just stuck. Continue to close MATLAB, at this time a new error.
error:Compilation errors when generating code for: Matrix/jvzhen\Selector1 Error during MATLAB code compilation: Error Path: B:\matlab\src\cgir_hdl\emlinterface\EMLInterfaceForHDL.cpp:407 Error Location: (@Row: --> 5 @Column: --> 14) Compilation aborted by user. Internal Error: This error occurred inside a MathWorks function.

回答 (1 件)

Kiran Kintali
Kiran Kintali 2023 年 2 月 22 日
Can you share your model or reach out to tech support for further guidance on the topic?
In general this model seems to be using large matrices at the IO. You have two options.
  • Manual frame to sample conversion; reduce the IO usage by passing samples into the dut; use additional valid, ready signals to control the IO frames.
mlhdlc_demo_setup('heq')
  • Use to automated frame to sample conversion workflow
  10 件のコメント
Kiran Kintali
Kiran Kintali 2023 年 11 月 20 日
編集済み: Kiran Kintali 2023 年 11 月 20 日
Arash, Would you be able to share a sample model? Thanks.
Kiran Kintali
Kiran Kintali 2023 年 11 月 20 日
wang, I hope you got MathWorks tech support on your thread; my initial comment still applies. You can browse examples like >> mlhdlc_demo_setup('heq') to see how to convert your code to streaming fashion.

サインインしてコメントする。

タグ

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by