Forum Discussion
Altera_Forum
Honored Contributor
17 years agoThe problem of reading the data of the memory
hello! i know the address of memory and i want to read the data. for example: i know the address of SDRAM is 0x01000000, what should i do to read the data from the SDRAM. thanks in adv...
Altera_Forum
Honored Contributor
17 years agoYou can use C pointers for that.
Do you also use the sdram to store the software itself? In that case you'll have to use a memory allocation function, such as malloc(), to allocate a memory area. If not, you can just get the address and size of your memory area from system.h.