Hi,
The C55x DSP seems to support a circular addressing in hardware. Does the C674x have such features as well? The datasheet mentions 'Hardware Support for Module Loop Operation', but it seems that that refers to the loop execution buffer for software pipelined loops (SPLOOP).
What I want to achieve is something like this:
for (index=0;index<4;index++)
buffer[(offset+index)%4]=calculate();
This situation can of course be efficiently coded by using &(4-1) instead of %4, but it get's inefficient when the modulo argument is not a power of 2. So I was wondering whether the hardware contains instructed to do that efficiently.
Regards,
Remco Poelstra