edu.byu.ece.edif.tools.flatten
Class FlattenedEdifCellInstance

java.lang.Object
  extended by edu.byu.ece.edif.core.NamedPropertyObject
      extended by edu.byu.ece.edif.core.EdifCellInstance
          extended by edu.byu.ece.edif.tools.flatten.FlattenedEdifCellInstance
All Implemented Interfaces:
EdifOut, Properties, java.io.Serializable

public class FlattenedEdifCellInstance
extends EdifCellInstance

Represents a flattened EdifCellInstance. This class is used so that each flattened version of an EdifCellInstance will have a reference to its corresponding HierarchicalInstance node.

TODO: Remove this class? Nobody uses this reference to the hierarchical instance

See Also:
Serialized Form

Field Summary
private  HierarchicalInstance _hierarchicalInstance
          The HierarchicalInstance node associated with this instance
 
Constructor Summary
FlattenedEdifCellInstance(EdifNameable name, EdifCell parent, EdifCell type, HierarchicalInstance hierarchicalInstance)
           
FlattenedEdifCellInstance(EdifNameable name, EdifCell parent, HierarchicalInstance hierarchicalInstance)
           
FlattenedEdifCellInstance(EdifNameable name, HierarchicalInstance hierarchicalInstance)
           
FlattenedEdifCellInstance(java.lang.String name, EdifCell parent, EdifCell type, HierarchicalInstance hierarchicalInstance)
           
FlattenedEdifCellInstance(java.lang.String name, EdifCell parent, HierarchicalInstance hierarchicalInstance)
           
FlattenedEdifCellInstance(java.lang.String name, HierarchicalInstance hierarchicalInstance)
           
 
Method Summary
 java.lang.String getHierarchicalEdifName()
          Creates a string showing the hierarchy of the EdifCell.
 HierarchicalInstance getHierarchicalInstance()
          Get the HierarchicalInstance node associated with this instance.
 void setHierarchicalInstance(HierarchicalInstance instance)
          Set the HierarchicalInstance node associated with this instance.
 
Methods inherited from class edu.byu.ece.edif.core.EdifCellInstance
copy, getAllEPRs, getCellType, getEdifCellInstanceNet, getHierarchicalPrimitiveList, getInnerNets, getInputEPRs, getOuterEPRs, getOuterNets, getOutputEPRs, getParent, getPortRef, getType, matchesWithin, modifyCellRef, modifyCellRef, toEdif, toString
 
Methods inherited from class edu.byu.ece.edif.core.NamedPropertyObject
addProperty, addProperty, addPropertyList, copyProperties, equals, equalsProperties, getEdifNameable, getName, getOldName, getProperty, getPropertyList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_hierarchicalInstance

private HierarchicalInstance _hierarchicalInstance
The HierarchicalInstance node associated with this instance

Constructor Detail

FlattenedEdifCellInstance

public FlattenedEdifCellInstance(EdifNameable name,
                                 EdifCell parent,
                                 EdifCell type,
                                 HierarchicalInstance hierarchicalInstance)

FlattenedEdifCellInstance

public FlattenedEdifCellInstance(EdifNameable name,
                                 EdifCell parent,
                                 HierarchicalInstance hierarchicalInstance)

FlattenedEdifCellInstance

public FlattenedEdifCellInstance(EdifNameable name,
                                 HierarchicalInstance hierarchicalInstance)

FlattenedEdifCellInstance

public FlattenedEdifCellInstance(java.lang.String name,
                                 EdifCell parent,
                                 EdifCell type,
                                 HierarchicalInstance hierarchicalInstance)
                          throws InvalidEdifNameException
Throws:
InvalidEdifNameException

FlattenedEdifCellInstance

public FlattenedEdifCellInstance(java.lang.String name,
                                 EdifCell parent,
                                 HierarchicalInstance hierarchicalInstance)
                          throws InvalidEdifNameException
Throws:
InvalidEdifNameException

FlattenedEdifCellInstance

public FlattenedEdifCellInstance(java.lang.String name,
                                 HierarchicalInstance hierarchicalInstance)
                          throws InvalidEdifNameException
Throws:
InvalidEdifNameException
Method Detail

getHierarchicalInstance

public HierarchicalInstance getHierarchicalInstance()
Get the HierarchicalInstance node associated with this instance.


setHierarchicalInstance

public void setHierarchicalInstance(HierarchicalInstance instance)
Set the HierarchicalInstance node associated with this instance.


getHierarchicalEdifName

public java.lang.String getHierarchicalEdifName()
Creates a string showing the hierarchy of the EdifCell. This method was created to return a valid EDIF name.

Returns:
The full hierarchical name of the EdifCell.