Forum Discussion
Altera_Forum
Honored Contributor
20 years agoMemory corruption & DMA transfer
Hi everyone, don't know if anyone has had experience on this kind of problem and can give me a pointer or not. Thanks in advance http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/b...
Altera_Forum
Honored Contributor
20 years agoHi Everyone,
I found the answer to my problem. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif I was reading out the the content of my memory too fast, so the data I printed out to the screen were wrong although the contents stored in my memory are right. If you have the same problem, you have to go to the component setting inside SOPC builder to adjust the read/write wait. (in cycles or seconds..) The number of cycles to wait is depending on your component. Same thing can happen if you are writting too fast, and this time you will really have corrupted data memory content even if you are reading out at the right speed. Regards, Tony