IRON 1a5eed49d3c0721a318ac369f725acc96b7c4584
Loading...
Searching...
No Matches
Static Public Attributes | List of all members
iron.dataflow.tile_dma.Bd Class Reference
Collaboration diagram for iron.dataflow.tile_dma.Bd:
Collaboration graph
[legend]

Static Public Attributes

Buffer buffer
 
int offset = 0
 
int length = None
 
list acquires = field(default_factory=list)
 
list releases = field(default_factory=list)
 
int next = "self"
 
tuple packet = None
 
list dimensions = None
 

Detailed Description

A single buffer-descriptor entry in a :class:`DmaChannel`'s chain.

Lowers to one basic block containing acquires + ``aie.dma_bd`` +
releases + an ``aie.next_bd``.  The ``next`` field selects what the
``next_bd`` points at:

* ``"self"`` (default) — the BD loops to itself (the common "keep
  streaming" pattern).
* an ``int`` ``i`` — point at the i-th BD in this channel's ``bds``
  list (zero-based).  Useful for explicit cycles in a multi-BD chain.
* ``None`` — emit no ``next_bd`` (rarely useful; this leaves the
  basic block without a terminator).

Member Data Documentation

◆ acquires

list iron.dataflow.tile_dma.Bd.acquires = field(default_factory=list)
static

◆ buffer

Buffer iron.dataflow.tile_dma.Bd.buffer
static

◆ dimensions

list iron.dataflow.tile_dma.Bd.dimensions = None
static

◆ length

int iron.dataflow.tile_dma.Bd.length = None
static

◆ next

int iron.dataflow.tile_dma.Bd.next = "self"
static

◆ offset

int iron.dataflow.tile_dma.Bd.offset = 0
static

◆ packet

tuple iron.dataflow.tile_dma.Bd.packet = None
static

◆ releases

list iron.dataflow.tile_dma.Bd.releases = field(default_factory=list)
static

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