edu.byu.ece.edif.util.jsap.commandgroups
Class JEdifNMRSelectionCommandGroup

java.lang.Object
  extended by edu.byu.ece.edif.util.jsap.commandgroups.AbstractCommandGroup
      extended by edu.byu.ece.edif.util.jsap.commandgroups.JEdifNMRSelectionCommandGroup
All Implemented Interfaces:
CommandGroup

public class JEdifNMRSelectionCommandGroup
extends AbstractCommandGroup


Field Summary
protected static BoundedIntegerStringParser _oneTwoThree
          Set := {1,2,3} Use for inputAdditionType, outputAdditionType, and SCCSortType.
protected static BoundedDoubleStringParser _zeroToOneInclusive
          Range := [0,1] Use for mergeFactor, optimizationFactor, and inc.
static java.lang.String CONTINUE_SELECTION
           
static java.lang.String DO_SCC_DECOMPOSITION
           
static java.lang.String FACTOR_TYPE
           
protected static java.lang.String FACTOR_TYPES
          A String of the various Factor Types for an EnumeratedStringParser; initialized with a static initialization block.
static java.lang.String FACTOR_VALUE
           
static java.lang.String FALSE
           
static java.lang.String FILE
           
static java.lang.String FULL_NMR
           
static java.lang.String HIGH
           
static java.lang.String IGNORE_HARD_UTILIZATION_LIMITS
           
static java.lang.String IGNORE_SOFT_UTILIZATION_LIMIT
           
static java.lang.String INC
           
static java.lang.String INPUT_ADDITION_TYPE
           
static char LIST_DELIMITER
           
static java.lang.String LOG
           
static java.lang.String MERGE_FACTOR
           
static java.lang.String NMR_C
          Force NMR of cell type
static java.lang.String NMR_CLK
          Force NMR of clock domain
static java.lang.String NMR_I
          Force NMR of cell instance
static java.lang.String NMR_INPORTS
           
static java.lang.String NMR_OUTPORTS
           
static java.lang.String NMR_PORTS
           
static java.lang.String NO_NMR_C
          No NMR Cell type
static java.lang.String NO_NMR_CLK
          No NMR clock domain
static java.lang.String NO_NMR_FEED_FORWARD
           
static java.lang.String NO_NMR_FEEDBACK
           
static java.lang.String NO_NMR_FEEDBACK_OUTPUT
           
static java.lang.String NO_NMR_I
          No NMR cell instance
static java.lang.String NO_NMR_INPUT_TO_FEEDBACK
           
static java.lang.String NO_NMR_P
          No NMR port
static java.lang.String NO_PARTIAL_NMR
           
static java.lang.String OPTIMIZATION_FACTOR
           
static java.lang.String OUTPUT_ADDITION_TYPE
           
static java.lang.String OVERRIDE_SELECTION
           
static java.lang.String RP_NMR
           
static java.lang.String SCC_SORT_TYPE
           
static java.lang.String TRUE
           
 
Fields inherited from class edu.byu.ece.edif.util.jsap.commandgroups.AbstractCommandGroup
_options
 
Constructor Summary
JEdifNMRSelectionCommandGroup()
          TODO: Some of these options should be in more general command groups that are usable across multiple tools.
 
Method Summary
static boolean continueSelection(com.martiansoftware.jsap.JSAPResult result)
           
static boolean doSCCDecomposition(com.martiansoftware.jsap.JSAPResult result)
           
static boolean fullNMR(com.martiansoftware.jsap.JSAPResult result)
           
static NMRUtilities.UtilizationFactor getFactorType(com.martiansoftware.jsap.JSAPResult result)
          Determine what utilization factor type is being used for partial NMR.
static double getFactorValue(com.martiansoftware.jsap.JSAPResult result)
           
static int getInputAdditionType(com.martiansoftware.jsap.JSAPResult result)
           
static double getMergeFactor(com.martiansoftware.jsap.JSAPResult result)
           
static java.lang.String[] getNMRc(com.martiansoftware.jsap.JSAPResult result)
           
static java.lang.String[] getNMRclk(com.martiansoftware.jsap.JSAPResult result)
           
static java.lang.String[] getNMRi(com.martiansoftware.jsap.JSAPResult result)
           
static java.lang.String[] getNoNMRc(com.martiansoftware.jsap.JSAPResult result)
           
static java.lang.String[] getNoNMRclk(com.martiansoftware.jsap.JSAPResult result)
           
static java.lang.String[] getNoNMRi(com.martiansoftware.jsap.JSAPResult result)
           
static java.lang.String[] getNoNMRp(com.martiansoftware.jsap.JSAPResult result)
           
static double getOptimizationFactor(com.martiansoftware.jsap.JSAPResult result)
           
static int getOutputAdditionType(com.martiansoftware.jsap.JSAPResult result)
           
static java.lang.String[] getRpNMRPorts(com.martiansoftware.jsap.JSAPResult result)
           
static int getSCCSortType(com.martiansoftware.jsap.JSAPResult result)
           
static boolean ignoreHardResourceUtilizationLimits(com.martiansoftware.jsap.JSAPResult result)
           
static boolean ignoreSoftLogicUtilizationLimit(com.martiansoftware.jsap.JSAPResult result)
           
static boolean nmrC(com.martiansoftware.jsap.JSAPResult result)
           
static boolean nmrClk(com.martiansoftware.jsap.JSAPResult result)
           
static boolean nmrI(com.martiansoftware.jsap.JSAPResult result)
           
static boolean nmrInports(com.martiansoftware.jsap.JSAPResult result)
           
static boolean nmrOutports(com.martiansoftware.jsap.JSAPResult result)
           
static java.util.Collection<java.lang.String> nmrPorts(com.martiansoftware.jsap.JSAPResult result)
           
static boolean noNMRc(com.martiansoftware.jsap.JSAPResult result)
           
static boolean noNMRclk(com.martiansoftware.jsap.JSAPResult result)
           
static boolean noNMRFeedback(com.martiansoftware.jsap.JSAPResult result)
           
static boolean noNMRfeedbackOutput(com.martiansoftware.jsap.JSAPResult result)
           
static boolean noNMRfeedForward(com.martiansoftware.jsap.JSAPResult result)
           
static boolean noNMRi(com.martiansoftware.jsap.JSAPResult result)
           
static boolean noNMRinputToFeedback(com.martiansoftware.jsap.JSAPResult result)
           
static boolean noPartialNMR(com.martiansoftware.jsap.JSAPResult result)
           
static boolean overrideSelection(com.martiansoftware.jsap.JSAPResult result)
           
static boolean rpNMR(com.martiansoftware.jsap.JSAPResult result)
           
 
Methods inherited from class edu.byu.ece.edif.util.jsap.commandgroups.AbstractCommandGroup
addCommand, getCommands
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_oneTwoThree

protected static BoundedIntegerStringParser _oneTwoThree
Set := {1,2,3} Use for inputAdditionType, outputAdditionType, and SCCSortType.


_zeroToOneInclusive

protected static BoundedDoubleStringParser _zeroToOneInclusive
Range := [0,1] Use for mergeFactor, optimizationFactor, and inc.


FACTOR_TYPES

protected static java.lang.String FACTOR_TYPES
A String of the various Factor Types for an EnumeratedStringParser; initialized with a static initialization block.


CONTINUE_SELECTION

public static final java.lang.String CONTINUE_SELECTION
See Also:
Constant Field Values

OVERRIDE_SELECTION

public static final java.lang.String OVERRIDE_SELECTION
See Also:
Constant Field Values

DO_SCC_DECOMPOSITION

public static final java.lang.String DO_SCC_DECOMPOSITION
See Also:
Constant Field Values

FACTOR_TYPE

public static final java.lang.String FACTOR_TYPE
See Also:
Constant Field Values

FACTOR_VALUE

public static final java.lang.String FACTOR_VALUE
See Also:
Constant Field Values

IGNORE_HARD_UTILIZATION_LIMITS

public static final java.lang.String IGNORE_HARD_UTILIZATION_LIMITS
See Also:
Constant Field Values

IGNORE_SOFT_UTILIZATION_LIMIT

public static final java.lang.String IGNORE_SOFT_UTILIZATION_LIMIT
See Also:
Constant Field Values

FILE

public static final java.lang.String FILE
See Also:
Constant Field Values

HIGH

public static final java.lang.String HIGH
See Also:
Constant Field Values

INC

public static final java.lang.String INC
See Also:
Constant Field Values

INPUT_ADDITION_TYPE

public static final java.lang.String INPUT_ADDITION_TYPE
See Also:
Constant Field Values

LOG

public static final java.lang.String LOG
See Also:
Constant Field Values

MERGE_FACTOR

public static final java.lang.String MERGE_FACTOR
See Also:
Constant Field Values

NO_NMR_C

public static final java.lang.String NO_NMR_C
No NMR Cell type

See Also:
Constant Field Values

NO_NMR_FEEDBACK

public static final java.lang.String NO_NMR_FEEDBACK
See Also:
Constant Field Values

NO_NMR_FEEDBACK_OUTPUT

public static final java.lang.String NO_NMR_FEEDBACK_OUTPUT
See Also:
Constant Field Values

NO_NMR_FEED_FORWARD

public static final java.lang.String NO_NMR_FEED_FORWARD
See Also:
Constant Field Values

NO_NMR_I

public static final java.lang.String NO_NMR_I
No NMR cell instance

See Also:
Constant Field Values

NO_NMR_CLK

public static final java.lang.String NO_NMR_CLK
No NMR clock domain

See Also:
Constant Field Values

NO_NMR_INPUT_TO_FEEDBACK

public static final java.lang.String NO_NMR_INPUT_TO_FEEDBACK
See Also:
Constant Field Values

NO_NMR_P

public static final java.lang.String NO_NMR_P
No NMR port

See Also:
Constant Field Values

OPTIMIZATION_FACTOR

public static final java.lang.String OPTIMIZATION_FACTOR
See Also:
Constant Field Values

OUTPUT_ADDITION_TYPE

public static final java.lang.String OUTPUT_ADDITION_TYPE
See Also:
Constant Field Values

SCC_SORT_TYPE

public static final java.lang.String SCC_SORT_TYPE
See Also:
Constant Field Values

NMR_C

public static final java.lang.String NMR_C
Force NMR of cell type

See Also:
Constant Field Values

NMR_I

public static final java.lang.String NMR_I
Force NMR of cell instance

See Also:
Constant Field Values

NMR_CLK

public static final java.lang.String NMR_CLK
Force NMR of clock domain

See Also:
Constant Field Values

NMR_INPORTS

public static final java.lang.String NMR_INPORTS
See Also:
Constant Field Values

NMR_OUTPORTS

public static final java.lang.String NMR_OUTPORTS
See Also:
Constant Field Values

NMR_PORTS

public static final java.lang.String NMR_PORTS
See Also:
Constant Field Values

FULL_NMR

public static final java.lang.String FULL_NMR
See Also:
Constant Field Values

RP_NMR

public static final java.lang.String RP_NMR
See Also:
Constant Field Values

NO_PARTIAL_NMR

public static final java.lang.String NO_PARTIAL_NMR
See Also:
Constant Field Values

TRUE

public static final java.lang.String TRUE
See Also:
Constant Field Values

FALSE

public static final java.lang.String FALSE
See Also:
Constant Field Values

LIST_DELIMITER

public static final char LIST_DELIMITER
See Also:
Constant Field Values
Constructor Detail

JEdifNMRSelectionCommandGroup

public JEdifNMRSelectionCommandGroup()
TODO: Some of these options should be in more general command groups that are usable across multiple tools. We need to break these up and put them in a structure that makes sense.

Method Detail

continueSelection

public static boolean continueSelection(com.martiansoftware.jsap.JSAPResult result)

overrideSelection

public static boolean overrideSelection(com.martiansoftware.jsap.JSAPResult result)

getMergeFactor

public static double getMergeFactor(com.martiansoftware.jsap.JSAPResult result)

getOptimizationFactor

public static double getOptimizationFactor(com.martiansoftware.jsap.JSAPResult result)

getFactorValue

public static double getFactorValue(com.martiansoftware.jsap.JSAPResult result)

getNoNMRp

public static java.lang.String[] getNoNMRp(com.martiansoftware.jsap.JSAPResult result)

nmrInports

public static boolean nmrInports(com.martiansoftware.jsap.JSAPResult result)

nmrOutports

public static boolean nmrOutports(com.martiansoftware.jsap.JSAPResult result)

nmrPorts

public static java.util.Collection<java.lang.String> nmrPorts(com.martiansoftware.jsap.JSAPResult result)

noNMRi

public static boolean noNMRi(com.martiansoftware.jsap.JSAPResult result)

getNoNMRi

public static java.lang.String[] getNoNMRi(com.martiansoftware.jsap.JSAPResult result)

noNMRc

public static boolean noNMRc(com.martiansoftware.jsap.JSAPResult result)

getNoNMRc

public static java.lang.String[] getNoNMRc(com.martiansoftware.jsap.JSAPResult result)

noNMRclk

public static boolean noNMRclk(com.martiansoftware.jsap.JSAPResult result)

getNoNMRclk

public static java.lang.String[] getNoNMRclk(com.martiansoftware.jsap.JSAPResult result)

nmrI

public static boolean nmrI(com.martiansoftware.jsap.JSAPResult result)

getNMRi

public static java.lang.String[] getNMRi(com.martiansoftware.jsap.JSAPResult result)

nmrC

public static boolean nmrC(com.martiansoftware.jsap.JSAPResult result)

getNMRc

public static java.lang.String[] getNMRc(com.martiansoftware.jsap.JSAPResult result)

nmrClk

public static boolean nmrClk(com.martiansoftware.jsap.JSAPResult result)

getNMRclk

public static java.lang.String[] getNMRclk(com.martiansoftware.jsap.JSAPResult result)

fullNMR

public static boolean fullNMR(com.martiansoftware.jsap.JSAPResult result)

rpNMR

public static boolean rpNMR(com.martiansoftware.jsap.JSAPResult result)

getRpNMRPorts

public static java.lang.String[] getRpNMRPorts(com.martiansoftware.jsap.JSAPResult result)

noPartialNMR

public static boolean noPartialNMR(com.martiansoftware.jsap.JSAPResult result)

noNMRFeedback

public static boolean noNMRFeedback(com.martiansoftware.jsap.JSAPResult result)

doSCCDecomposition

public static boolean doSCCDecomposition(com.martiansoftware.jsap.JSAPResult result)

getSCCSortType

public static int getSCCSortType(com.martiansoftware.jsap.JSAPResult result)

noNMRinputToFeedback

public static boolean noNMRinputToFeedback(com.martiansoftware.jsap.JSAPResult result)

noNMRfeedForward

public static boolean noNMRfeedForward(com.martiansoftware.jsap.JSAPResult result)

noNMRfeedbackOutput

public static boolean noNMRfeedbackOutput(com.martiansoftware.jsap.JSAPResult result)

ignoreHardResourceUtilizationLimits

public static boolean ignoreHardResourceUtilizationLimits(com.martiansoftware.jsap.JSAPResult result)

ignoreSoftLogicUtilizationLimit

public static boolean ignoreSoftLogicUtilizationLimit(com.martiansoftware.jsap.JSAPResult result)

getInputAdditionType

public static int getInputAdditionType(com.martiansoftware.jsap.JSAPResult result)

getOutputAdditionType

public static int getOutputAdditionType(com.martiansoftware.jsap.JSAPResult result)

getFactorType

public static NMRUtilities.UtilizationFactor getFactorType(com.martiansoftware.jsap.JSAPResult result)
Determine what utilization factor type is being used for partial NMR.

Returns:
A UtilizationFactor (enum) object representing the factor type being used.
See Also:
NMRUtilities.UtilizationFactor