streamOneToN overload (2) - 2024.2 English

Vitis Libraries

Release Date
2024-11-29
Version
2024.2 English
#include "xf_utils_hw/stream_one_to_n/load_balance.hpp"
template <
    typename _TIn,
    int _NStrm
    >
void streamOneToN (
    hls::stream <_TIn>& istrm,
    hls::stream <bool>& e_istrm,
    hls::stream <_TIn> ostrms [_NStrm],
    hls::stream <bool> e_ostrms [_NStrm],
    LoadBalanceT alg
    )

stream distribute, using load-balancing algorithm.

Parameters:

_TIn the type of input stream.
_NStrm number of output stream.
istrm input data stream.
e_istrm end flag stream for input data.
ostrms output data streams.
e_ostrms end flag streams, one for each output data stream.
alg algorithm selector.