HDL Coder can not generate the code
2 ビュー (過去 30 日間)
古いコメントを表示
I am trying to generate HDL Code for Drive System of electrical 3-phase Motors, the model consists of parent Model and many of referenced models. no errors and no warnings in the model but when i use workflow advisor to generate the code, the generated code is alwayes failed and this is the cause:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1474101/image.png)
this is the models:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1474106/image.png)
so, i dont know, ehats that mean and how to solve it, it would be nice, if someone could help
0 件のコメント
採用された回答
Kiran Kintali
2023 年 9 月 5 日
編集済み: Kiran Kintali
2023 年 9 月 8 日
This error is unexpected from HDL Coder that happens when the DUT / referenced model has zero input and output ports. Such subsystems do not contribute to logic and lead to this error instead of a valid message with instructions. Consider adding atleast one output port that contributes to logic to workaround this error.
4 件のコメント
Kiran Kintali
2023 年 9 月 7 日
編集済み: Kiran Kintali
2023 年 9 月 8 日
https://www.mathworks.com/support/bugreports/3102131
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!