Altera_Forum
Honored Contributor
15 years agoMemory size
Hello,
I have a bemicro Cyclone III development kit. It features an on-chip ram and an external ram. I've built an SoPC system on it, using both memories. My objective now is to find the total memory size (on-chip ram + ext ram) into .ptf generated by SOPC Builder and to compare it with the size of the .elf file. My first question may be stupid, but does SOPC Builder or an another tool know the ext memory size ? It doesn't seem so. My second question is : using Nios II IDE, via the system library, I've selected which memory I want to use to store Program Memory, Heap Memory, Stack Memory, ... Is there a way to know how full is a memory ? For example, if I'd program the Heap Memory section and the Stack Memory section into my external memory, it will contain Heap Memory size + Stack Memory size. How can I get those sizes ? Julien.