フィルターのクリア

How to reuse function and generate less files using HDL coder

4 ビュー (過去 30 日間)
Alla
Alla 2019 年 2 月 18 日
コメント済み: Alla 2019 年 7 月 9 日
I have a simulink design that is very repetetive and uses the same subsystems and blocks multiple times.
The HDL coder is generating a huge number of files, for instance I have multiple Image Filter blocks and the coder generates ,for each of them, a number of files for padding, data memory lines, line buffer.... the project becomes unweildy very quickly with over a 1000 files.
Is there a way to reuse functions and subsystems throughout the project?

採用された回答

Sreejith Menon
Sreejith Menon 2019 年 2 月 20 日
Can you please mark the identical subsystems as "Atomic Subsystems" (Block Parameters > Treat as atomic unit)? That should trigger HDL Coder to share the files for the identical subsystems.
regards,
Sreejith
  5 件のコメント
Sreejith Menon
Sreejith Menon 2019 年 7 月 8 日
Hello,
I tried your designs and there were some compilation issues. Can you get in touch with our customer support - https://www.mathworks.com/support/contact_us.html?
That will be much quicker to resolve these minor issues in the design. The support team will get in touch with us after that.
thanks.
Alla
Alla 2019 年 7 月 9 日
It wokrs on my end but I'll see what I can do, thank you for the help

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

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by