Forum Discussion
jackhab
Occasional Contributor
2 years agoHi Tiwari
I, indeed, use mmap() to gain access to FPGA memory space. But my question was about what happens during actual read and write.
Should I read the memory word-by-word using alt_read_word() function or reading big memory chunks using standard memcpy() also OK?
I am asking it because I'm not sure how ARM's data caching will behave during mempcpy() and I'm afraid caching can cause data corruption.