HDL coder to generate single rtl module for multiple subsystem.

Hi I have a block which contains many tiny subsystem. Basically I wan to see it as a subsystem in the simulink model but not to translate each one of them in to seperate rtl module .. I tried hierarchy flattening but doesnt work.. How can I achieve this ?

回答(1 个)

Hierarchy flattening only works if the subsystem being flattened has all default parameters set on it. That is, if you look at the HDL Block properties (right click, HDL Coder -> HDL Block Properties) the subsystem you want to flatten, then all its parameters must be default. Otherwise, the subsystem will not be flattened.
If you attach your model, I can take a look and help you with this.

此问题已关闭。

标签

关闭:

2021-8-20

Community Treasure Hunt

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

Start Hunting!

Translated by