marinet
Newbie level 4
- Joined
- Sep 2, 2013
- Messages
- 7
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 74
Hello,
I have written a matlab code and I try to produce a vhdl code by using the hdl coder. The problem is that the following error is appearing during the procedure of the code generation. "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."
I have in the code a "while loop" and it seems that this is the error. My while loop has the following form:
while(A(i,j)>=0)
DD(i,j)=DD(i,j)+1;
A(i,j)=A(i,j)-7;
end
where A is an array and takes value from a subtraction: A(i,j)=abs(parti(i,j))-7;
Does anyone know why this error appears? As I know, the vhdl supports the "while loop".
I have written a matlab code and I try to produce a vhdl code by using the hdl coder. The problem is that the following error is appearing during the procedure of the code generation. "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."
I have in the code a "while loop" and it seems that this is the error. My while loop has the following form:
while(A(i,j)>=0)
DD(i,j)=DD(i,j)+1;
A(i,j)=A(i,j)-7;
end
where A is an array and takes value from a subtraction: A(i,j)=abs(parti(i,j))-7;
Does anyone know why this error appears? As I know, the vhdl supports the "while loop".