Forum Discussion
Altera_Forum
Honored Contributor
16 years agoSSRAM to DDR buffer copy
Hello, i've tried to copy a buffer stored in the SSRAM (2 Mbytes) that is filled by a VHDL block to a file, on DDR. Here is my code :
void dumpDataToFile(void){
unsigned int addr,...
Altera_Forum
Honored Contributor
16 years agoDo you really think so ? A cycle of the code of the short memcpy() loop running in the cache should be a lot faster than the average time for a memory read and a memory write access to the external DDR, even if the cache properly queues accesses to the consecutive RAM bytes for the DRAM controller to do bursts.
memcpy() should not be slow ! Does he have a decent DRAM controller with burst mode enabled ? Does he have an appropriate amount of cache configured ? -Michael