edu.byu.ece.edif.tools.replicate.wiring
Class SinglePortConnection

java.lang.Object
  extended by edu.byu.ece.edif.tools.replicate.wiring.PortConnection
      extended by edu.byu.ece.edif.tools.replicate.wiring.SinglePortConnection
All Implemented Interfaces:
java.io.Serializable

public class SinglePortConnection
extends PortConnection

See Also:
Serialized Form

Field Summary
protected  EdifCellInstance _instance
           
protected  EdifSingleBitPort _singleBitPort
           
 
Fields inherited from class edu.byu.ece.edif.tools.replicate.wiring.PortConnection
_name
 
Constructor Summary
SinglePortConnection(EdifPortRef epr)
           
SinglePortConnection(EdifPortRef epr, EdifNameable name)
           
SinglePortConnection(EdifSingleBitPort esbp, EdifCellInstance instance)
           
SinglePortConnection(EdifSingleBitPort esbp, EdifCellInstance instance, EdifNameable name)
           
 
Method Summary
 void connectToNet(EdifNet net)
          Wire the connection to the given net.
 boolean equals(java.lang.Object o)
           
 EdifCellInstance getInstance()
           
 EdifSingleBitPort getSingleBitPort()
           
(package private)  boolean isTopLevelConnection()
           
 java.lang.String toString()
           
 
Methods inherited from class edu.byu.ece.edif.tools.replicate.wiring.PortConnection
getName, setName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_singleBitPort

protected EdifSingleBitPort _singleBitPort

_instance

protected EdifCellInstance _instance
Constructor Detail

SinglePortConnection

public SinglePortConnection(EdifSingleBitPort esbp,
                            EdifCellInstance instance,
                            EdifNameable name)

SinglePortConnection

public SinglePortConnection(EdifSingleBitPort esbp,
                            EdifCellInstance instance)

SinglePortConnection

public SinglePortConnection(EdifPortRef epr,
                            EdifNameable name)

SinglePortConnection

public SinglePortConnection(EdifPortRef epr)
Method Detail

connectToNet

public void connectToNet(EdifNet net)
Description copied from class: PortConnection
Wire the connection to the given net.

Specified by:
connectToNet in class PortConnection

isTopLevelConnection

boolean isTopLevelConnection()

getSingleBitPort

public EdifSingleBitPort getSingleBitPort()

getInstance

public EdifCellInstance getInstance()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object