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

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

public class SingleRailDetectionType
extends RailedDetectionType

The SingleRailDetectionType uses a 1-bit error code output that, when high, indicates that an error has been detected.

See Also:
Serialized Form

Field Summary
protected static java.util.Map<Organ,SingleRailDetectionType> _instances
           
 
Fields inherited from class edu.byu.ece.edif.tools.replicate.nmr.dwc.RailedDetectionType
_detectorOrgan, _railFactor
 
Fields inherited from class edu.byu.ece.edif.tools.replicate.nmr.dwc.AbstractDetectionType
_signalWidth, _useComparatorForDownscale, _useComparatorForUpscale
 
Constructor Summary
protected SingleRailDetectionType(Organ detectorOrgan)
           
 
Method Summary
static SingleRailDetectionType getInstance(Organ detectorOrgan)
           
private  java.lang.Object readResolve()
          This method ensures that during deserialization, the _instances map will be referred to and possibly modified so that extra instances (more than necessary) don't get created.
 
Methods inherited from class edu.byu.ece.edif.tools.replicate.nmr.dwc.RailedDetectionType
antiDetect, defaultDetect, forceDetect
 
Methods inherited from class edu.byu.ece.edif.tools.replicate.nmr.dwc.AbstractDetectionType
getSignalWidth, setUseComparatorForDownscale, setUseComparatorForUpscale, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_instances

protected static java.util.Map<Organ,SingleRailDetectionType> _instances
Constructor Detail

SingleRailDetectionType

protected SingleRailDetectionType(Organ detectorOrgan)
Method Detail

getInstance

public static SingleRailDetectionType getInstance(Organ detectorOrgan)

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
This method ensures that during deserialization, the _instances map will be referred to and possibly modified so that extra instances (more than necessary) don't get created.

Returns:
Throws:
java.io.ObjectStreamException