Filter löschen
Filter löschen

Error in HDL code generation?

2 Ansichten (letzte 30 Tage)
Ravi
Ravi am 26 Dez. 2013
Bearbeitet: Tim McBrayer am 30 Dez. 2013
I have a digital PLL model In that i have na state flow model with simple code. when i click configuration parameters-> HDL Code Generation and select verilog option. Then if click Generate Code then the error is "a stateflow chart may have at most one input event for HDL code generation". So how to solve this error.

Antworten (1)

Tim McBrayer
Tim McBrayer am 30 Dez. 2013
Bearbeitet: Tim McBrayer am 30 Dez. 2013
HDL Coder's Stateflow support can only support a single input event to a given chart. If a chart has multiple input events, you will need to implement the semantic for multiple events outside the chart. For some designs you may be able to simply logical-or the external input event signals together. Other designs will require more redesign.

Kategorien

Mehr zu Code Generation finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by