Common Configuration Parameters - 2024.1 English

Vitis Libraries

Release Date
2024-08-06
Version
2024.1 English

Many library elements perform arithmetic and offer a scaling feature exposed as TP_SHIFT. During this operation, rounding and saturation can occur, configured according to parameters TP_RND and TP_SAT. The modes and values for TP_RND are different on AIE1 compared to AIE-ML as captured in the following table.

Table 64 Common Configuration Parameters
Name Type Default Description
SHIFT unsigned 8 Acc results shift down value.
ROUND_MODE unsigned 0 Rounding mode.
AIE AIE-ML

0 - rnd_floor*

1 - rnd_ceil*

2 - rnd_pos_inf

3 - rnd_neg_inf

4 - rnd_sym_inf

5 - rnd_sym_zero

6 - rnd_conv_even

7 - rnd_conv_odd

0 - rnd_floor*

1 - rnd_ceil*

2 - rnd_sym_floor*

3 - rnd_sym_ceil*

8 - rnd_neg_inf

9 - rnd_pos_inf

10 - rnd_sym_zero

11 - rnd_sym_inf

12 - rnd_conv_even

13 - rnd_conv_odd

SAT_MODE unsigned 1

Saturation mode.

0 - none

1 - saturate

3 - symmetric saturate

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.
STIM_TYPE unsigned 0

Supported types:

0: random

3: impulse

4: all ones

5: incrementing pattern

6: sym incrementing pattern

8: sine wave

DATA_SEED unsigned 1 Seed used to generate random numbers for the inputs.
NUM_OUTPUTS unsigned 1 Number of output ports.
AIE_VARIANT unsigned 1

AIE variant to use for metadata validation. Ignored for compilation and simulation purposes.

1: AIE

2: AIE-ML