HDL Coder removes I/Os of a model reference when they are terminated inside the model reference

1 view (last 30 days)
When the input signals of a model reference are terminated inside the model reference, HDL Coder removes the I/Os during HDL code generation, is there a workaround to keep the I/Os?

Accepted Answer

Claire Fan
Claire Fan on 15 Nov 2021
HDL Code generation might remove input and output ports of a model reference in the generated code when the ports are unconnected inside the subsystem. Consider setting DeleteUnusedPorts to off to keep the unused ports.

More Answers (1)

Kiran Kintali
Kiran Kintali on 15 Nov 2021
Edited: Kiran Kintali on 15 Nov 2021


Find more on Code Generation in Help Center and File Exchange





Community Treasure Hunt

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

Start Hunting!