フィルターのクリア

Assertion failed: b:\matlab\​src\cgir_h​dl\pir_tra​nsforms\da​tarateanal​yzer.cpp:5​82:PirUtil​s::floatEq​ual(data.g​etRate(), outputSig->getRate())

4 ビュー (過去 30 日間)
I am trying to convert my HDL coder project to verilog files via HDL coder workflow.
This error HDL code generation report.
Error Assertion failed: b:\matlab\src\cgir_hdl\pir_transforms\datarateanalyzer.cpp:582:PirUtils::floatEqual(data.getRate(), outputSig->getRate())
Failed Assertion failed: b:\matlab\src\cgir_hdl\pir_transforms\datarateanalyzer.cpp:582:PirUtils::floatEqual(data.getRate(), outputSig->getRate())
Assertion failed:
b:\matlab\src\cgir_hdl\pir_transforms\datarateanalyzer.cpp:582:PirUtils::floatEqual(data.getRate(), outputSig->getRate())
Error in slhdlcoder.HDLCoder/makehdl
Error in downstream.DownstreamIntegrationDriver/runGenerateRTLCodeAndTestbench
Error in runGenerateRTLCodeAndTestbench
Error in Simulink.ModelAdvisor/executeCheckCallbackFct
Error in Simulink.ModelAdvisor/run
Error in Simulink.ModelAdvisor/runCheck
Error in ModelAdvisor.Node/runTaskAdvisor
Error in ModelAdvisor.Node/runToFail
Error in ModelAdvisor.Node.runtofailure
Failed Generated HDL code.
Please suggest me how to proceed. I am using Matlab 2017a.
  2 件のコメント
Walter Roberson
Walter Roberson 2017 年 7 月 16 日
This seems to be indicating that the data rate has been detected as being different from the output signal rate.
Mohammed Shameem Hussain
Mohammed Shameem Hussain 2017 年 7 月 17 日
Isn't Matlab should be able to handle data rate automatically, because I only have the freedom to enter the main clock frequency. Please correct me if I am wrong.

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

採用された回答

Kiran Kintali
Kiran Kintali 2017 年 7 月 19 日
Hi, we have analyzed this issue and it looks like some of your blocks are configured with different rate inputs as you can see in the picture. This is not supported by HDLCoder.
We are investigating why you were seeing the cryptic error instead of valid error message pointing you to the incorrectly configured product block. We will fix this buggy behavior in our 17b release.
For now, can you make sure the rates are consistent in your model?
we are working with Simulink team to report this error as soon as possible (ctrl-D) during rate propagation and also update HDLCoder conformance checker to report a valid message pointing to the offending block instead of the cryptic internal error.
Hope this helps.
Thanks

その他の回答 (1 件)

Kiran Kintali
Kiran Kintali 2017 年 7 月 17 日
can you please send me reproduction steps with a model? my team will provide a workaround for 17a. thanks.
  3 件のコメント
Mohammed Shameem Hussain
Mohammed Shameem Hussain 2017 年 7 月 19 日
Hi, Is there an update for me? At the moment I could not proceed due to this error.
Looking forward to a solution
Thank you

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

カテゴリ

Help Center および File ExchangeCode Generation についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by