FFTLIB User Guide
FFTLIB_ifft1d_i32fc_c32fc_o32f

Introduction

Kernel for computing 32-bit floating-point IFFT.

Functions

FFTLIB_STATUS FFTLIB_ifft1d_i32fc_c32fc_o32f_init (FFTLIB_F32 *pX, FFTLIB_bufParams1D_t *bufParamsX, FFTLIB_F32 *pW, FFTLIB_bufParams1D_t *bufParamsW, FFTLIB_F32 *pXFFT, FFTLIB_bufParams1D_t *bufParamsXFFT, FFTLIB_F32 *pSf, FFTLIB_bufParams1D_t *bufParamsSf, FFTLIB_F32 *pY, FFTLIB_bufParams1D_t *bufParamsY, void *pBlock)
 This function should be called before the FFTLIB_ifft1d_i32fc_c32fc_o32f_kernel function is called. This function takes care of any one-time operations such as setting up the configuration for the streaming engine. More...
 
FFTLIB_STATUS FFTLIB_ifft1d_i32fc_c32fc_o32f_kernel (FFTLIB_F32 *restrict pX, FFTLIB_bufParams1D_t *bufParamsX, FFTLIB_F32 *restrict pW, FFTLIB_bufParams1D_t *bufParamsW, FFTLIB_F32 *restrict pXFFT, FFTLIB_bufParams1D_t *bufParamsXFFT, FFTLIB_F32 *restrict pSf, FFTLIB_bufParams1D_t *bufParamsSf, FFTLIB_F32 *restrict pY, FFTLIB_bufParams1D_t *bufParamsY, void *pBlock)
 This function is the main kernel compute function. More...
 
FFTLIB_STATUS FFTLIB_ifft1d_i32fc_c32fc_o32f_checkParams (FFTLIB_F32 *pX, FFTLIB_bufParams1D_t *bufParamsX, FFTLIB_F32 *pW, FFTLIB_bufParams1D_t *bufParamsW, FFTLIB_F32 *pY, FFTLIB_bufParams1D_t *bufParamsY, void *pBlock)
 This function checks the validity of the parameters passed to FFTLIB_ifft1d_i32fc_c32fc_o32f_init and FFTLIB_ifft1d_i32fc_c32fc_o32f_kernel functions. More...
 
void ifft_c2r_split_factor_gen (FFTLIB_F32 *pSFactor, int32_t numPoints)
 
void ifft_c2r_tw_gen (FFTLIB_F32 *pW, int32_t numPoints)
 

Macros

#define FFTLIB_IFFT1D_I32F_C32FC_O32F_PBLOCK_SIZE   (18 * SE_PARAM_SIZE)
 Macro to define the array size for storing SE/SA parameters. More...
 

Macro Definition Documentation

◆ FFTLIB_IFFT1D_I32F_C32FC_O32F_PBLOCK_SIZE

#define FFTLIB_IFFT1D_I32F_C32FC_O32F_PBLOCK_SIZE   (18 * SE_PARAM_SIZE)

Macro to define the array size for storing SE/SA parameters.

Definition at line 109 of file FFTLIB_ifft1d_i32fc_c32fc_o32f.h.

Function Documentation

◆ FFTLIB_ifft1d_i32fc_c32fc_o32f_init()

FFTLIB_STATUS FFTLIB_ifft1d_i32fc_c32fc_o32f_init ( FFTLIB_F32 *  pX,
FFTLIB_bufParams1D_t *  bufParamsX,
FFTLIB_F32 *  pW,
FFTLIB_bufParams1D_t *  bufParamsW,
FFTLIB_F32 *  pXFFT,
FFTLIB_bufParams1D_t *  bufParamsXFFT,
FFTLIB_F32 *  pSf,
FFTLIB_bufParams1D_t *  bufParamsSf,
FFTLIB_F32 *  pY,
FFTLIB_bufParams1D_t *  bufParamsY,
void *  pBlock 
)

This function should be called before the FFTLIB_ifft1d_i32fc_c32fc_o32f_kernel function is called. This function takes care of any one-time operations such as setting up the configuration for the streaming engine.

Parameters
[in]pX: Pointer to buffer with input data
[in]bufParamsX: Pointer to the structure containing dimensional information of input buffer
[in]pW: Pointer to buffer with twiddle factors
[in]bufParamsW: Pointer to the structure containing dimensional information of twiddle factor buffer
[in]pXFFT: Pointer to buffer with input data
[in]bufParamsXFFT: Pointer to the structure containing dimensional information of of pXFFT buffer
[in]pSf: Pointer to buffer with split factors
[in]bufParamsSF: Pointer to the structure containing dimensional information of split factor buffer
[out]pY: Pointer to buffer with output data
[in]bufParamsY: Pointer to the structure containing dimensional information of output buffer
[out]pBlock: Pointer to the buffer that will hold the streaming engine parameters
Returns
Status value indicating success or failure. Refer to FFTLIB_STATUS.

◆ FFTLIB_ifft1d_i32fc_c32fc_o32f_kernel()

FFTLIB_STATUS FFTLIB_ifft1d_i32fc_c32fc_o32f_kernel ( FFTLIB_F32 *restrict  pX,
FFTLIB_bufParams1D_t *  bufParamsX,
FFTLIB_F32 *restrict  pW,
FFTLIB_bufParams1D_t *  bufParamsW,
FFTLIB_F32 *restrict  pXFFT,
FFTLIB_bufParams1D_t *  bufParamsXFFT,
FFTLIB_F32 *restrict  pSf,
FFTLIB_bufParams1D_t *  bufParamsSf,
FFTLIB_F32 *restrict  pY,
FFTLIB_bufParams1D_t *  bufParamsY,
void *  pBlock 
)

This function is the main kernel compute function.

Parameters
[in]pX: Pointer to buffer with input data
[in]bufParamsX: Pointer to the structure containing dimensional information of input buffer
[in]pW: Pointer to buffer with twiddle factors
[in]bufParamsW: Pointer to the structure containing dimensional information of twiddle factor buffer
[in]pXFFT: Pointer to temp. buffer with FFT of input data
[in]bufParamsXFFT: Pointer to the structure containing dimensional information of of pXFFT buffer
[in]pSf: Pointer to buffer with split factors
[in]bufParamsSF: Pointer to the structure containing dimensional information of split factor buffer
[out]pY: Pointer to buffer with output data
[in]bufParamsY: Pointer to the structure containing dimensional information of output buffer
[in]pBlock: Pointer to the buffer that will hold the streaming engine parameters
Returns
Status value indicating success or failure. Refer to FFTLIB_STATUS.

◆ FFTLIB_ifft1d_i32fc_c32fc_o32f_checkParams()

FFTLIB_STATUS FFTLIB_ifft1d_i32fc_c32fc_o32f_checkParams ( FFTLIB_F32 *  pX,
FFTLIB_bufParams1D_t *  bufParamsX,
FFTLIB_F32 *  pW,
FFTLIB_bufParams1D_t *  bufParamsW,
FFTLIB_F32 *  pY,
FFTLIB_bufParams1D_t *  bufParamsY,
void *  pBlock 
)

This function checks the validity of the parameters passed to FFTLIB_ifft1d_i32fc_c32fc_o32f_init and FFTLIB_ifft1d_i32fc_c32fc_o32f_kernel functions.

Parameters
[in]pX: Pointer to buffer with input data
[in]bufParamsX: Pointer to the structure containing dimensional information of input buffer
[in]pW: Pointer to buffer with twiddle factors
[in]bufParamsW: Pointer to the structure containing dimensional information of twiddle factor buffer
[out]pY: Pointer to buffer with output data
[in]bufParamsY: Pointer to the structure containing dimensional
[in]pBlock: Pointer to the buffer that will hold the streaming engine parameters
Returns
Status value indicating success or failure. Refer to FFTLIB_STATUS.

◆ ifft_c2r_split_factor_gen()

void ifft_c2r_split_factor_gen ( FFTLIB_F32 *  pSFactor,
int32_t  numPoints 
)

◆ ifft_c2r_tw_gen()

void ifft_c2r_tw_gen ( FFTLIB_F32 *  pW,
int32_t  numPoints 
)