Azzera filtri
Azzera filtri

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

6 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

Kiran Kintali
Kiran Kintali il 26 Mar 2024
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 Commento
Brad
Brad il 2 Apr 2024
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.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su System Composer in Help Center e File Exchange

Prodotti


Release

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by