edu.byu.ece.edif.tools.replicate.nmr
Class DetectorOrganSpecification

java.lang.Object
  extended by edu.byu.ece.edif.tools.replicate.nmr.AbstractOrganSpecification
      extended by edu.byu.ece.edif.tools.replicate.nmr.DetectorOrganSpecification
All Implemented Interfaces:
OrganSpecification, java.io.Serializable

public class DetectorOrganSpecification
extends AbstractOrganSpecification

A DetectorOrganSpecification holds information about where to put a detector organ (i.e. a comparator).

See Also:
Serialized Form

Field Summary
 
Fields inherited from class edu.byu.ece.edif.tools.replicate.nmr.AbstractOrganSpecification
_net, _organCount, _organType
 
Constructor Summary
DetectorOrganSpecification(Organ organType, int organCount, EdifNet net)
           
 
Method Summary
 java.util.List<EdifPortRef> getSinksGettingOrganOutputs()
          Get the list of sinks that need to get organ outputs.
 java.lang.String toString()
           
 
Methods inherited from class edu.byu.ece.edif.tools.replicate.nmr.AbstractOrganSpecification
getEdifNet, getOrganCount, getOrganType, promoteOrganCountUpTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DetectorOrganSpecification

public DetectorOrganSpecification(Organ organType,
                                  int organCount,
                                  EdifNet net)
Method Detail

getSinksGettingOrganOutputs

public java.util.List<EdifPortRef> getSinksGettingOrganOutputs()
Description copied from class: AbstractOrganSpecification
Get the list of sinks that need to get organ outputs.

Specified by:
getSinksGettingOrganOutputs in interface OrganSpecification
Specified by:
getSinksGettingOrganOutputs in class AbstractOrganSpecification
Returns:
a list of portRefs indicating net sinks that should get the organ's outputs instead of the pre-organ drivers

toString

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