HDL Coder For Each Subsystem Assertion failed: B:\matlab\src\cgir_hdl\pir_tags\ForEachDataTag.hpp:178:nativeVObj.get()
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Jason Katcha
il 15 Gen 2024
Commentato: Kiran Kintali
il 17 Gen 2024
When generating HDL code using the For Each Subsystem and a partitioned mask parameter, the following error message is generated:
Assertion failed: B:\matlab\src\cgir_hdl\pir_tags\ForEachDataTag.hpp:178:nativeVObj.get()
I believe it is related to the fact that in order for a mask parameter to be partioned using the for each subsystem, the parameter must be tunable for some reason. If there was a way to partition a non-tunable parameter I dont think this would not be an issue. However, when making the parameter non-tunable, the parameter partition tab shows the parameter as greyed-out:![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1591326/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1591326/image.png)
0 Commenti
Risposta accettata
Kiran Kintali
il 15 Gen 2024
The error message is not expected. Can you share your model? Either HDL Coder needs to generate code from the model or generate a proper conformance related validation message for any unsupported behaviors..
Here is the related release note for the ForEach mask partition feature.
Starting R2021a release HDL code generation for For Each Subsystem block with 1-D and 2-D partitioning of mask parameters
You can generate HDL code for the For Each Subsystem block with 1-D and 2-D partitions of mask parameter values. To partition the mask parameters, in the Parameter Partition tab of the For Each block, select each mask parameter that you want to partition, and then specify the Partition Dimension and Partition Width.
2 Commenti
Kiran Kintali
il 17 Gen 2024
The issue is being analyzed. Preliminary investigations are published here. https://www.mathworks.com/support/bugreports/3210657
Più risposte (0)
Vedere anche
Categorie
Scopri di più su HDL Coder in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!