13#ifndef AIE_CONVERSION_AIETOCONFIGURATION_TRANSACTIONBINARY_H
14#define AIE_CONVERSION_AIETOCONFIGURATION_TRANSACTIONBINARY_H
16#include "mlir/IR/Location.h"
23#include "aie_codegen.h"
32 struct XAie_TxnCmd
cmd = {};
57 std::optional<SyncPayload>
sync;
65 uint32_t value,
const uint8_t *data,
71 cmd.DataPtr =
reinterpret_cast<uint64_t
>(data);
80 std::vector<TransactionBinaryOperation> &ops);
std::optional< int > parseTransactionBinary(const std::vector< uint8_t > &data, std::vector< TransactionBinaryOperation > &ops)
Parse an exported transaction.
std::optional< LoadPdiPayload > loadPdi
std::optional< mlir::Location > sourceLoc
TransactionBinaryOperation(XAie_TxnOpcode opc, uint32_t mask, uint64_t addr, uint32_t value, const uint8_t *data, uint32_t size)
std::optional< SyncPayload > sync
std::optional< AddressPatchPayload > addressPatch
TransactionBinaryOperation()=default