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

2 次查看(过去 30 天)
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?

采纳的回答

Claire Fan
Claire Fan 2021-11-15
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.

更多回答(1 个)

Kiran Kintali
Kiran Kintali 2021-11-15
编辑:Kiran Kintali 2021-11-15
https://www.mathworks.com/help/hdlcoder/ug/remove-redundant-logic-in-design.html

类别

Help CenterFile Exchange 中查找有关 Code Generation 的更多信息

标签

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by