MLIR-AIE 1.4.6.dev
xilinx::AIE::DMAChannelAnalysis::TakenBDs Class Reference

The BD ids tiles' own programs hold before objectFIFOs take theirs: the chains DMA programs start by index, on their channels, and each id a runtime sequence pins (AIEX::forEachRuntimePinnedBdId), once per tile, on the lowest channel up to its own reaching it (aie-reserve-runtime-bd-ids keeps static BDs off those). More...

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

Public Member Functions

 TakenBDs ()=default
 TakenBDs (DeviceOp device)
llvm::DenseMap< int, int64_t > at (const AIETargetModel &target, int col, int row, llvm::ArrayRef< mlir::Operation * > tiles={}) const
 By channel, the ids held at (col, row) by tiles and by every tile with those coordinates.
llvm::SmallVector< std::pair< int, int > > positions () const
 Coordinates of the placed tiles that hold BD ids.

Detailed Description

The BD ids tiles' own programs hold before objectFIFOs take theirs: the chains DMA programs start by index, on their channels, and each id a runtime sequence pins (AIEX::forEachRuntimePinnedBdId), once per tile, on the lowest channel up to its own reaching it (aie-reserve-runtime-bd-ids keeps static BDs off those).

Definition at line 219 of file AIEDMAChannelAnalysis.h.

Constructor & Destructor Documentation

◆ TakenBDs() [1/2]

xilinx::AIE::DMAChannelAnalysis::TakenBDs::TakenBDs ( )
default

◆ TakenBDs() [2/2]

DMAChannelAnalysis::TakenBDs::TakenBDs ( DeviceOp device)
explicit

Member Function Documentation

◆ at()

DenseMap< int, int64_t > DMAChannelAnalysis::TakenBDs::at ( const AIETargetModel & target,
int col,
int row,
llvm::ArrayRef< mlir::Operation * > tiles = {} ) const

By channel, the ids held at (col, row) by tiles and by every tile with those coordinates.

Definition at line 294 of file AIEDMAChannelAnalysis.cpp.

References xilinx::AIE::AIETargetModel::getNumDestSwitchboxConnections(), xilinx::AIE::AIETargetModel::getNumSourceSwitchboxConnections(), and xilinx::AIE::AIETargetModel::isBdChannelAccessible().

Referenced by positions().

◆ positions()

SmallVector< std::pair< int, int > > DMAChannelAnalysis::TakenBDs::positions ( ) const

Coordinates of the placed tiles that hold BD ids.

Definition at line 327 of file AIEDMAChannelAnalysis.cpp.

References at().


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