Complex FFT F16
- RISCV_DSP_ATTRIBUTE void riscv_cfft_f16 (const riscv_cfft_instance_f16 *S, float16_t *p1, uint8_t ifftFlag, uint8_t bitReverseFlag)
- CFFTINIT_F16 (16, 16)
- RISCV_DSP_ATTRIBUTE riscv_status riscv_cfft_init_f16 (riscv_cfft_instance_f16 *S, uint16_t fftLen)
-
FFTINIT(EXT, SIZE)
-
CFFTINIT_F16(LEN, LENTWIDDLE)
- group ComplexFFTF16
Defines
-
FFTINIT(EXT, SIZE)
-
CFFTINIT_F16(LEN, LENTWIDDLE)
Functions
- RISCV_DSP_ATTRIBUTE void riscv_cfft_f16 (const riscv_cfft_instance_f16 *S, float16_t *p1, uint8_t ifftFlag, uint8_t bitReverseFlag)
Processing function for the floating-point complex FFT.
- Parameters
S – [in] points to an instance of the floating-point CFFT structure
p1 – [inout] points to the complex data buffer of size
2*fftLen
. Processing occurs in-placeifftFlag – [in] flag that selects transform direction
value = 0: forward transform
value = 1: inverse transform
bitReverseFlag – [in] flag that enables / disables bit reversal of output
value = 0: disables bit reversal of output
value = 1: enables bit reversal of output
- CFFTINIT_F16 (16, 16)
Initialization function for the cfft f16 function with 4096 samples.
Initialization function for the cfft f16 function with 2048 samples
Initialization function for the cfft f16 function with 1024 samples
Initialization function for the cfft f16 function with 512 samples
Initialization function for the cfft f16 function with 256 samples
Initialization function for the cfft f16 function with 128 samples
Initialization function for the cfft f16 function with 64 samples
Initialization function for the cfft f16 function with 32 samples
Initialization function for the cfft f16 function with 16 samples
- Use of this function is mandatory only for the MVE version of the FFT.
Other versions can still initialize directly the data structure using variables declared in riscv_const_structs.h
- Use of this function is mandatory only for the MVE version of the FFT.
Other versions can still initialize directly the data structure using variables declared in riscv_const_structs.h
- Use of this function is mandatory only for the MVE version of the FFT.
Other versions can still initialize directly the data structure using variables declared in riscv_const_structs.h
- Use of this function is mandatory only for the MVE version of the FFT.
Other versions can still initialize directly the data structure using variables declared in riscv_const_structs.h
- Use of this function is mandatory only for the MVE version of the FFT.
Other versions can still initialize directly the data structure using variables declared in riscv_const_structs.h
- Use of this function is mandatory only for the MVE version of the FFT.
Other versions can still initialize directly the data structure using variables declared in riscv_const_structs.h
- Use of this function is mandatory only for the MVE version of the FFT.
Other versions can still initialize directly the data structure using variables declared in riscv_const_structs.h
- Use of this function is mandatory only for the MVE version of the FFT.
Other versions can still initialize directly the data structure using variables declared in riscv_const_structs.h
- Use of this function is mandatory only for the MVE version of the FFT.
Other versions can still initialize directly the data structure using variables declared in riscv_const_structs.h
- Parameters
S – [inout] points to an instance of the floating-point CFFT structure
S – [inout] points to an instance of the floating-point CFFT structure
S – [inout] points to an instance of the floating-point CFFT structure
S – [inout] points to an instance of the floating-point CFFT structure
S – [inout] points to an instance of the floating-point CFFT structure
S – [inout] points to an instance of the floating-point CFFT structure
S – [inout] points to an instance of the floating-point CFFT structure
S – [inout] points to an instance of the floating-point CFFT structure
S – [inout] points to an instance of the floating-point CFFT structure
- Returns
execution status
RISCV_MATH_SUCCESS : Operation successful
RISCV_MATH_ARGUMENT_ERROR : an error is detected
- Returns
execution status
RISCV_MATH_SUCCESS : Operation successful
RISCV_MATH_ARGUMENT_ERROR : an error is detected
- Returns
execution status
RISCV_MATH_SUCCESS : Operation successful
RISCV_MATH_ARGUMENT_ERROR : an error is detected
- Returns
execution status
RISCV_MATH_SUCCESS : Operation successful
RISCV_MATH_ARGUMENT_ERROR : an error is detected
- Returns
execution status
RISCV_MATH_SUCCESS : Operation successful
RISCV_MATH_ARGUMENT_ERROR : an error is detected
- Returns
execution status
RISCV_MATH_SUCCESS : Operation successful
RISCV_MATH_ARGUMENT_ERROR : an error is detected
- Returns
execution status
RISCV_MATH_SUCCESS : Operation successful
RISCV_MATH_ARGUMENT_ERROR : an error is detected
- Returns
execution status
RISCV_MATH_SUCCESS : Operation successful
RISCV_MATH_ARGUMENT_ERROR : an error is detected
- Returns
execution status
RISCV_MATH_SUCCESS : Operation successful
RISCV_MATH_ARGUMENT_ERROR : an error is detected
- RISCV_DSP_ATTRIBUTE riscv_status riscv_cfft_init_f16 (riscv_cfft_instance_f16 *S, uint16_t fftLen)
Generic initialization function for the cfft f16 function.
- Use of this function is mandatory only for the MVE version of the FFT.
Other versions can still initialize directly the data structure using variables declared in riscv_const_structs.h
This function should be used only if you don’t know the FFT sizes that you’ll need at build time. The use of this function will prevent the linker from removing the FFT tables that are not needed and the library. code size will be bigger than needed.
- If you use NMSIS-DSP as a static library, and if you know the FFT sizes
that you need at build time, then it is better to use the initialization functions defined for each FFT size.
- Parameters
S – [inout] points to an instance of the floating-point CFFT structure
fftLen – [in] fft length (number of complex samples)
- Returns
execution status
RISCV_MATH_SUCCESS : Operation successful
RISCV_MATH_ARGUMENT_ERROR : an error is detected
-
FFTINIT(EXT, SIZE)