Forum Discussion
Altera_Forum
Honored Contributor
16 years agoCode in tightly coupled memory
Hi all, I placed a function in a section different from the main code. More exactly, my code is mapped to sdram and I linked a function testcall() into a tightly coupled memory section which I pr...
Altera_Forum
Honored Contributor
16 years agoTry adding __attribute__((noinline)) to the function prototype. As in:
static void foo(void) __attribute__((noinline));
static void foo(void)
{
....
}That will force a function call. You might have the code body existing for any external calls - with the local call being inlined.