Forum Discussion
Altera_Forum
Honored Contributor
21 years agoHi,
I saw the same problem on a design of mine, when trying to use some variables in onchip ram and others in external SRAM. Because the the difference in addresses is too big, I got the same error. till now I had to put them all toghether in SRAM. And I use already 1.0 SP1. According to me, the compiler should be aware of the fact the address is not matching the criteria for the global pointer trick, and should swap to another system of loading the variabele. I think for accessing internal RAM (it is in the very low part of the address range), also one instruction is enough to load the address (< 65536). Stefaan