How to reuse function and generate less files using HDL coder
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Alla
am 18 Feb. 2019
Kommentiert: Alla
am 9 Jul. 2019
I have a simulink design that is very repetetive and uses the same subsystems and blocks multiple times.
The HDL coder is generating a huge number of files, for instance I have multiple Image Filter blocks and the coder generates ,for each of them, a number of files for padding, data memory lines, line buffer.... the project becomes unweildy very quickly with over a 1000 files.
Is there a way to reuse functions and subsystems throughout the project?
0 Kommentare
Akzeptierte Antwort
Sreejith Menon
am 20 Feb. 2019
Can you please mark the identical subsystems as "Atomic Subsystems" (Block Parameters > Treat as atomic unit)? That should trigger HDL Coder to share the files for the identical subsystems.
regards,
Sreejith
5 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!