streamDup overload (1) - 2023.2 English

Vitis Libraries

Release Date
2023-12-20
Version
2023.2 English
#include "xf_utils_hw/stream_dup.hpp"
template <
    typename _TIn,
    int _NStrm
    >
void streamDup (
    hls::stream <_TIn>& istrm,
    hls::stream <bool>& e_istrm,
    hls::stream <_TIn> ostrms [_NStrm],
    hls::stream <bool> e_ostrms [_NStrm]
    )

Duplicate stream.

Parameters:

_TIn input stream width.
_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.