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

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

public class RestoringOrganSpecification
extends AbstractOrganSpecification

A RestoringOrganSpecification represents where to insert a restoring organ (i.e. a voter), how many to insert, and which net sinks should get the organs' outputs instead of the pre-organ outputs.

See Also:
Serialized Form

Field Summary
protected  java.util.List<EdifPortRef> _sinksGettingOrganOutputs
           
 
Fields inherited from class edu.byu.ece.edif.tools.replicate.nmr.AbstractOrganSpecification
_net, _organCount, _organType
 
Constructor Summary
RestoringOrganSpecification(Organ organType, int organCount, EdifNet net, java.util.List<EdifPortRef> sinksGettingOrganOutputs)
           
 
Method Summary
 void addSinksGettingVoterOutputs(java.util.Collection<EdifPortRef> sinksGettingVoterOutputs)
           
 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
 

Field Detail

_sinksGettingOrganOutputs

protected java.util.List<EdifPortRef> _sinksGettingOrganOutputs
Constructor Detail

RestoringOrganSpecification

public RestoringOrganSpecification(Organ organType,
                                   int organCount,
                                   EdifNet net,
                                   java.util.List<EdifPortRef> sinksGettingOrganOutputs)
Method Detail

getSinksGettingOrganOutputs

public java.util.List<EdifPortRef> getSinksGettingOrganOutputs()
Get the list of sinks that need to get organ outputs.

Specified by:
getSinksGettingOrganOutputs in interface OrganSpecification
Specified by:
getSinksGettingOrganOutputs in class AbstractOrganSpecification
Returns:

toString

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

addSinksGettingVoterOutputs

public void addSinksGettingVoterOutputs(java.util.Collection<EdifPortRef> sinksGettingVoterOutputs)