Hello,
I have to generate the HDL Code of a mixed Simscape/Simulink model. All the model (Simscape + Simulink) must fit into one FPGA.
- The Simscape part contains 6 Simscape networks with only Electrical blocks. The Simscape networks are connected by Simulink/Simscape converter blocks and Simulink blocks.
- The Simulink part contains Simulink blocks that are compatible with the HDL Code generation.
I followed the tutorials of how to generate HDL Code from a Simscape model, but none of them shows the example of generating the HDL Code of a mixed Simscape/Simulink model.
In my Simscape/Simulink model, when I use the SSHDL advisor tool
- It generates 6 State Space Simulink implementation submodels of the 6 Simscape networks.
- The 6 State Space Simulink implementation submodels are not connected with the original Simulink blocks.
- The original Simulink part is not present in the SSHDL model.
So when I use the HDL Workflow advisor tool, the HDL Code does not contain all the functionnalities of my original model.
What is the good manner of generating the HDL Code of a mixed Simscape/Simulink model ?
Thank you for your answers.
Best Answer