Forum Discussion
ggxnd
New Contributor
3 years agoMemory Conflicts in onchip ram
I am using IOWR_32DIRECT to write contents in the on-chip ram and using IORD_32DIRECT to read from the same address where I performed write operation. Upto few memory location the write and read data...
ShengN_altera
Super Contributor
3 years agoAnother method below can be used as well:
int main() {
IOWR(ONCHIP_MEM_BASE, 0x1FFFFF, "<string>");
alt_printf("%s\n", IORD(ONCHIP_MEM_BASE, 0x1FFFFF));
return 0;
}