Forum Discussion
Quartus_map.exe is running out of memory (~50 GB) with an SRAM initialization file
I am trying to synthesize a 64 KB on-chip SRAM (used as a ROM for holding the bootloader for the arm MPU) for a Cyclone V, with an Intel Hex format initialization file. The system requirements for this chip only lists 8 GB of system RAM, and I have 16 GB, but the quartus_map.exe subprogram crashes attempting to use 50 GB of memory. Why does it use so much when trying to synthesize an SRAM with initialization file? This problem does not happen if I do not proivde an initialization file to the SRAM.
4 Replies
- DLaff
New Contributor
Update: I was able to successfully synthesize by setting the Type 04 record at the beginning of the .hex file (Extended Linear Address) to zero. It must have been trying to fit addresses greater than 64KB into the SRAM, and failing. Will update if this actually worked for booting from the FPGA.
- KhaiChein_Y_Intel
Regular Contributor
Hi,
Could you provide the design and steps to reproduce the error?
Thanks.
Best regards,
KhaiY
- DLaff
New Contributor
I ended up solving this problem by changing the Type 04 Record as mentioned above, but was not able to successfully boot the preloader from FPGA SRAM. I altered the design to just use an SD card, which works.
Thank you.
- KhaiChein_Y_Intel
Regular Contributor
Hi,
It is glad to hear that it is working now.
Thanks.
Best regards,
KhaiY