Forum Discussion
Altera_Forum
Honored Contributor
16 years agoHow to create memory initialization file from ELF for NIOS simulation
Hi there, In my SOPC system, the NIOS accesses an external SRAM through a customized SRAM controller. Before this point I was using the onchip ram to run C code in both hardware and functional ...
Altera_Forum
Honored Contributor
16 years agoI had the same problem, and don't understand why Altera do not provide a SRAM model whith a relevant .hex initialization file, as it does when the SOPC includes the external IDT SRAM.
The only "simple" way I found was to use in the SOPC two SRAM, internal and external and switch the settings of the BSP to the internal for the simulation ...