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

2 visualizaciones (últimos 30 días)
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?

Respuesta aceptada

Claire Fan
Claire Fan el 15 de Nov. de 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.

Más respuestas (1)

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

Categorías

Más información sobre Code Generation en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by