AnsweredAssumed Answered

Circular Buffer problem in SIMD mode

Question asked by Krishnamangegowda on Feb 19, 2014
Latest reply on Mar 9, 2014 by briankaz

Hi,

I am VisualDSP++ in version 5.0.10 for SHARC 21489 processor.

In SIMD mode, if the circular buffer index register starts with odd offset, the address of the index register wraps around as expected. But the problem is it reads past one location beyond the length of the circular buffer. I would like to understand why it behaves in this way or is this an expected behavior? If so how do we get around this problem?

 

I am attaching the project that demonstrates this problem when the following line is modified in AECmain7.c file

 

aec_struct.Dptr=  &Data[1]; --> Change the offset of Data[] to odd values.

 

Please let me know if you need help to reproduce this problem.

 

Regards,

Krishna.

Outcomes