Forum Discussion
Altera_Forum
Honored Contributor
21 years agoInitialization of on chip memories
Hi all, Take a "fast" example, and add an additional on-chip memory, let's call it "common_ram". Then, from the Nios II IDE, create a helloworld project, and add a C variable definitio...
Altera_Forum
Honored Contributor
21 years agoActually he need-not re-generate in SOPC Builder. The common_ram HDL file is already set to initialize using the .hex file the IDE may (or may not) produce. You should verify that such a .hex file is there, and has some bytes in it that look like initialization data. Then, re-compile in Quartus. This will initialize the on-chip RAM with the contents of the .hex file and include that with the FPGA's programming file.