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
12 years agoIf the SRAM is an external component then you can't initialize it with a .mif file and you will need a system to fill it up. A very common way is to use a small on-chip memory that the CPU can boot on. This memory holds a bootloader, that will read the application code from an external source (a flash memory for example) and copy it into the SRAM. Then it sets the CPU to jump to the application.