I have couple of questions regarding code organization in c6472
1. Since c6472 has a shared L2 SRAM of size 768Kbytes and each core has 608Kbytes of its own L2 SRAM/Cache, Is there a way of building my code such that I have all my common signal/image processing modules reside in the shared L2 (and hence single copy) while individual executive (with the functions that actually calls these underlying common modules) reside in individual core L2?
This way I reduce overall code size (do not replicate common code) and also making individual core code size small enough that it makes it possible to think of putting them in L2 memory. Of course the signal processing modules have to be re-entrant.
2. The other question is regarding L1P - what are the tradeoffs of using part of L1P as Cache versus all of it as Cache. I understand the tradeoffs in general, what I am looking for is what has been other people's experience of splitting L1P into Cache and SRAM and what is a general rule of thumb. We have currently setup entire L1P as cache in 645x based product.
Thanks
Somnath