28. Q31_add_offset

28.1. Function description:

This demo shows the FFT Q31 external calculation about adding the offset.

External calculation configure and enable offset arithmetic mode:

  • Initialize & configure the FFT.

  • Set the address of input data, and the value of offset, then loading and start calculation.

  • Waiting calculation done to compare the result with the golden data to check.

Note

Only RTL configure the FFT external calculation, the ctest is valid.

28.2. Test result:

If the output result is same as the golden data, then print pass, if not print fail.

28.3. IO connection:

None