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.
HDL Coder removes I/Os of a model reference when they are terminated inside the model reference
2 views (last 30 days)
Show older comments
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?
0 Comments
Accepted Answer
More Answers (1)
Kiran Kintali
on 15 Nov 2021
Edited: Kiran Kintali
on 15 Nov 2021
https://www.mathworks.com/help/hdlcoder/ug/remove-redundant-logic-in-design.html
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!