XCORE SDK
XCORE Software Development Kit
xs3_fft_lut.h
1 // Copyright 2020-2021 XMOS LIMITED.
2 // This Software is subject to the terms of the XMOS Public Licence: Version 1.
3 
4 #pragma once
5 #include "xs3_math.h"
6 
7 
9 #define MAX_DIT_FFT_LOG2 10
10 
18 #define XS3_DIT_REAL_FFT_LUT(N) &xs3_dit_fft_lut[(N)-8]
19 
20 
22 #define MAX_DIF_FFT_LOG2 10
23 
31 #define XS3_DIF_FFT_LUT(N) &xs3_dif_fft_lut[(1<<(MAX_DIF_FFT_LOG2)) - (N)]
32 
33 extern const complex_s32_t xs3_dit_fft_lut[1020]; // 8160 bytes
34 extern const complex_s32_t xs3_dif_fft_lut[1020]; // 8160 bytes
A complex number with a 32-bit real part and 32-bit imaginary part.
Definition: xs3_math_types.h:49