Borrar filtros
Borrar filtros

HDL Coder Validation Model changes wiring

1 visualización (últimos 30 días)
Manuel K
Manuel K el 1 de Dic. de 2022
Comentada: Manuel K el 29 de Dic. de 2022
Hello,
my latest validation model produced by simulink hdl coder didn't work, datatype and dimension related errors were in the model. Further investigation lead me to the root cause of the error: the ports of my DUT were connected in the wrong way.
This issue might not happen very often because normally the signal inputs are all on the left site while the outputs are on the right. For keeping the model layout nice and compact I changed this convention, which lead to to error in the validation-model.
The generated model however does not have this issue.
Here are some pictures to illustrate the problem: original, generated and validation model.
original model
generated model
validation model
Is this a bug?

Respuestas (1)

Nikhilesh
Nikhilesh el 29 de Dic. de 2022
As per my understanding this is the expected behaviour and I do not see any bug.
  1 comentario
Manuel K
Manuel K el 29 de Dic. de 2022
Is this mentioned anywhere? I haven't seen any reference to it in the modeling guidelines.
And if it works in one case and not in the other, I would not call this behavior expected.

Iniciar sesión para comentar.

Categorías

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

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by