For the FFT/iFFT library element the list of configurable parameters and default values is presented below.
| Name | Type | Default | Description |
|---|---|---|---|
| DATA_TYPE | typename | cint16 | Data Type. |
| TWIDDLE_TYPE | typename | cint16 | Twiddle Type. |
| POINT_SIZE | unsigned | 1024 | FFT point size. |
| SHIFT | unsigned | 17 | Acc results shift down value. |
| FFT_NIFFT | unsigned | 0 | Forward (1) or reverse (0) transform. |
| WINDOW_VSIZE | unsigned | 1024 | Input/Output window size. By default, set to: $(POINT_SIZE). |
| CASC_LEN | unsigned | 1 | Cascade length. |
| DYN_PT_SIZE | unsigned | 0 | Enable (1) Dynamic Point size feature. |
| API_IO | unsigned | 0 | Graph’s port API. 0 - window 1 - stream |
| PARALLEL_POWER | unsigned | 0 | Parallelism, controlling Super Sample Rate operation. |
| NITER | unsigned | 4 | Number of iterations to execute. |
| DIFF_TOLERANCE | unsigned | 0 | Tolerance value when comparing output sample with reference model, e.g. 0.0025 for floats and cfloats. |
| GEN_INPUT_DATA | bool | true | Generate random input data samples. When false, use the input file defined in: INPUT_FILE |
| STIM_TYPE | unsigned | 0 | Supported types: 0 - random 3 - impulse 4 - all ones 5 - incrementing pattern 6 - sym incrementing pattern 8 - sine wave |
| INPUT_FILE | string | data/input.txt | Input data samples file. Only used when GEN_INPUT_DATA=false. |
Note
The above configurable parameters range may exceed a library element’s maximum supported range, in which case the compilation will end with a static_assert error informing about the exceeded range.