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

java.lang.Object
  extended by edu.byu.ece.edif.tools.replicate.nmr.dwc.AbstractDetectionType
All Implemented Interfaces:
DetectionType, java.io.Serializable
Direct Known Subclasses:
RailedDetectionType

public abstract class AbstractDetectionType
extends java.lang.Object
implements DetectionType

A DetectionType indicates how to perform detection on specified signals and what the detection signal width is.

See Also:
Serialized Form

Field Summary
protected  int _signalWidth
           
protected  boolean _useComparatorForDownscale
           
protected  boolean _useComparatorForUpscale
           
 
Constructor Summary
protected AbstractDetectionType(int signalWidth)
           
 
Method Summary
 int getSignalWidth()
           
 void setUseComparatorForDownscale(boolean useComparatorForDownscale)
          Indicate whether default detections should include downscaling.
 void setUseComparatorForUpscale(boolean useComparatorForUpscale)
          Indicate whether default detections should include upscaling.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface edu.byu.ece.edif.tools.replicate.nmr.dwc.DetectionType
antiDetect, defaultDetect, forceDetect
 

Field Detail

_signalWidth

protected int _signalWidth

_useComparatorForDownscale

protected boolean _useComparatorForDownscale

_useComparatorForUpscale

protected boolean _useComparatorForUpscale
Constructor Detail

AbstractDetectionType

protected AbstractDetectionType(int signalWidth)
Method Detail

getSignalWidth

public int getSignalWidth()
Specified by:
getSignalWidth in interface DetectionType
Returns:
the detection type's signal width

setUseComparatorForDownscale

public void setUseComparatorForDownscale(boolean useComparatorForDownscale)
Description copied from interface: DetectionType
Indicate whether default detections should include downscaling.

Specified by:
setUseComparatorForDownscale in interface DetectionType

setUseComparatorForUpscale

public void setUseComparatorForUpscale(boolean useComparatorForUpscale)
Description copied from interface: DetectionType
Indicate whether default detections should include upscaling.

Specified by:
setUseComparatorForUpscale in interface DetectionType

toString

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