IRON 0d9d245f13ac73bfe91a5cd530f8af84b35caa61
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Attributes | List of all members
iron.device.tile.Tile Class Reference

Public Member Functions

None __init__ (self, int|None col=None, int|None row=None, *AIETileType|None tile_type=None, str|None allocation_scheme=None)
 
Tile copy (self)
 
LogicalTileOp|TileOp op (self)
 
 op (self, LogicalTileOp|TileOp op)
 
bool __eq__ (self, object other)
 
str __str__ (self)
 
 __hash__ (self)
 

Public Attributes

 col
 
 row
 

Protected Attributes

 _op
 

Detailed Description

An object representing a tile on a device.

A tile can be:
- Fully placed: col and row specified (e.g., Tile(0, 2))
- Partially placed: only col or row (e.g., Tile(col=0))
- Unplaced: no coordinates (e.g., Tile() or AnyComputeTile)

The tile_type is normally set by the component that owns the tile
(Worker sets CoreTile, ObjectFifoLink sets MemTile, RuntimeEndpoint
sets ShimNOCTile). Users only need to specify tile_type for the rare
case of overriding the default (e.g., forwarding through a compute
tile instead of a mem tile).

Pre-built Tile instances (AnyComputeTile, AnyMemTile, AnyShimTile)
are provided as convenient defaults for tile-type-only requests.

Constructor & Destructor Documentation

◆ __init__()

None iron.device.tile.Tile.__init__ (   self,
int | None   col = None,
int | None   row = None,
*AIETileType | None   tile_type = None,
str | None   allocation_scheme = None 
)

Member Function Documentation

◆ __eq__()

bool iron.device.tile.Tile.__eq__ (   self,
object  other 
)

◆ __hash__()

iron.device.tile.Tile.__hash__ (   self)

◆ __str__()

str iron.device.tile.Tile.__str__ (   self)

◆ copy()

Tile iron.device.tile.Tile.copy (   self)
Return a Tile instance with the same col, row, tile_type, and allocation_scheme.

◆ op() [1/2]

LogicalTileOp | TileOp iron.device.tile.Tile.op (   self)

◆ op() [2/2]

iron.device.tile.Tile.op (   self,
LogicalTileOp | TileOp  op 
)

Member Data Documentation

◆ _op

iron.device.tile.Tile._op
protected

◆ col

iron.device.tile.Tile.col

◆ row

iron.device.tile.Tile.row

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