How to solve "unsupported unbounded loop structure"?
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
Walter Roberson
2016-2-15
Please do not use "l" (lower-case L) as the name of a variable! It is too easily confused with the digit "1"
采纳的回答
Tim McBrayer
2016-2-15
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.
更多回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!