How to solve "unsupported unbounded loop structure"?

Hello, I'm trying to generate VHDL code for OQAM modulation. In this I got error for loop which unsupported and unbounded because of for loop. I also tried while loop to bound the loop as given in some solutions but still it is not working.
The HDL coder gives below error:
"Found an unsupported unbounded loop structure. This loop may be user written or automatically generated due to the use of specific vector expressions or functions. For more information on unsupported loop structures, please refer to the documentation."
thanks in advance.

2 commentaires

Please do not use "l" (lower-case L) as the name of a variable! It is too easily confused with the digit "1"
Sir, I changed "l" to "L" thank you for suggestion.

Connectez-vous pour commenter.

 Réponse acceptée

Tim McBrayer
Tim McBrayer le 15 Fév 2016

0 votes

Does your code have a while loop, a for loop with a non-static limit, or something similar? This sort of construct is what the error message is referring to. The number of loop iterations must be static for HDL code generation.

1 commentaire

Thanks Sir, I was trying for loop with limit of variable L which is size of input data. Now I put direct number of length, and solved the problem.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Code Generation dans Centre d'aide et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by