Forum Discussion
Altera_Forum
Honored Contributor
21 years agoAn automatic variable doesn't have a fixed address. Your count variable is
automatic -- do as svhb says to force static allocation: either use the static keyword at function scope (in which case it will show up as i_cnt.0) or move it to file scope (where it will show up as simply "i_cnt"). Then try using nios2-elf-nm to get your address map -- it's probably more what you want. Regards, --Scott