필터 지우기
필터 지우기

HDL Coder can not generate the code

조회 수: 2 (최근 30일)
Mohamed Sodan
Mohamed Sodan 2023년 9월 5일
편집: Kiran Kintali 2023년 9월 8일
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:
this is the models:
so, i dont know, ehats that mean and how to solve it, it would be nice, if someone could help

채택된 답변

Kiran Kintali
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
Mohamed Sodan
Mohamed Sodan 2023년 9월 7일
i am using version 2023a
hier is the complete code:
Kiran Kintali
Kiran Kintali 2023년 9월 7일
편집: Kiran Kintali 2023년 9월 8일
https://www.mathworks.com/support/bugreports/3102131

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by