lbaf.Model.lbsBlock.Block class

A class representing a memory block with footprint and home.

Methods

def attach_object_id(self, o_id: int)
Attach object ID to block.
def detach_object_id(self, o_id: int) -> int
Try to detach object ID from block and return length.
def get_home_id(self) -> int
Return block home ID.
def get_id(self) -> int
Return block ID.
def get_size(self) -> float
Return block size.

Special methods

def __init__(self, b_id: int, h_id: int, size: float = 0.0, o_ids: set = None)
def __repr__(self)