#include "xf_utils_hw/stream_n_to_one/round_robin.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, RoundRobinT alg )
stream distribute, in round-robin order from NStrm input streams.
Parameters:
_TIn | the type of input and output 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. |