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

1 Ansicht (letzte 30 Tage)
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?

Akzeptierte Antwort

Claire Fan
Claire Fan am 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.

Weitere Antworten (1)

Kiran Kintali
Kiran Kintali am 15 Nov. 2021
Bearbeitet: Kiran Kintali am 15 Nov. 2021
https://www.mathworks.com/help/hdlcoder/ug/remove-redundant-logic-in-design.html

Kategorien

Mehr zu Code Generation finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by