DSPRelated.com
Forums

TMS320C6416 CPU USAGE PROBLEM (Help needed ASAP!!)

Started by Jay July 24, 2004
Jerry Avins <jya@ieee.org> wrote in message ...
> The task being > programmed can best be done with a circular buffer. There are efficient > data structures to implement it in software if the hardware doesn't > support it directly.
I'd rather say that what happens more often is that the software (C code + compiler) doesn't support the circular buffers, but the hardware DOES support it. Does't the 64x have circular buffers? Jerry: did you maybe mean that there are efficient data structures to implement circular buffers in software if the compiler doesn't support it directly, inferring from the underlying hardware? JaaC
> > Jerry
Jaime Andres Aranguren Cardona wrote:

   ...

> Jerry: did you maybe mean that there are efficient data structures to > implement circular buffers in software if the compiler doesn't support > it directly, inferring from the underlying hardware?
Yes. There are interesting ways to use the same data laid down nore than once, end to end, so that each pass is continuous ans checking for wrap-around on each access isn't needed. Think about what has to be done when the stride is greater than one! Jerry -- Engineering is the art of making what you want from things you can get. &#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;