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

4 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Kiran Kintali
Kiran Kintali il 13 Feb 2020
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 Commenti
Kiran Kintali
Kiran Kintali il 18 Feb 2020
You can uncheck this Simulink Preferences checkbox to load the model in future.

Accedi per commentare.

Più risposte (2)

Kiran Kintali
Kiran Kintali il 11 Feb 2020
Can you share a sample model of your Stateflow usecase?
Thanks

Muhammad Rizwan
Muhammad Rizwan il 11 Feb 2020
Dear Kiran,
I have attached the file as required.
I want to generate hdl code for the subsytem input data formatter.
Thanks

Categorie

Scopri di più su Code Generation in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by