Forum Discussion
Altera_Forum
Honored Contributor
14 years agoMemory Allocation With QSys
Hi Guys, I'm stuck at the moment with being able to find and use enough memory. I need advice how to rearrange the memory so i can get a video frame buffer (like a DCFIFO or 2port RAM). I'll a...
Altera_Forum
Honored Contributor
14 years agoDid You set optimization to -Os ? It shows the binary size after successful compilation in bytes.
E.g. my Nios project compilation report shows: Info: (project.elf) 221 KBytes program size (code + initialized data). Info: 794 KBytes free for stack + heap. I have 8MB SDRAM chip, but I've edited linker script to exclude only 0x00800000 - 0x00900000 space and leave the other free for my own buffer. The whole memory takes addresses 0x00800000 - 0x00ffffff in SOPC.