Forum Discussion
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- I worked around this problem by converting the integer to unsigned. To convert integer to unsigned or signed data type over, use IEEE.NUMERIC_STD.all;you must use, to_unsigned(I,U’length);to_signed(I,S’length)where I is the integer value and U'length is the unsigned vector length ( the number of bit ). The to_float(unsigned) function doesn't cause any problems. --- Quote End --- This wont help, as the problem is with the non-constant loop bounds