Forum Discussion
MAX10, on-board RAM or ROM: What does memory initialization do?
updates?
Hi Rodo,
I think that your issue has been resolved by sstrell.
I'll now transition this thread to community support.
If you have a new question, feel free to open a new thread to get the support from Intel experts.
Thank you.
Best regards,
Ean
- Rodo4 years ago
Occasional Contributor
- I disagree. The answer from sstrell does not address the issue of why you would need the memory initialized. Although I thank sstrell for his time and effort. I haven't figure the stuff out yet but the answer seems to be in booting nios. Combining the elf file with the sof file to get a pof and program the pof where nios will boot and copy either some or all of the application to RAM. This copying seems to need the memory init option set. As I said earlier, not sure how the whole booting thing works yet. There are several options available. AN730 seems to talk about it. I also have some old notes about this but I'm not sure I'm gonna get into the flash IP and boot options yet. I'm still adding components to the platform designer and using the byte blaster option to program the max10. This program goes away after power down the kit because I'm not programming the flash with any boot option as discussed in AN730. It is slow going but steady. Thanks guys.
- sstrell4 years ago
Super Contributor
Memory initialization is useful for many things: test and debug, error insertion, source code and source data. It's also required if you are creating a ROM (vs. a RAM).
Your initial question mentioned nothing about Nios, so I was answering based on just the use of memory blocks on their own in an FPGA design.
- GSica2 years ago
New Contributor
Sorry I reopen the post away a long time.
I'm using a 10M02SCE144I7G device. I tried to configure a 24bit - 64 words ROM with the Megawizard by inserting the .MIF initialization file, but when I compile the project, I got the error "Error (16031): Current Internal Configuration mode does not support memory initialization or ROM. Select Internal Configuration mode with ERAM."
So ERAM is an External Ram and therefore it is not possible to configure the internal flash for the memory configuration?How can I do?
Where am I wrong?
What is the right configuration to use?
Thanks
Giovanni