Forum Discussion
Altera_Forum
Honored Contributor
8 years agoError (10779): VHDL error at memory.vhd(30): expression is not constant
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 li...
Altera_Forum
Honored Contributor
8 years agoAccording 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.