Hello, i have an issue on this vhdl code, i need to increment the index of my vector to fill up a memory. the problem is that quartus reports me this error when i try to put a variable as an index like ( A downto B) where A and B are variables...thank you for the help! here is the code:
Why have you got such a large signed number? if you are intending on using a ram you should use an array of signed, not a single signed, and then index to a single element on any given clock cycle.
According to VHDL rules, you should use this straightforward coding
storage(7+ tmp*8 downto tmp*8) <= data_in; … data_out <= storage(7+ tmp*8 downto tmp*8);Even more straightforward, an array 1024x8.