Borrar filtros
Borrar filtros

How to solve "unsupported unbounded loop structure"?

3 visualizaciones (últimos 30 días)
Jaydeep Parmar
Jaydeep Parmar el 15 de Feb. de 2016
Comentada: Jaydeep Parmar el 16 de Feb. de 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 comentarios
Walter Roberson
Walter Roberson el 15 de Feb. de 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 el 15 de Feb. de 2016
Sir, I changed "l" to "L" thank you for suggestion.

Iniciar sesión para comentar.

Respuesta aceptada

Tim McBrayer
Tim McBrayer el 15 de Feb. de 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 comentario
Jaydeep Parmar
Jaydeep Parmar el 16 de Feb. de 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.

Iniciar sesión para comentar.

Más respuestas (0)

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by