Forum Discussion
Altera_Forum
Honored Contributor
20 years agoProblem about heap & stack memory
Hi, everyone I downloaded the full_featured_1s10 project from the examples of altera development kits to my stratix board without much modification in SOPC builder. I have a project I am wor...
Altera_Forum
Honored Contributor
20 years agoThanks for your reply, slacker http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif
As I don't have very clear concept as to what kind of stuff are stored in heap &stack memory. I didn't know where to look for to get an idea how much I might need to allocate for them. is it the registers that I should be looking at?? When i was compiling my c files, the following info was printed to the console in NIOS II IDE, does this suggest the size that are estimated to be needed for heap and stack at the compilation time? Info: (four_regs_write.elf) 175 KBytes program size (code + initialized data). Info: 16208 KBytes free for stack + heap. many thanks Tony