6.4.1 BitReverseComplex

Description

BitReverseComplex reorganizes, in place, the elements of a complex vector in bit-reverse order.

Prototype

fractcomplex* BitReverseComplex (int log2N, fractcomplex* srcCV);

Arguments

Parameters

Description

log2N

Base 2 logarithm of N (N = number of complex elements in source vector)

srcCV

Pointer to source complex vector

Returns

Pointer to the base address of the source complex vector.

Remarks

N must be an integer power of 2.

The srcCV vector must be allocated at a modulo alignment of N.

This function operates in place.

Source File

  • bitrev_aa.s

Function Profile

Program WordsPIC32A
18

Cycle count

Transform Size

PIC32A

32

306

64

594

128

1154

256

2306

512

4578

1024

9186

2048

18338

System resource usage

  • W0..W6 - used, not restored
  • XBREV - saved, used, restored
  • MODCON - saved, used, restored
  • REPEAT instruction usage – None