MLIR-AIE 1.4.5.dev
xilinx::AIE::DmaBdField Struct Reference

Bits [shift, shift + width) of register word in a buffer descriptor's register block. More...

#include "aie/Dialect/AIE/IR/AIETargetModel.h"

Collaboration diagram for xilinx::AIE::DmaBdField:

Public Member Functions

bool exists () const
uint32_t mask () const
uint32_t place (uint64_t value) const

Public Attributes

uint8_t word = 0
uint8_t shift = 0
uint8_t width = 0

Detailed Description

Bits [shift, shift + width) of register word in a buffer descriptor's register block.

A field a tile type does not have has width 0.

Definition at line 58 of file AIETargetModel.h.

Member Function Documentation

◆ exists()

bool xilinx::AIE::DmaBdField::exists ( ) const
inline

Definition at line 61 of file AIETargetModel.h.

References width.

Referenced by place().

◆ mask()

uint32_t xilinx::AIE::DmaBdField::mask ( ) const
inline

Definition at line 62 of file AIETargetModel.h.

References width.

Referenced by xilinx::AIE::AIE2TargetModel::getDmaBdMaxLen(), and place().

◆ place()

uint32_t xilinx::AIE::DmaBdField::place ( uint64_t value) const
inline

Definition at line 65 of file AIETargetModel.h.

References exists(), mask(), and shift.

Member Data Documentation

◆ shift

uint8_t xilinx::AIE::DmaBdField::shift = 0

Definition at line 59 of file AIETargetModel.h.

Referenced by place().

◆ width

◆ word

uint8_t xilinx::AIE::DmaBdField::word = 0

Definition at line 59 of file AIETargetModel.h.

Referenced by xilinx::AIEX::emitUpdateBdLengthFromParameter().


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