Technical discussions about the TI C6000 DSPs (including the c62x, c64x and c67x DSPs).
|
Hey buddies, I've been working on the TMS6711 with the IDK(image developers kit). I'm trying to do some real time stuff and so wanted to use the cache instead of the SDRAM as I was losing some frames when using it. Can anybody suggest me how to use the cache memory on the chip efficiently.For now i would be concentrating on Image aquisition and performing some basic functions such as filtering and motion detection etc. -Himachandra Chebrolu. |
|
|
|
>Hey buddies, >I've been working on the TMS6711 with the IDK(image developers kit). >I'm trying to do some real time stuff and so wanted to use the cache >instead of the SDRAM as I was losing some frames when using it. >Can anybody suggest me how to use the cache memory on the chip >efficiently.For now i would be concentrating on Image aquisition and >performing some basic functions such as filtering and motion >detection etc. Do you want to use the L2 cache more efficiently, or use the internal SRAM in a more structured fashion to gain more performance? For the former, you need to optimise memory accesses so that the cache is not thrashing a few locations, and that the L2 prefetches are used more optimally. If the latter, you need to look at how your application acccesses memory and use the DMA engine to make sure the next chunk of data to process is in internal memory by the time the previous processing step finished. Does that help? Cheers, Martin -- Martin Thompson BEng(Hons) CEng MIEE TRW Conekt Stratford Road, Solihull, B90 4GW. UK Tel: +44 (0)121-627-3569 - |