streamNToOne overload (1) - 2023.1 English

Vitis Libraries

Release Date
2023.1 English
#include "xf_utils_hw/stream_n_to_one/load_balance.hpp"
template <
    int _WInStrm,
    int _WOutStrm,
    int _NStrm
void streamNToOne (
    hls::stream <ap_uint <_WInStrm>> istrms [_NStrm],
    hls::stream <bool> e_istrms [_NStrm],
    hls::stream <ap_uint <_WOutStrm>>& ostrm,
    hls::stream <bool>& e_ostrm,
    LoadBalanceT alg

stream distribute, skip to read the empty input streams.


_WInStrm input stream width.
_WOutStrm output stream width.
_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.