public class HardMacro extends ModuleInst implements Comparable<Object>
Constructor and Description |
---|
HardMacro(ModuleInst moduleInst) |
Modifier and Type | Method and Description |
---|---|
void |
addConnectedPath(Path path) |
void |
addConnectedPortWire(PortWire wire) |
void |
calculateTileSize()
Updates the total number of tiles used in the hard macro.
|
int |
compareTo(Object other) |
RelocatableTileRectangle |
getBoundingBox() |
HashSet<Path> |
getConnectedPaths() |
ArrayList<PortWire> |
getConnectedPortWires() |
ModuleInst |
getOriginal() |
Site |
getPlacement() |
Site |
getTempAnchorSite() |
int |
getTileSize() |
List<Site> |
getValidPlacements() |
boolean |
isPlaced() |
void |
setConnectedPortWires(ArrayList<PortWire> connectedPortWires) |
void |
setTempAnchorSite(Site tempAnchorSite,
HashMap<Site,HardMacro> currentPlacements) |
void |
setTileSize(int tileSize) |
String |
toString() |
void |
unsetTempAnchorSite() |
addInst, addNet, addNOCClient, connect, getAllValidPlacements, getAnchor, getCorrespondingNet, getCorrespondingPins, getCorrespondingTile, getDesign, getLowerLeftPlacement, getLowerLeftPlacement, getLowerLeftTile, getModule, getNets, getNOCClients, getPort, getSingleCorrespondingPin, getSiteInsts, getUsedStaticPIPs, overlaps, place, place, place, placeMINearTile, placeOnOriginalAnchor, removeInst, setAnchor, setDesign, setInsts, setModule, unplace
connect, connect, connect, connect, equals, getCellInst, getName, getNewNetName, hashCode, setCellInst, setName
public HardMacro(ModuleInst moduleInst)
public void calculateTileSize()
public List<Site> getValidPlacements()
public void unsetTempAnchorSite()
public Site getTempAnchorSite()
public void setTempAnchorSite(Site tempAnchorSite, HashMap<Site,HardMacro> currentPlacements)
tempAnchorSite
- the tempAnchorSite to setpublic void setConnectedPortWires(ArrayList<PortWire> connectedPortWires)
connectedPortWires
- the connectedPortWires to setpublic ArrayList<PortWire> getConnectedPortWires()
public void addConnectedPortWire(PortWire wire)
public void addConnectedPath(Path path)
public HashSet<Path> getConnectedPaths()
public int compareTo(Object other)
compareTo
in interface Comparable<Object>
public RelocatableTileRectangle getBoundingBox()
getBoundingBox
in class ModuleInst
public String toString()
toString
in class AbstractModuleInst<Module,Site,ModuleInst>
public int getTileSize()
public void setTileSize(int tileSize)
tileSize
- the tileSize to setpublic ModuleInst getOriginal()
public Site getPlacement()
getPlacement
in class ModuleInst
public boolean isPlaced()
isPlaced
in class ModuleInst