HDL coder error: Conversion to HDL
조회 수: 1 (최근 30일)
이전 댓글 표시
My Simulink model file(cent_momnew.mdl) when running 'Run compatibility checker' is giving some warning like following :
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
cent_momnew/loop1/For Iterator WarningCannot find the implementation for block 'cent_momnew/loop1/For Iterator'.
cent_momnew/loop1/For Iterator Subsystem/IC WarningCannot find the implementation for block 'cent_momnew/loop1/For Iterator Subsystem/IC'.
cent_momnew/loop1/For Iterator Subsystem/1-D Lookup Table WarningHDL code generation for the Lookup Table (n-D) block does not support out-of-range inputs. Set the "Action for out of range input" block parameter to "Error" to suppress this warning.
cent_momnew WarningHDLCoder can not find a valid sample time for the model. All rates are 0 (continuous).
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
and finally when i gave 'generate HDL' it is giving the following error:
Assertion failed: .\dom_pir_core\clockmanager.cpp:198:unexpected sample time: -1
Please help me to solve this. Thanks in advance
댓글 수: 0
답변 (1개)
Tim McBrayer
2015년 1월 21일
The For Iterator Subsystem is not supported for HDL code generation. Run the following command in MATLAB to access the documented list of blocks supported for HDL Code generation.
>> web(fullfile(docroot, 'hdlcoder/block-support.html'))
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 HDL Coder에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!