Forum Discussion
Altera_Forum
Honored Contributor
12 years agoHow to convert On Chip memory to SRAM .??
Hi All, I am a newbie to Altera FPGA. I am using Altera FPGA for a class project. I am using a custom processor ( not NIOS) and I am as of now using Onchip memory for instruction and data....
Altera_Forum
Honored Contributor
9 years agoI don't understand your question. If it it the main memory (used for the .text, .data. and .bss sections) it will automatically get initialized when you upload the elf file. If it is separate memory section you can use memset to initialize its contents to a fixed value (most usually 0).