public class PinSwap
extends Object
Constructor and Description |
---|
PinSwap(Cell c,
String logicalName,
String oldPhysicalName,
String newPhysicalName,
String depopulatedLogicalName,
String newNetPinName)
PinSwap constructor
|
Modifier and Type | Method and Description |
---|---|
Cell |
checkForCompanionCell()
If this pin swap does not directly involve two cells, it may
involve another indirectly.
|
boolean |
equals(Object obj) |
Cell |
getCell() |
Cell |
getCompanionCell() |
String |
getCompanionLogicalName() |
String |
getDepopulatedLogicalName()
This gets the previous logical pin mapping of the new physical pin name being moved.
|
String |
getLogicalName() |
String |
getNewNetPinName() |
String |
getNewPhysicalName() |
String |
getOldPhysicalName() |
int |
hashCode() |
void |
setCell(Cell cell) |
void |
setCompanionCell(Cell companionCell,
String companionLogicalName) |
void |
setDepopulatedLogicalName(String depopulatedLogicalName) |
void |
setLogicalName(String logicalName) |
void |
setNewNetPinName(String newNetPinName) |
void |
setNewPhysicalName(String newPhysicalName) |
void |
setOldPhysicalName(String oldPhysicalName) |
String |
toString() |
public PinSwap(Cell c, String logicalName, String oldPhysicalName, String newPhysicalName, String depopulatedLogicalName, String newNetPinName)
c
- The cell where the pin resideslogicalName
- The logical name of the pinoldPhysicalName
- The previous physical pin mappingnewPhysicalName
- The new physical pin mappingdepopulatedLogicalName
- The previous logical pin name that occupied the new physical pinnewNetPinName
- The new SitePinInst namepublic String getLogicalName()
public void setLogicalName(String logicalName)
logicalName
- the logicalName to setpublic String getOldPhysicalName()
public void setOldPhysicalName(String oldPhysicalName)
oldPhysicalName
- the oldPhysicalName to setpublic String getNewPhysicalName()
public void setNewPhysicalName(String newPhysicalName)
newPhysicalName
- the newPhysicalName to setpublic String getNewNetPinName()
public void setNewNetPinName(String newNetPinName)
newNetPinName
- the newNetPinName to setpublic String getDepopulatedLogicalName()
public void setDepopulatedLogicalName(String depopulatedLogicalName)
depopulatedLogicalName
- the depopulatedLogicalName to setpublic Cell getCell()
public void setCell(Cell cell)
cell
- the cell to setpublic Cell getCompanionCell()
public Cell checkForCompanionCell()
public void setCompanionCell(Cell companionCell, String companionLogicalName)
companionCell
- the companionCell to setpublic String getCompanionLogicalName()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object