Overview - Overview - 2026.1 English

Vitis Libraries

Release Date
2026-06-23
Version
2026.1 English

Class for packet switch input handling.

This class implements packet switching for input streams, splitting incoming packet streams into multiple parallel streams for processing.

Parameters:

TP_SSR Number of parallel streams to produce.
TP_INPUT_PORTS Number of input packet ports.
TP_POLYPHASE_ORDER Polyphase order for stream indexing (1 for polyphase order, 0 for sequential order - default).
template <
    unsigned int TP_SSR,
    unsigned int TP_INPUT_PORTS,
    unsigned int TP_POLYPHASE_ORDER = 0
    >
class pkt_switch_input

// fields

static constexpr unsigned N_STREAMS_SPLIT_FROM_PKT
std::array <port <input>, TP_INPUT_PORTS> pkt_in
std::array <port <input>, TP_SSR> pkt_ssr_out
std::array <pktsplit <N_STREAMS_SPLIT_FROM_PKT>, TP_INPUT_PORTS> split