edu.byu.ece.edif.tools.replicate.nmr.dwc
Interface DetectionType

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AbstractDetectionType, DualRailDetectionType, RailedDetectionType, SingleRailDetectionType

public interface DetectionType
extends java.io.Serializable

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


Method Summary
 java.util.List<OrganSpecification> antiDetect(EdifNet net, ReplicationDescription desc)
          Indicate to the detection type that a detector should not be placed on the given net.
 java.util.List<OrganSpecification> defaultDetect(EdifNet net, ReplicationDescription desc)
          Provide default detection on the given net.
 java.util.List<OrganSpecification> forceDetect(EdifNet net, ReplicationDescription desc)
          Force detection on the given net
 int getSignalWidth()
           
 void setUseComparatorForDownscale(boolean useComparatorForDownscale)
          Indicate whether default detections should include downscaling.
 void setUseComparatorForUpscale(boolean useComparatorForUpscale)
          Indicate whether default detections should include upscaling.
 

Method Detail

getSignalWidth

int getSignalWidth()
Returns:
the detection type's signal width

antiDetect

java.util.List<OrganSpecification> antiDetect(EdifNet net,
                                              ReplicationDescription desc)
Indicate to the detection type that a detector should not be placed on the given net.

Parameters:
net -
desc -
Returns:

forceDetect

java.util.List<OrganSpecification> forceDetect(EdifNet net,
                                               ReplicationDescription desc)
Force detection on the given net

Parameters:
net -
desc -
Returns:

defaultDetect

java.util.List<OrganSpecification> defaultDetect(EdifNet net,
                                                 ReplicationDescription desc)
Provide default detection on the given net. Default detection is detection that occurs as a result of upscaling/downscaling.

Parameters:
net -
desc -
Returns:

setUseComparatorForDownscale

void setUseComparatorForDownscale(boolean useComparatorForDownscale)
Indicate whether default detections should include downscaling.

Parameters:
useComparatorForDownscale -

setUseComparatorForUpscale

void setUseComparatorForUpscale(boolean useComparatorForUpscale)
Indicate whether default detections should include upscaling.

Parameters:
useComparatorForUpscale -