Altera_Forum
Honored Contributor
12 years agoRead Write to DRAM (main memory)
I am just switching from another fpga to altera.
Could you please tell me is this the write way to access main memory. main_memory = (char *) DDR2_SDRAM_BASEADDR; // base address of main memory can be changed in system.h file main_memory1 = (char *) DDR2_SDRAM_BASEADDR+1024; // base address of main memory can be changed in system.h file for ( x = 0 ; x < 262122 ; x = x +1) *(main_memory+x) = *(main_memory1+x); regards UCERD