|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectbyucc.edif.libraries.xilinx.InstanceHierarchy
public class InstanceHierarchy
This class represents an EdifCellInstance object within a hierarchy framework. This is a linked list between EdifCellInstance objects. The top link in the list is the top-level of the hierarchy.
| Field Summary | |
|---|---|
protected InstanceHierarchy[] |
_children
|
protected NetHierarchy[] |
_nets
A collection of NetHierarchy objects that correspond to this instance. |
protected InstanceHierarchy |
_parent
The parent instance of this instance. |
protected EdifCellInstance |
_self
The corresponding EdifCellInstance object of this instance. |
| Constructor Summary | |
|---|---|
InstanceHierarchy(EdifCellInstance self)
Create a top-level hierarchical instance. |
|
InstanceHierarchy(InstanceHierarchy parent,
EdifCellInstance self)
Creates a new hierarchical element. |
|
| Method Summary | |
|---|---|
static InstanceHierarchy |
findInstance(InstanceHierarchy hier,
EdifCellInstance eci)
|
InstanceHierarchy[] |
getChildren()
|
InstanceHierarchy |
getHierarchyNode(java.util.ArrayList cells)
|
EdifCell |
getInstanceCellType()
Determine EdifCell type of the EdifCellInstance at this level in the hierarchy. |
java.lang.String |
getInstanceName(boolean printTop)
|
NetHierarchy[] |
getNets()
|
InstanceHierarchy |
getParent()
|
EdifCellInstance |
getSelf()
|
java.util.Iterator |
getUpIterator()
Returns an iterator of InstanceHierachy objects going "up" the hierarchy through parents. |
boolean |
isTop()
|
boolean |
isTop(boolean includeTop)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected InstanceHierarchy _parent
protected EdifCellInstance _self
protected NetHierarchy[] _nets
protected InstanceHierarchy[] _children
| Constructor Detail |
|---|
public InstanceHierarchy(EdifCellInstance self)
self -
public InstanceHierarchy(InstanceHierarchy parent,
EdifCellInstance self)
parent - Parent EdifCellInstance object in the hierarchyself - The EdifCellInstance represented by this hierarchical
object.| Method Detail |
|---|
public static InstanceHierarchy findInstance(InstanceHierarchy hier,
EdifCellInstance eci)
public InstanceHierarchy getHierarchyNode(java.util.ArrayList cells)
public InstanceHierarchy[] getChildren()
public EdifCell getInstanceCellType()
public NetHierarchy[] getNets()
public InstanceHierarchy getParent()
public EdifCellInstance getSelf()
public java.util.Iterator getUpIterator()
public boolean isTop()
public boolean isTop(boolean includeTop)
public java.lang.String getInstanceName(boolean printTop)
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||