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 ago --- Quote Start --- If ISR function is that short I wouldn't expect great performance improvements with TTC. Probably most of the performance losses are due to ISR dispatcher. --- Quote End --- Definitely be sure to include the interrupt vector custom instruction. This replaces slow C code which is calculating and jumping to the vector. I put ISRs in TCM because I guessed that the ISR would rarely if ever be in cache and I wanted it to execute as fast as possible. TCM executes as if it's in cache. Bill