Forum Discussion
Proper way to add/initialize RAM in FPGA project?
- 3 years ago
Yes, an IP block that instantiates the ALTSYNCRAM single port RAM module should work.
This will build an INTERNAL FPGA memory using the device block RAM.
You can initialize it with a .mif file when you instantiate the module.
If you are trying to use EXTERNAL memory (like SDRAM, or SRAM) that cannot be initialized thru this means.
Apologies for being unclear.
I have the verilog files for the ARM Cortex M0 as part of their educational program. It compiles and I am able to program it into the DE10-Lite. This was phase one of my research project.
I'm now trying to see if the Cortex actually works by connecting it to the internal FPGA ram in order to run a simple program and track the logic. This would be phase two of the project.
I'll look deeper into the .mif files. Is my initial approach of using the IP catalog to add a RAM controller into my design the right direction?
Yes, an IP block that instantiates the ALTSYNCRAM single port RAM module should work.
This will build an INTERNAL FPGA memory using the device block RAM.
You can initialize it with a .mif file when you instantiate the module.
If you are trying to use EXTERNAL memory (like SDRAM, or SRAM) that cannot be initialized thru this means.