For the DFT 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 | 16 | DFT point size. |
SHIFT | unsigned | 8 | Acc results shift down value. |
FFT_NIFFT | unsigned | 0 | Forward (1) or reverse (0) transform. |
NUM_FRAMES | unsigned | 8 | The number of batches of input data that will be processed per iteration. |
CASC_LEN | unsigned | 1 | Cascade length. |
API_IO | unsigned | 0 | Graph’s port API. 0 - window 1 - stream |
NITER | unsigned | 8 | 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. |
ROUND_MODE | unsigned | 0 | Rounding mode. |
SAT_MODE | unsigned | Saturation mode | 0: ‘none’ 1: ‘saturate’ 3: ‘symmetric saturate’ |
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.