MLIR-AIE
Public Types | Public Member Functions | List of all members
xilinx::AIE::AIEPathfinderPass Struct Reference

Overall Flow: rewrite switchboxes to assign unassigned connections, ensure this can be done concurrently ( by different threads) More...

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

+ Inheritance diagram for xilinx::AIE::AIEPathfinderPass:
+ Collaboration diagram for xilinx::AIE::AIEPathfinderPass:

Public Types

typedef std::pair< TileID, PortPhysPort
 

Public Member Functions

 AIEPathfinderPass ()=default
 
void runOnOperation () override
 
mlir::LogicalResult runOnFlow (DeviceOp d, DynamicTileAnalysis &analyzer)
 
mlir::LogicalResult runOnPacketFlow (DeviceOp d, mlir::OpBuilder &builder, DynamicTileAnalysis &analyzer)
 
bool findPathToDest (SwitchSettings settings, TileID currTile, WireBundle currDestBundle, int currDestChannel, TileID finalTile, WireBundle finalDestBundle, int finalDestChannel)
 

Detailed Description

Overall Flow: rewrite switchboxes to assign unassigned connections, ensure this can be done concurrently ( by different threads)

  1. Goal is to rewrite all flows in the device into switchboxes + shim-mux
  2. multiple passes of the rewrite pattern rewriting streamswitch configurations to routes
  3. rewrite flows to stream-switches using 'weights' from analysis pass.
  4. check a region is legal
  5. rewrite stream-switches (within a bounding box) back to flows

Definition at line 88 of file AIEPasses.h.

Member Typedef Documentation

◆ PhysPort

Definition at line 98 of file AIEPasses.h.

Constructor & Destructor Documentation

◆ AIEPathfinderPass()

xilinx::AIE::AIEPathfinderPass::AIEPathfinderPass ( )
default

Member Function Documentation

◆ findPathToDest()

bool xilinx::AIE::AIEPathfinderPass::findPathToDest ( SwitchSettings  settings,
TileID  currTile,
WireBundle  currDestBundle,
int  currDestChannel,
TileID  finalTile,
WireBundle  finalDestBundle,
int  finalDestChannel 
)

Definition at line 219 of file AIECreatePathFindFlows.cpp.

References findPathToDest(), and xilinx::AIE::src.

Referenced by findPathToDest(), and runOnPacketFlow().

◆ runOnFlow()

LogicalResult xilinx::AIE::AIEPathfinderPass::runOnFlow ( DeviceOp  d,
DynamicTileAnalysis analyzer 
)

Definition at line 183 of file AIECreatePathFindFlows.cpp.

◆ runOnOperation()

void xilinx::AIE::AIEPathfinderPass::runOnOperation ( )
override

◆ runOnPacketFlow()

LogicalResult xilinx::AIE::AIEPathfinderPass::runOnPacketFlow ( DeviceOp  d,
mlir::OpBuilder &  builder,
DynamicTileAnalysis analyzer 
)

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