Forum Discussion
Altera_Forum
Honored Contributor
20 years agoThe problem you had is related to the fact that you declared the extern variable as "int", that means the compiler will generate GP-relative addressing, that is not the right one in your case.
Take a look at the post "Disabling GP-addressing in generated source code" on this forum... bye PJ