#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.
Parameters:
_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. |