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!