Forum Discussion
Altera_Forum
Honored Contributor
10 years agoHow to find memory location of static linked variables with equal names
Hi all, A simple example uses two static variables named "aa": static int told=0;
...
start_endless_loop: //------------- endless loop
if (alt_nticks() > told) {
told = alt_ntic...
Altera_Forum
Honored Contributor
10 years agoAs far as I know, you can't. The numbers are added so that the linker can have unique names to work with. They might change across compiles too. If you want to know the locations, use different names for each variable.