HDL coder conversion Trigger/function call generator substitution

1 回表示 (過去 30 日間)
kimi
kimi 2020 年 10 月 26 日
コメント済み: kimi 2020 年 11 月 9 日
Hello all,
Im having an issue with converting a Field oriented control system to hdl coder. This is a model constructed my matlab ( open_system('mcb_pmsm_foc_autotuner.slx');
). The problem is the trigger/enable/function call generator cant be converted to hdl. Is there something else I can use to substitute this block? I thought something along the lines of embedded coder or a dsp related block should do.
Please help

回答 (1 件)

Nikhil Sonavane
Nikhil Sonavane 2020 年 10 月 29 日
You may consider creating another subsystem which encloses the subsystem which has a trigger port. In this way the trigger port will act as in input port for the top level subsystem as not a trigger.
  1 件のコメント
kimi
kimi 2020 年 11 月 9 日
The problem now is the function call which is not supported within HDL. Since I'm using the Zedboard which has a microcontroller I can use embedded coder instead. And now the problem is that only the top level subsystem is converted to embedded coder and the other blocks that is contains is not coded.

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

カテゴリ

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