public class EDIFHierPortInst
extends Object
EDIFHierPortInst
with a full hierarchical
instance name to uniquely identify a port instance in a netlist.
Created on: Sep 12, 2017Constructor and Description |
---|
EDIFHierPortInst(@NotNull EDIFHierCellInst hierarchicalInst,
@NotNull EDIFPortInst portInst)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<SitePinInst> |
getAllRoutedSitePinInsts(Design design)
Gets the list of site pins if this port is on a placed leaf cell and its' site is routed
|
EDIFCell |
getCellType() |
String |
getFullHierarchicalInstName()
Returns the full hierarchical name of the instance on which this port resides.
|
EDIFHierCellInst |
getHierarchicalInst() |
String |
getHierarchicalInstName()
The name of the parent instance cell that contains the instance
cell pin.
|
EDIFHierNet |
getHierarchicalNet() |
String |
getHierarchicalNetName() |
EDIFHierNet |
getInternalNet()
For ports that represent connections to inner cells, get the connected Net that is connected within the cell
|
EDIFNet |
getNet()
Gets the net on the port inst
|
EDIFCell |
getParentCell() |
Cell |
getPhysicalCell(Design design)
Gets the physical cell to which this port instance has been placed
|
EDIFHierPortInst |
getPortInParent()
For Ports that represent connections to the parent (portInst.getCellInst()==null), get the parent's portInst
that connects to this port.
|
@NotNull EDIFPortInst |
getPortInst() |
Pair<SiteInst,BELPin> |
getRoutedBELPin(Design design)
Gets the physical site instance and BEL pin location where this port instance has been placed
|
SitePinInst |
getRoutedSitePinInst(Design design)
Gets the routed site pin if this port is on a placed leaf cell and its' site is routed
|
int |
hashCode() |
boolean |
isInput() |
boolean |
isOutput() |
String |
toString() |
public EDIFHierPortInst(@NotNull @NotNull EDIFHierCellInst hierarchicalInst, @NotNull @NotNull EDIFPortInst portInst)
hierarchicalInst
- The hierarchical parent instance cell of the portportInst
- The actual port ref objectpublic String getHierarchicalInstName()
public EDIFNet getNet()
public String getFullHierarchicalInstName()
@NotNull public @NotNull EDIFPortInst getPortInst()
public EDIFCell getCellType()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
public String getHierarchicalNetName()
public EDIFHierNet getHierarchicalNet()
public boolean isOutput()
public boolean isInput()
public SitePinInst getRoutedSitePinInst(Design design)
design
- The current designpublic Cell getPhysicalCell(Design design)
design
- The design corresponding to the implementation of this port instance's netlistpublic Pair<SiteInst,BELPin> getRoutedBELPin(Design design)
design
- The design corresponding to the implementation of this port instance's netlistpublic List<SitePinInst> getAllRoutedSitePinInsts(Design design)
design
- The current designpublic EDIFHierCellInst getHierarchicalInst()
public EDIFHierPortInst getPortInParent()
public EDIFHierNet getInternalNet()
public EDIFCell getParentCell()