Trigger type 'either' is not supported for HDL code generation.

Hi
I am generating HDl code for a state flow which is double edge triggered.And I get the error show below.
Trigger type 'either' is not supported for HDL code generation.
Is there any solution for it in simulink?.
Regards
Rizwan

 採用された回答

Kiran Kintali
Kiran Kintali 2020 年 2 月 13 日

0 投票

This is a known limitation with HDL code generation. Stateflow team at MathWorks has provided a modeling workaround. Please see if this suits your needs.

3 件のコメント

Muhammad Rizwan
Muhammad Rizwan 2020 年 2 月 14 日
編集済み: Muhammad Rizwan 2020 年 2 月 14 日
Thanks Alot Mr Kiran
I will get back to you about the outcomes if it suites us.
There is a problem while opening it.
It is saved in newer version(2020) while I am using 2019.
Is it possible to provide in older version
Muhammad Rizwan
Muhammad Rizwan 2020 年 2 月 18 日
Mr Kiran,
your reply is still awaited.
Kiran Kintali
Kiran Kintali 2020 年 2 月 18 日
You can uncheck this Simulink Preferences checkbox to load the model in future.

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

その他の回答 (2 件)

Kiran Kintali
Kiran Kintali 2020 年 2 月 11 日

0 投票

Can you share a sample model of your Stateflow usecase?
Thanks
Muhammad Rizwan
Muhammad Rizwan 2020 年 2 月 11 日

0 投票

Dear Kiran,
I have attached the file as required.
I want to generate hdl code for the subsytem input data formatter.
Thanks

カテゴリ

ヘルプ センター および File ExchangeCode Generation についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by