HWA Paramset Config for FFT block.
HWA paramset config parameters for the FFT block inside HWA_ParamConfig which is used with the HWA_ConfigParamSet() call.
Data Fields | |
uint8_t | fftEn |
uint8_t | fftSize |
uint16_t | butterflyScaling |
uint8_t | interfZeroOutEn |
uint8_t | windowEn |
uint16_t | windowStart |
uint8_t | winSymm |
uint8_t | winInterpolateMode |
uint8_t | magLogEn |
uint8_t | fftOutMode |
uint8_t HWA_AccelModeFFT::fftEn |
1 bit value: See HWA_FEATURE_BIT macros for correct values. Enable/Disable for FFT computation 0 - FFT disabled (Pipelined FFT sub-block bypassed) 1 - FFT enabled (Pipelined FFT sub-block enabled) Sets the FFT_EN bits of PARAM1_0
uint8_t HWA_AccelModeFFT::fftSize |
4 bit value: Specifies FFT size. Actual FFT size is equal to 2^(fftSize) Supported values are [1..10], which correspond to FFT sizes [2..1024]. The actual FFT size should be equal to or larger than srcAcnt Sets the FFTSIZE bits of PARAM1_6
uint16_t HWA_AccelModeFFT::butterflyScaling |
10 bit value: 1 bit per butterfly stage. LSB is for last stage and MSB is for the first stage for each bit, 0 - MSB is saturated 1 - convergent rounded at LSB (divide by 2) Number of valid bits in this field depends on the fftSize. Sets the BFLY_SCALING bits of PARAM1_6
uint8_t HWA_AccelModeFFT::interfZeroOutEn |
1 bit value: See HWA_FEATURE_BIT macros for correct values. Enable/Disable for interference zeroing out HWA_COMMONCONFIG::interferenceThreshold field should be set to a valid value if this field is enabled. Sets the INTERF_THRESH_EN bits of PARAM1_6
uint8_t HWA_AccelModeFFT::windowEn |
1 bit value: See HWA_FEATURE_BIT macros for correct values. Enable/Disable for Windowing operation Sets the WINDOW_EN bits of PARAM1_0
uint16_t HWA_AccelModeFFT::windowStart |
10 bit value: (0-1023) Specifies the offset from the actual Window RAM base address and represents the starting address of the window function in the Window RAM. A value of 0x0 means the starting address is the first 32-bit word in the Window RAM, 0x1 is the second 32-bit word and so on. Sets the WINDOW_START bits of PARAM1_6
uint8_t HWA_AccelModeFFT::winSymm |
1 bit value: See HWA_WINDOW_SYMM macros for correct values. Indicates whether the window function is symmetric or not Sets the WINSYMM bits of PARAM1_6
uint8_t HWA_AccelModeFFT::winInterpolateMode |
2 bit value: See HWA_FFT_WINDOW_INTERPOLATE_MODE macros for correct values. Configures linear interpolation for the window coefficients, which is relevant for large-size FFT computation (i.e., FFT sizes of 2K, 4K) that is obtained via stitching multiple smaller-size FFTs. (Note: winSymm should be set to 0 when using 4K or 2K mode( Sets the WINDOW_INTERP_FRACTION bits of PARAM1_7
uint8_t HWA_AccelModeFFT::magLogEn |
2 bit value: See HWA_FFT_MODE_MAGNITUDE_LOG2 macros for correct values. Enable/Disable for Magnitude and Log2 computation Sets the ABS_EN, LOG2EN bits of PARAM1_0
uint8_t HWA_AccelModeFFT::fftOutMode |
2 bit value: See HWA_FFT_MODE_OUTPUT macros for correct values. Configures the output mode of the FFT Engine path For stats mode, following parameters will be overriden in HWA_DestConfig of that paramset dstAcnt=4095, dstAIdx=dstBIdx=8, dstWidth=1, dstRealComplex=0. Sets the FFT_OUTPUT_MODE bits of PARAM1_0