Widgets Configuration Parameters - 2023.2 English

Vitis Libraries

Release Date
2023-12-20
Version
2023.2 English

For the Widgets library elements the list of configurable parameters and default values is presented below.

Table 68 Widget API Casts Configuration Parameters
Name Type Default Description
DATA_TYPE typename cint16 Data Type.
IN_API unsigned 0

0 = window,

1 = stream

OUT_API unsigned 0

0 = window,

1 = stream

NUM_INPUTS unsigned 1 The number of input stream interfaces
WINDOW_VSIZE unsigned 256 Input/Output window size.
NUM_OUTPUT_CLONES unsigned 1 The number of output window port copies
PATTERN unsigned 0

The pattern of interleave by which samples from each of 2 streams are arranged

into the destination window, or from the input window to dual output streams.

NITER unsigned 16 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.
DATA_STIM_TYPE unsigned 0

Supported types:

0 - random

3 - impulse

4 - all ones

5 - incrementing pattern

6 - sym incrementing pattern

8 - sine wave

Table 69 Widget Real to Complex Configuration Parameters
Name Type Default Description
DATA_TYPE typename cint16 Data Type.
DATA_OUT_TYPE typename cint16 Data Type.
WINDOW_VSIZE unsigned 256 Input/Output window size.
NITER unsigned 16 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.
DATA_STIM_TYPE unsigned 0

Supported types:

0 - random

3 - impulse

4 - all ones

5 - incrementing pattern

6 - sym incrementing pattern

8 - sine wave

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.