MLIR-AIE 1.4.5.dev
xilinx::AIE::RoutedStream Struct Reference

One stream from a source tile port to a destination tile port, recovered from the physical switchbox and shim-mux configuration. More...

#include "aie/Dialect/AIE/Transforms/AIEStreamDependencyAnalysis.h"

Collaboration diagram for xilinx::AIE::RoutedStream:

Public Member Functions

bool carries (std::optional< PacketInfoAttr > packet) const
 Whether what a BD sends with header packet, or with none, goes on this stream.

Public Attributes

StreamEndpoint src
StreamEndpoint dst
std::optional< int > packetID
 The packet id carried, if any.
bool keepsPktHeader = false
 The destination stores each packet's header along with its payload.
llvm::SmallVector< StreamHop, 8 > hops {}
 The switchboxes the stream passes, source first, where it is routed.
int packetMask = ~0
 The stream carries every id that agrees with packetID on these bits.

Detailed Description

One stream from a source tile port to a destination tile port, recovered from the physical switchbox and shim-mux configuration.

Definition at line 77 of file AIEStreamDependencyAnalysis.h.

Member Function Documentation

◆ carries()

bool xilinx::AIE::RoutedStream::carries ( std::optional< PacketInfoAttr > packet) const
inline

Whether what a BD sends with header packet, or with none, goes on this stream.

Definition at line 91 of file AIEStreamDependencyAnalysis.h.

References packetID, and packetMask.

Referenced by xilinx::AIE::StreamVolumeAnalysis::maySendAfter(), and xilinx::AIE::StreamVolumeAnalysis::sendVolume().

Member Data Documentation

◆ dst

StreamEndpoint xilinx::AIE::RoutedStream::dst

◆ hops

llvm::SmallVector<StreamHop, 8> xilinx::AIE::RoutedStream::hops {}

The switchboxes the stream passes, source first, where it is routed.

Definition at line 85 of file AIEStreamDependencyAnalysis.h.

◆ keepsPktHeader

bool xilinx::AIE::RoutedStream::keepsPktHeader = false

The destination stores each packet's header along with its payload.

Definition at line 83 of file AIEStreamDependencyAnalysis.h.

Referenced by xilinx::AIE::StreamVolumeAnalysis::sendVolume().

◆ packetID

std::optional<int> xilinx::AIE::RoutedStream::packetID

The packet id carried, if any.

Definition at line 81 of file AIEStreamDependencyAnalysis.h.

Referenced by carries(), xilinx::AIE::describeStream(), and xilinx::AIE::StreamVolumeAnalysis::maySendAfter().

◆ packetMask

int xilinx::AIE::RoutedStream::packetMask = ~0

The stream carries every id that agrees with packetID on these bits.

Definition at line 87 of file AIEStreamDependencyAnalysis.h.

Referenced by carries(), and xilinx::AIE::StreamVolumeAnalysis::maySendAfter().

◆ src


The documentation for this struct was generated from the following file: