edu.byu.ece.edif.util.graph
Class ObjectPortRefMap

java.lang.Object
  extended by edu.byu.ece.edif.util.graph.ObjectPortRefMap
All Implemented Interfaces:
java.io.Serializable

 class ObjectPortRefMap
extends java.lang.Object
implements java.io.Serializable

Provides a mapping between EdifCellInstance and top-level EdifSingleBitPort objects and EdifPortRef objects

Author:
wirthlin

Field Summary
protected  EdifCell _cell
           
protected  java.util.Map<EdifCellInstance,java.util.Collection<EdifPortRef>> _instanceInoutMap
           
protected  java.util.Map<EdifCellInstance,java.util.Collection<EdifPortRef>> _instanceInputMap
           
protected  java.util.Map<EdifCellInstance,java.util.Collection<EdifPortRef>> _instanceOutputMap
           
protected  java.util.Map<EdifSingleBitPort,java.util.Collection<EdifPortRef>> _portInoutMap
           
protected  java.util.Map<EdifSingleBitPort,java.util.Collection<EdifPortRef>> _portInputMap
           
protected  java.util.Map<EdifSingleBitPort,java.util.Collection<EdifPortRef>> _portOutputMap
           
 
Constructor Summary
ObjectPortRefMap(EdifCell cell)
           
 
Method Summary
protected  void _init()
           
protected  void addEPRMap(EdifPortRef ref)
           
protected  void addInstanceEPRMap(java.util.Map<EdifCellInstance,java.util.Collection<EdifPortRef>> map, EdifPortRef epr)
           
protected  void addPortEPRMap(java.util.Map<EdifSingleBitPort,java.util.Collection<EdifPortRef>> map, EdifPortRef epr)
           
 java.util.Collection<EdifPortRef> getInstanceInputPortRefs(EdifCellInstance eci)
           
 java.util.Collection<EdifPortRef> getInstanceOutputPortRefs(EdifCellInstance eci)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_cell

protected EdifCell _cell

_instanceInputMap

protected java.util.Map<EdifCellInstance,java.util.Collection<EdifPortRef>> _instanceInputMap

_instanceOutputMap

protected java.util.Map<EdifCellInstance,java.util.Collection<EdifPortRef>> _instanceOutputMap

_instanceInoutMap

protected java.util.Map<EdifCellInstance,java.util.Collection<EdifPortRef>> _instanceInoutMap

_portInputMap

protected java.util.Map<EdifSingleBitPort,java.util.Collection<EdifPortRef>> _portInputMap

_portOutputMap

protected java.util.Map<EdifSingleBitPort,java.util.Collection<EdifPortRef>> _portOutputMap

_portInoutMap

protected java.util.Map<EdifSingleBitPort,java.util.Collection<EdifPortRef>> _portInoutMap
Constructor Detail

ObjectPortRefMap

public ObjectPortRefMap(EdifCell cell)
Method Detail

getInstanceInputPortRefs

public java.util.Collection<EdifPortRef> getInstanceInputPortRefs(EdifCellInstance eci)

getInstanceOutputPortRefs

public java.util.Collection<EdifPortRef> getInstanceOutputPortRefs(EdifCellInstance eci)

addInstanceEPRMap

protected void addInstanceEPRMap(java.util.Map<EdifCellInstance,java.util.Collection<EdifPortRef>> map,
                                 EdifPortRef epr)

addPortEPRMap

protected void addPortEPRMap(java.util.Map<EdifSingleBitPort,java.util.Collection<EdifPortRef>> map,
                             EdifPortRef epr)

addEPRMap

protected void addEPRMap(EdifPortRef ref)

_init

protected void _init()