streamDiscard overload (2) - 2023.2 English

Vitis Libraries

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

Discard multiple streams synchronized with one end flag.

Parameters:

_TIn streams’ type
_NStrm the number of streams
istrms input streams
e_istrm end flag, which is shared in all input streams