expand On-chip memory
I am using Quatus18 to program in Nios.
The device is a Cyclone 10CL025Y.
I have increased the on-chip memory in Platform Designer because of the size of the program, but I cannot compile it in Quatus.
The default memory size of 49152 does not cause errors.
How can I expand the memory capacity?
Check the links below:
https://community.intel.com/t5/Nios-II-Embedded-Design-Suite/NIOS-II/m-p/1290675
This seems like the M9Ks is not being used efficiently. Any bits or memory space that cannot be mapped will then be wasted.
ACTION: Select a larger device or make sure that no interaction problems occur between RAM due to assignments made to the design. Also make sure that all RAM are assigned the correct address and control signals.
You may adjust the on-chip memory Slave S1 Data width so that M9Ks can be mapped properly and being used efficiently. For example, check the design file attached. With Total Memory Size of 41000 bytes (M9Ks 62 / 66 ( 94 % )), the ram can be placed successfully by using Slave S1 Data width of 8 and 64 bits but fail with 16, 32, 128, 256, 512, 1024 bits.
Also, you can expand Error (170040) and check for Info (170034) to see the current design requires how many more memory locations of type M9K to successfully fit. May also check the RAM Summary located in Fitter -> Resource Section.
Thanks,
Best regards,
Sheng
p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer or rate 4/5 survey.