How to workaround with limitation that dpigen does not support variable sized data for Input/Output?
Afficher commentaires plus anciens
When using dpigen I have encountered the issue that "Variable Sized data for Input/Ouput are not supported" error. To demostrate I used the example code below:

And this is the output:

If I change line:4 to "out = filt_out(1:1:end)" the dpigen works as per normal.
Question here is we know dpigen does not support variable Input/Output, is there a good way to workaround it?
E.g. if val = 2, which means we want to select alternative index from array as final output.
3 commentaires
Walter Roberson
le 29 Avr 2021
Does it make sense for a VHDL component to have a variable-length output?
Yufei Zhang
le 2 Mai 2021
Modifié(e) : Yufei Zhang
le 2 Mai 2021
Walter Roberson
le 3 Mai 2021
Sorry, I do not have any experience in that field.
Réponses (0)
Catégories
En savoir plus sur Environment and Settings dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!