edu.byu.ece.edif.tools.replicate.nmr.dwc
Class DetectionOutputSpecification

java.lang.Object
  extended by edu.byu.ece.edif.tools.replicate.nmr.dwc.DetectionOutputSpecification
All Implemented Interfaces:
java.io.Serializable

public class DetectionOutputSpecification
extends java.lang.Object
implements java.io.Serializable

A DetectionOutputSpecification indicates what to do with a particular group of detection outputs (the group could consist of multiple detection domains). A DetectionOutputSpecification indicates whether to create a new port for the output or use an existing one, whether to insert an output register, whether to insert an output buffer, and what clock net to use for any output registers.

See Also:
Serialized Form

Field Summary
protected  java.lang.String _clockNetName
           
protected  java.util.List<DetectionDomain> _detectionDomains
           
protected  DetectionOutputMerger _detectionOutputMerger
           
protected  DetectionType _detectionType
           
protected  boolean _insertObuf
           
protected  boolean _insertOreg
           
protected  boolean _needsPortCreated
           
protected  java.util.List<SinglePortConnection> _outputConnection
           
protected  java.lang.String _portNameToCreate
           
 
Constructor Summary
DetectionOutputSpecification(DetectionType type, java.util.List<SinglePortConnection> outputConnection, DetectionDomain domain, DetectionOutputMerger merger, boolean insertOreg, boolean insertObuf, java.lang.String clockNetName)
           
DetectionOutputSpecification(DetectionType type, java.util.List<SinglePortConnection> outputConnection, java.util.List<DetectionDomain> detectionDomains, DetectionOutputMerger merger, boolean insertOreg, boolean insertObuf, java.lang.String clockNetName)
           
DetectionOutputSpecification(DetectionType type, java.lang.String portNameToCreate, DetectionDomain domain, DetectionOutputMerger merger, boolean insertOreg, boolean insertObuf, java.lang.String clockNetName)
           
DetectionOutputSpecification(DetectionType type, java.lang.String portNameToCreate, java.util.List<DetectionDomain> detectionDomains, DetectionOutputMerger merger, boolean insertOreg, boolean insertObuf, java.lang.String clockNetName)
           
 
Method Summary
 void addDetectionDomain(DetectionDomain domain)
           
 void addDetectionDomains(java.util.Collection<DetectionDomain> domains)
           
 boolean containsDomain(DetectionDomain domain)
           
 java.lang.String getClockNetName()
           
 java.util.List<DetectionDomain> getDetectionDomains()
           
 DetectionType getDetectionType()
           
 DetectionOutputMerger getMerger()
           
 java.util.List<SinglePortConnection> getOutputConnection()
           
 java.lang.String getPortNameToCreate()
           
 boolean needsPortCreated()
           
 boolean shouldInsertObuf()
           
 boolean shouldInsertOreg()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_detectionType

protected DetectionType _detectionType

_outputConnection

protected java.util.List<SinglePortConnection> _outputConnection

_detectionDomains

protected java.util.List<DetectionDomain> _detectionDomains

_detectionOutputMerger

protected DetectionOutputMerger _detectionOutputMerger

_needsPortCreated

protected boolean _needsPortCreated

_portNameToCreate

protected java.lang.String _portNameToCreate

_insertOreg

protected boolean _insertOreg

_insertObuf

protected boolean _insertObuf

_clockNetName

protected java.lang.String _clockNetName
Constructor Detail

DetectionOutputSpecification

public DetectionOutputSpecification(DetectionType type,
                                    java.util.List<SinglePortConnection> outputConnection,
                                    DetectionDomain domain,
                                    DetectionOutputMerger merger,
                                    boolean insertOreg,
                                    boolean insertObuf,
                                    java.lang.String clockNetName)

DetectionOutputSpecification

public DetectionOutputSpecification(DetectionType type,
                                    java.util.List<SinglePortConnection> outputConnection,
                                    java.util.List<DetectionDomain> detectionDomains,
                                    DetectionOutputMerger merger,
                                    boolean insertOreg,
                                    boolean insertObuf,
                                    java.lang.String clockNetName)

DetectionOutputSpecification

public DetectionOutputSpecification(DetectionType type,
                                    java.lang.String portNameToCreate,
                                    DetectionDomain domain,
                                    DetectionOutputMerger merger,
                                    boolean insertOreg,
                                    boolean insertObuf,
                                    java.lang.String clockNetName)

DetectionOutputSpecification

public DetectionOutputSpecification(DetectionType type,
                                    java.lang.String portNameToCreate,
                                    java.util.List<DetectionDomain> detectionDomains,
                                    DetectionOutputMerger merger,
                                    boolean insertOreg,
                                    boolean insertObuf,
                                    java.lang.String clockNetName)
Method Detail

getDetectionType

public DetectionType getDetectionType()

getOutputConnection

public java.util.List<SinglePortConnection> getOutputConnection()

addDetectionDomain

public void addDetectionDomain(DetectionDomain domain)

addDetectionDomains

public void addDetectionDomains(java.util.Collection<DetectionDomain> domains)

containsDomain

public boolean containsDomain(DetectionDomain domain)

getDetectionDomains

public java.util.List<DetectionDomain> getDetectionDomains()

getMerger

public DetectionOutputMerger getMerger()

needsPortCreated

public boolean needsPortCreated()

getPortNameToCreate

public java.lang.String getPortNameToCreate()

shouldInsertObuf

public boolean shouldInsertObuf()

shouldInsertOreg

public boolean shouldInsertOreg()

getClockNetName

public java.lang.String getClockNetName()