How to solve "unsupported unbounded loop structure"?

6 Ansichten (letzte 30 Tage)
Jaydeep Parmar
Jaydeep Parmar am 15 Feb. 2016
Kommentiert: Jaydeep Parmar am 16 Feb. 2016
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 Kommentare
Walter Roberson
Walter Roberson am 15 Feb. 2016
Please do not use "l" (lower-case L) as the name of a variable! It is too easily confused with the digit "1"
Jaydeep Parmar
Jaydeep Parmar am 15 Feb. 2016
Sir, I changed "l" to "L" thank you for suggestion.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Tim McBrayer
Tim McBrayer am 15 Feb. 2016
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 Kommentar
Jaydeep Parmar
Jaydeep Parmar am 16 Feb. 2016
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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Code Generation finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by