MLIR-AIE
Public Member Functions | List of all members
DMAChannelAnalysis Class Reference

Public Member Functions

 DMAChannelAnalysis (DeviceOp &device)
 
int getDMAChannelIndex (TileOp tileOp, DMAChannelDir dir, bool requiresAdjacentTileAccessChannels)
 Given a tile and DMAChannelDir, returns next usable channel index for that tile.
 
void checkAIEStreamIndex (TileOp tileOp, DMAChannel chan)
 Given a tile and DMAChannel, adds entry to aieStreamsPerTile or throws an error if the stream is already used.
 

Detailed Description

Definition at line 79 of file AIEObjectFifoStatefulTransform.cpp.

Constructor & Destructor Documentation

◆ DMAChannelAnalysis()

DMAChannelAnalysis::DMAChannelAnalysis ( DeviceOp &  device)
inline

Definition at line 84 of file AIEObjectFifoStatefulTransform.cpp.

Member Function Documentation

◆ checkAIEStreamIndex()

void DMAChannelAnalysis::checkAIEStreamIndex ( TileOp  tileOp,
DMAChannel  chan 
)
inline

Given a tile and DMAChannel, adds entry to aieStreamsPerTile or throws an error if the stream is already used.

Definition at line 156 of file AIEObjectFifoStatefulTransform.cpp.

Referenced by AIEObjectFifoStatefulTransformPass::runOnOperation().

◆ getDMAChannelIndex()

int DMAChannelAnalysis::getDMAChannelIndex ( TileOp  tileOp,
DMAChannelDir  dir,
bool  requiresAdjacentTileAccessChannels 
)
inline

Given a tile and DMAChannelDir, returns next usable channel index for that tile.

Definition at line 125 of file AIEObjectFifoStatefulTransform.cpp.

References xilinx::AIE::getTargetModel().

Referenced by AIEObjectFifoStatefulTransformPass::assignDMAChannelIndices().


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