How can HDL Code Generation for a full system be performed with System Composer Model that contains multiple Simulink models?

22 ビュー (過去 30 日間)
I have an architecture in System Composer and have developed Simulink HDL Coder behavioral models for its subsystems. How do I generate HDL code for the entire system rather than each simulink model individually? Performing the code generation at the individual models independently is not only time consuming, but it creates conflicts when those pieces are merged in the synthesis tool because the create duplicate libraries and datatypes with their code.

採用された回答

Kiran Kintali
Kiran Kintali 2024 年 3 月 26 日
Hi Brad,
can you create a support request to help further address this issue? We can followup offline on how to connect System Composer workflows to HDL Coder workflows.
Some of the items you refer to here w.r.to module / interface name uniqification and type definition usage across multiple modules are already addressed with top model containing instances of reference models using model blocks.
We need to review what is missing from the System composer context. Looking forward to the conversation.
  1 件のコメント
Brad Williams
Brad Williams 2024 年 4 月 2 日 13:22
Thank you. I'll create that request. Pre-codegen library merges can probably resolve this, but model reuse is where this tends to happen for us. In other words, two models from different organizations are brought into the same project and the models happen to have 1 or more identically named data types in their libraries since the libraries and models were developed independently. Merging the libraries and/or renaming datatypes is a heavy lift sometimes.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSystem Composer についてさらに検索

製品


リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by