Forum Discussion
Altera_Forum
Honored Contributor
8 years agoHello,
I think you might be mixing things up here. IOXXX functions are ment for accessing FPGA components that are mapped into the memory space of the nios processor. Typically they are the result of a QSYS design were you included PIO or other blocks into the adress space of your processor. If you want to access your SDRAM you could use a C/C++ pointer. Be carefull when writing into your SDRAM at random spaces, you might destroy your program your heap or your stack. If you do then your program will hang. Best Regards, Johi.