18#include "llvm/Support/raw_ostream.h"
30 mlir::LogicalResult
setIOBackend(
bool aieSim,
bool xaieDebug);
33 const DMAChannelDir &channelDir,
34 int bdId,
int repeatCount);
36 mlir::LogicalResult
initLocks(DeviceOp &targetOp);
37 mlir::LogicalResult
initBuffers(DeviceOp &targetOp);
42 const mlir::StringRef elfPath,
bool aieSim);
43 mlir::LogicalResult
addAieElfs(DeviceOp &targetOp,
44 const mlir::StringRef workDirPath,
53 std::unique_ptr<AIERtImpl> aiert;
Include the generated interface declarations.
mlir::LogicalResult pushToBdQueueAndEnable(mlir::Operation &op, int col, int row, int chNum, const DMAChannelDir &channelDir, int bdId, int repeatCount)
void dmaUpdateBdAddr(int col, int row, size_t addr, size_t bdId)
mlir::LogicalResult addAieElfs(DeviceOp &targetOp, const mlir::StringRef workDirPath, bool aieSim)
mlir::LogicalResult setIOBackend(bool aieSim, bool xaieDebug)
std::vector< uint8_t > exportSerializedTransaction()
mlir::LogicalResult initLocks(DeviceOp &targetOp)
mlir::LogicalResult configureSwitches(DeviceOp &targetOp)
mlir::LogicalResult initBuffers(DeviceOp &targetOp)
mlir::LogicalResult addCoreEnable(DeviceOp &targetOp)
mlir::LogicalResult addAieElf(uint8_t col, uint8_t row, const mlir::StringRef elfPath, bool aieSim)
mlir::LogicalResult configureLocksAndBd(mlir::Block &block, int col, int row)
mlir::LogicalResult addInitConfig(DeviceOp &targetOp)