![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/271430/image.png)
Trigger type 'either' is not supported for HDL code generation.
조회 수: 1 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
채택된 답변
Kiran Kintali
2020년 2월 13일
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/271430/image.png)
댓글 수: 3
Kiran Kintali
2020년 2월 18일
You can uncheck this Simulink Preferences checkbox to load the model in future.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/272393/image.png)
추가 답변 (2개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!