|
MLIR-AIE 1.4.5.dev
|
#include "aie/Targets/AIERT.h"
Classes | |
| struct | AIERtImpl |
Public Member Functions | |
| AIERTControl (const xilinx::AIE::AIETargetModel &tm) | |
| ~AIERTControl () | |
| mlir::LogicalResult | setIOBackend (bool aieSim, bool xaieDebug) |
| mlir::LogicalResult | pushToBdQueueAndEnable (mlir::Operation &op, int col, int row, int chNum, const DMAChannelDir &channelDir, int bdId, int repeatCount, uint32_t padValue=0, bool outOfOrder=false) |
| mlir::LogicalResult | configureLocksAndBd (mlir::Block &block, int col, int row, bool outOfOrder=false) |
| mlir::LogicalResult | initLocks (DeviceOp &targetOp) |
| mlir::LogicalResult | initBuffers (DeviceOp &targetOp) |
| mlir::LogicalResult | configureSwitches (DeviceOp &targetOp, bool skipCtrlPktOverlay=false) |
| mlir::LogicalResult | addInitConfig (DeviceOp &targetOp, bool skipCtrlPktOverlay=false) |
| mlir::LogicalResult | teardownSwitches (DeviceOp &targetOp) |
| mlir::LogicalResult | disableCores (DeviceOp &targetOp) |
| mlir::LogicalResult | resetDmaChannels (DeviceOp &targetOp) |
| mlir::LogicalResult | addCoreEnable (DeviceOp &targetOp) |
| mlir::LogicalResult | addAieElf (uint8_t col, uint8_t row, const mlir::StringRef elfPath, bool aieSim) |
| mlir::LogicalResult | addAieElfs (DeviceOp &targetOp, const mlir::StringRef elfPath, bool aieSim) |
| void | startTransaction () |
| void | dmaUpdateBdAddr (int col, int row, size_t addr, size_t bdId) |
| std::vector< uint8_t > | exportSerializedTransaction () |
| const std::vector< mlir::Location > & | getTxnOpLocs () const |
| uint32_t | getCurrentTxnNumCmds () const |
| void | recordTxnLocRange (uint32_t startCmds, uint32_t endCmds, mlir::Location loc) |
| mlir::LogicalResult | resetPartition () |
| mlir::LogicalResult | resetDMA (int col, int row, bool on) |
| mlir::LogicalResult | resetCore (int col, int row) |
| mlir::LogicalResult | resetCoreUnreset (int col, int row) |
| mlir::LogicalResult | resetSwitch (int col, int row) |
| mlir::LogicalResult | resetLock (int col, int row, int lockId) |
| mlir::LogicalResult | resetSwitchConnection (int col, int row, WireBundle sourceBundle, int sourceChannel, WireBundle destBundle, int destChannel) |
| mlir::LogicalResult | resetPerfCounters (int col, int row) |
| xilinx::AIE::AIERTControl::AIERTControl | ( | const xilinx::AIE::AIETargetModel & | tm | ) |
Definition at line 250 of file AIERT.cpp.
References xilinx::AIE::AIETargetModel::columns(), xilinx::AIE::AIETargetModel::getTargetArch(), xilinx::AIE::AIETargetModel::hasProperty(), xilinx::AIE::AIETargetModel::IsVirtualized, and xilinx::AIE::AIETargetModel::rows().
| LogicalResult xilinx::AIE::AIERTControl::addAieElf | ( | uint8_t | col, |
| uint8_t | row, | ||
| const mlir::StringRef | elfPath, | ||
| bool | aieSim ) |
Definition at line 1054 of file AIERT.cpp.
References TRY_XAIE_API_LOGICAL_RESULT.
Referenced by addAieElfs().
| LogicalResult xilinx::AIE::AIERTControl::addAieElfs | ( | DeviceOp & | targetOp, |
| const mlir::StringRef | elfPath, | ||
| bool | aieSim ) |
Definition at line 1207 of file AIERT.cpp.
References addAieElf().
| LogicalResult xilinx::AIE::AIERTControl::addCoreEnable | ( | DeviceOp & | targetOp | ) |
Definition at line 1041 of file AIERT.cpp.
References TRY_XAIE_API_EMIT_ERROR.
| LogicalResult xilinx::AIE::AIERTControl::addInitConfig | ( | DeviceOp & | targetOp, |
| bool | skipCtrlPktOverlay = false ) |
Definition at line 952 of file AIERT.cpp.
References xilinx::AIE::collectOutOfOrderBlocks(), configureLocksAndBd(), configureSwitches(), xilinx::AIE::getOrderedChainOfBlocks(), initBuffers(), initLocks(), pushToBdQueueAndEnable(), and xilinx::AIE::verifyDMAChannelsResolved().
| LogicalResult xilinx::AIE::AIERTControl::configureLocksAndBd | ( | mlir::Block & | block, |
| int | col, | ||
| int | row, | ||
| bool | outOfOrder = false ) |
Definition at line 641 of file AIERT.cpp.
References TRY_XAIE_API_EMIT_ERROR.
Referenced by addInitConfig().
| LogicalResult xilinx::AIE::AIERTControl::configureSwitches | ( | DeviceOp & | targetOp, |
| bool | skipCtrlPktOverlay = false ) |
Definition at line 731 of file AIERT.cpp.
References xilinx::AIE::AIETargetModel::IsNPU, and TRY_XAIE_API_EMIT_ERROR.
Referenced by addInitConfig().
| LogicalResult xilinx::AIE::AIERTControl::disableCores | ( | DeviceOp & | targetOp | ) |
Definition at line 901 of file AIERT.cpp.
References TRY_XAIE_API_EMIT_ERROR.
| void xilinx::AIE::AIERTControl::dmaUpdateBdAddr | ( | int | col, |
| int | row, | ||
| size_t | addr, | ||
| size_t | bdId ) |
Definition at line 1242 of file AIERT.cpp.
References TRY_XAIE_API_FATAL_ERROR.
Referenced by aieRtDmaUpdateBdAddr().
| std::vector< uint8_t > xilinx::AIE::AIERTControl::exportSerializedTransaction | ( | ) |
Definition at line 1308 of file AIERT.cpp.
Referenced by aieRtExportSerializedTransaction().
| uint32_t xilinx::AIE::AIERTControl::getCurrentTxnNumCmds | ( | ) | const |
| const std::vector< mlir::Location > & xilinx::AIE::AIERTControl::getTxnOpLocs | ( | ) | const |
| LogicalResult xilinx::AIE::AIERTControl::initBuffers | ( | DeviceOp & | targetOp | ) |
Definition at line 704 of file AIERT.cpp.
References xilinx::AIE::denseAttrToBytes(), and TRY_XAIE_API_FATAL_ERROR.
Referenced by addInitConfig().
| LogicalResult xilinx::AIE::AIERTControl::initLocks | ( | DeviceOp & | targetOp | ) |
Definition at line 671 of file AIERT.cpp.
References NUM_LOCKS, TRY_XAIE_API_EMIT_ERROR, and TRY_XAIE_API_FATAL_ERROR.
Referenced by addInitConfig().
| LogicalResult xilinx::AIE::AIERTControl::pushToBdQueueAndEnable | ( | mlir::Operation & | op, |
| int | col, | ||
| int | row, | ||
| int | chNum, | ||
| const DMAChannelDir & | channelDir, | ||
| int | bdId, | ||
| int | repeatCount, | ||
| uint32_t | padValue = 0, | ||
| bool | outOfOrder = false ) |
Definition at line 598 of file AIERT.cpp.
References TRY_XAIE_API_EMIT_ERROR.
Referenced by addInitConfig().
| void xilinx::AIE::AIERTControl::recordTxnLocRange | ( | uint32_t | startCmds, |
| uint32_t | endCmds, | ||
| mlir::Location | loc ) |
| LogicalResult xilinx::AIE::AIERTControl::resetCore | ( | int | col, |
| int | row ) |
Definition at line 1093 of file AIERT.cpp.
References TRY_XAIE_API_LOGICAL_RESULT.
| LogicalResult xilinx::AIE::AIERTControl::resetCoreUnreset | ( | int | col, |
| int | row ) |
Definition at line 1127 of file AIERT.cpp.
References TRY_XAIE_API_LOGICAL_RESULT.
| LogicalResult xilinx::AIE::AIERTControl::resetDMA | ( | int | col, |
| int | row, | ||
| bool | on ) |
Definition at line 1081 of file AIERT.cpp.
References TRY_XAIE_API_LOGICAL_RESULT.
| LogicalResult xilinx::AIE::AIERTControl::resetDmaChannels | ( | DeviceOp & | targetOp | ) |
Definition at line 911 of file AIERT.cpp.
References xilinx::AIE::getOrderedChainOfBlocks(), and TRY_XAIE_API_EMIT_ERROR.
| LogicalResult xilinx::AIE::AIERTControl::resetLock | ( | int | col, |
| int | row, | ||
| int | lockId ) |
Definition at line 1133 of file AIERT.cpp.
References TRY_XAIE_API_LOGICAL_RESULT.
| LogicalResult xilinx::AIE::AIERTControl::resetPartition | ( | ) |
Definition at line 1076 of file AIERT.cpp.
References TRY_XAIE_API_LOGICAL_RESULT.
| LogicalResult xilinx::AIE::AIERTControl::resetPerfCounters | ( | int | col, |
| int | row ) |
| LogicalResult xilinx::AIE::AIERTControl::resetSwitch | ( | int | col, |
| int | row ) |
Definition at line 1099 of file AIERT.cpp.
References TRY_XAIE_API_FATAL_ERROR.
| LogicalResult xilinx::AIE::AIERTControl::resetSwitchConnection | ( | int | col, |
| int | row, | ||
| WireBundle | sourceBundle, | ||
| int | sourceChannel, | ||
| WireBundle | destBundle, | ||
| int | destChannel ) |
Definition at line 1145 of file AIERT.cpp.
References TRY_XAIE_API_LOGICAL_RESULT.
| LogicalResult xilinx::AIE::AIERTControl::setIOBackend | ( | bool | aieSim, |
| bool | xaieDebug ) |
Definition at line 307 of file AIERT.cpp.
References TRY_XAIE_API_FATAL_ERROR.
| void xilinx::AIE::AIERTControl::startTransaction | ( | ) |
Definition at line 1249 of file AIERT.cpp.
References TRY_XAIE_API_FATAL_ERROR.
Referenced by aieRtStartTransaction().
| LogicalResult xilinx::AIE::AIERTControl::teardownSwitches | ( | DeviceOp & | targetOp | ) |
Definition at line 860 of file AIERT.cpp.
References TRY_XAIE_API_EMIT_ERROR.