#include "xf_utils_hw/stream_n_to_one/round_robin.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, RoundRobinT alg )
stream distribute, in round-robin order from NStrm 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. |