streamNToOne overload (2) - 2024.1 English

Vitis Libraries

Document ID
XD160
Release Date
2024-10-16
Version
2024.1 English
#include "xf_utils_hw/stream_n_to_one/load_balance.hpp"
template <
    typename _TIn,
    int _NStrm
    >
void streamNToOne (
    hls::stream <_TIn> istrms [_NStrm],
    hls::stream <bool> e_istrms [_NStrm],
    hls::stream <_TIn>& ostrm,
    hls::stream <bool>& e_ostrm,
    LoadBalanceT alg
    )

stream distribute, skip to read the empty input streams.

Parameters:

_TIn the type of stream.
_NStrm number of input streams.
istrms input data streams.
e_istrms end flag streams for input data.
ostrm output data stream.
e_ostrm end flag stream.
alg algorithm selector.