Computation of M samples to discard from the stream output: - 2025.1 English

Vitis Libraries

Release Date
2025-06-04
Version
2025.1 English

M denotes the number of samples to be discarded from the output stream.

For AIE Output:
  • M = (TP_F_LEN - Delay + Offset)
For REF Output:
  • M = (Offset + 1)
where:
  • Delay = ( ( (8 * MacsPerCore * Points / 2 - 3) * floor((TP_CASC_LEN - 1) / PhaseIncrement) - (3 * (floor((TP_CASC_LEN - 1) / PhaseIncrement ) - 1)) * (PhaseIncrement - 1) - (3 * ((TP_CASC_LEN - 1) % PhaseIncrement))) * PhaseIncrement - 1)
  • Offset = (3 * TP_PHASES * (PhaseIncrement - 1))
where:
  • MacsPerCore = ceil(TP_G_LEN / (Lanes * Points * TP_CASC_LEN * TP_PHASES)).
  • PhaseIncrement = TP_PHASES / StreamsPerCore.
where:
  • StreamsPerCore = 1 when (TP_G_LEN > ((TP_PHASES * Lanes * Points) / 2)), otherwise StreamsPerCore = 2.
  • Lanes and Points are parameters related to the computation of convolution/correlation of two vectors F and G. Please refer to the table below for lanes and points for supported data type combinations. See table:: LANES and POINTS.
Table 51 LANES and POINTS: Used by the stream-based conv_corr kernel
Data Type Combo Lanes Points
cint16 (F) x int16 (G) 4 4
cint16 (F) x cint16 (G) 4 2

The streaming interface supports only two data type combinations. See IO-BUFFER INTERFACE: Supported Combinations of Input/Output Data Types table:: STREAM INTERFACE.