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