Error (10386): VHDL error : non-constant index is always outside the range
Hi folks,
I'm using Quartus II standard edition and I'm struggling to run successfully the synthesis of my design. The problem is the following, I have a signal (std_logic_vector type), which is indexed by a integer variable.
The SW insistes giving this error, but I know that the variable value does not exceed the range of the signal.
Piece of code where the error appears:
Declaration in the process:
variable count : integer:= 1;
variable aux_incomingMessage : std_logic_vector ((512*N_BITS)-1 downto 0):= (others=> '0');
Inside the process:
if short = '0' then
if count < 513 then
aux_incomingMessage((count*N_BITS)-1 downto (count-1)*N_BITS):= incomingMessage;
count:= count + 1;
I've read that Quartus had a bug in these type of usage of the integer variables. Is that already solved? How can I overcome this problems?
Thanks in advance for the answers,
Cheers,
Ricardo