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

7 次查看(过去 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
Brad 2024-4-2
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 CenterFile Exchange 中查找有关 System Composer 的更多信息

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by