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

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

public class MultiPortConnection
extends PortConnection

See Also:
Serialized Form

Field Summary
protected  java.util.List<EdifCellInstance> _instances
           
protected  java.util.List<EdifSingleBitPort> _singleBitPorts
           
 
Fields inherited from class edu.byu.ece.edif.tools.replicate.wiring.PortConnection
_name
 
Constructor Summary
MultiPortConnection()
           
MultiPortConnection(java.util.Collection<SinglePortConnection> connections)
           
MultiPortConnection(java.util.Collection<SinglePortConnection> connections, EdifNameable name)
           
MultiPortConnection(EdifNameable name)
           
 
Method Summary
 void addConnection(EdifCellInstance instance, EdifSingleBitPort singleBitPort)
           
 void connectToNet(EdifNet net)
          Wire the connection to the given net.
 
Methods inherited from class edu.byu.ece.edif.tools.replicate.wiring.PortConnection
getName, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_singleBitPorts

protected java.util.List<EdifSingleBitPort> _singleBitPorts

_instances

protected java.util.List<EdifCellInstance> _instances
Constructor Detail

MultiPortConnection

public MultiPortConnection()

MultiPortConnection

public MultiPortConnection(EdifNameable name)

MultiPortConnection

public MultiPortConnection(java.util.Collection<SinglePortConnection> connections,
                           EdifNameable name)

MultiPortConnection

public MultiPortConnection(java.util.Collection<SinglePortConnection> connections)
Method Detail

addConnection

public void addConnection(EdifCellInstance instance,
                          EdifSingleBitPort singleBitPort)

connectToNet

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

Specified by:
connectToNet in class PortConnection