Forum Discussion
Altera_Forum
Honored Contributor
16 years agoThis is expected, since you are always writing to the same address.
The macro you use is for a PIO. To read/write any location, you can use:IOWR(SDRAM_BASE+address,my_data)
IORD(SDRAM_BASE+address) Use address=0 to write at the first location, and remember that it is a byte based address, i.e. use address=4 to access the second 32-bit location, 8 for the third one, etc...