Forum Discussion
You would need to create or adjust a Platform Designer system to first access the external RAM and then connect it to the Nios. It's certainly possible.
I read this in AN730 after I posted this question. so I think it may not be possible. But I'm not sure (added Bold by me). ERAM and OCRAM seems to be the same thing.
1.5.2 Boot Option 3: Nios II Processor Application Executes in-place from OCRAM
The on-chip memory is initialized during FPGA configuration with data from a Nios II application image. This data is built into the FPGA configuration bitstream, the programmer object file. This process eliminates the need for a boot copier, as the Nios II application is already in place at system reset.
This option will not work in any of the following situations:
• When you select a configuration mode that does not support ERAM initialization.
• After a soft reset where the memory contents have been modified by the
application and the application code has been corrupted.
1.2 Abbreviations
Table 1. List of Abbreviations
ERAM Embedded Random Access Memory