HDL Coder Validation Model changes wiring
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1215043/original%20model.png)
![generated model](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1215048/generated%20model.png)
![validation model](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1215053/validation%20model.png)
Is this a bug?
0 commentaires
Réponses (1)
Nikhilesh
le 29 Déc 2022
As per my understanding this is the expected behaviour and I do not see any bug.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!