Exemple #1
0
class RtlCmdLineOptions(object):

    cGroupName = "RTL related options"
    cGroupDescription = "Useful RTL options to control RTL usage"

    #          "number of value arguments"
    #    "option name"               | "additional arguments"
    #          |    "default value"  |    |                     "help text"
    #          |           |         |    |                        |
    cOptions = [
        CommandLineOption(
            "rtl",
            "",
            0,
            {"action": "store_true"},
            "- When present, adds rtl simulation to the work flow",
        ),
        CommandLineOption(
            "rtl.report.skip",
            False,
            0,
            {"action": "store_true"},
            "- When present, prevents a report from being sent to the "
            "triage database",
        ),
        CommandLineOption(
            "rtl.report.name",
            "master_run",
            1,
            {},
            "- When present, overwrites the default report name with the "
            "users choice",
        ),
        CommandLineOption(
            "rtl.report.xml",
            False,
            0,
            {"action": "store_true"},
            "- When present, dumps the report to an xml file rather than "
            "uploading it",
        ),
        AppPathCmdLineOption(
            "root",
            "",
            1,
            None,
            "- Specify RTL root.  When present, overrides the default RTL "
            'path specified in "PROJ_ROOT" environmental variable.',
            None,
            "PROJ_ROOT",
        ),
    ]
Exemple #2
0
class CompileCmdLineOptions(object):

    cGroupName = 'Compile related options'
    cGroupDescription = 'Useful Compile options to control Compile usage'

    #                         'option name'            'number of value arguments'                                'help text'
    #                               |         'default value'     | 'additional arguments'                             |
    #                               |                |            |           |                                        |
    cOptions = [
        CommandLineOption(
            aName='compile',
            aDefault='',
            aNumArgs=0,
            aAdditionalArgs={'action': 'store_true'},
            aHelpText=
            '- When present, overrides the default (False) and enables compiling'
        ),
        CommandLineOption(
            aName='compile.path',
            aDefault='$PROJ_ROOT/verif/top/sim',
            aNumArgs=1,
            aAdditionalArgs={},
            aHelpText=
            '- When present, overrides the default path ($PROJ_ROOT/verif/top/sim'
        ),
        CommandLineOption(
            aName='compile.options',
            aDefault='',
            aNumArgs=1,
            aAdditionalArgs={'type': str},
            aHelpText=
            '- When present, adds the specified option string for compilation'
        ),
        CommandLineOption(
            aName='compile.mp',
            aDefault='',
            aNumArgs=0,
            aAdditionalArgs={'action': 'store_true'},
            aHelpText=
            '- When present, overrides the default (False) and triggers mp specific before and after processes'
        ),
    ]
Exemple #3
0
class CompileCmdLineOptions(object):
    cGroupName = "Compile related options"
    cGroupDescription = "Useful Compile options to control Compile usage"

    cOptions = [
        CommandLineOption(
            aName="compile",
            aDefault="",
            aNumArgs=0,
            aAdditionalArgs={"action": "store_true"},
            aHelpText="- When present, overrides the default (False) and "
            "enables compiling",
        ),
        CommandLineOption(
            aName="compile.path",
            aDefault="$PROJ_ROOT/verif/top/sim",
            aNumArgs=1,
            aAdditionalArgs={},
            aHelpText="- When present, overrides the default path "
            "($PROJ_ROOT/verif/top/sim",
        ),
        CommandLineOption(
            aName="compile.options",
            aDefault="",
            aNumArgs=1,
            aAdditionalArgs={"type": str},
            aHelpText="- When present, adds the specified option string "
            "for compilation",
        ),
        CommandLineOption(
            aName="compile.mp",
            aDefault="",
            aNumArgs=0,
            aAdditionalArgs={"action": "store_true"},
            aHelpText="- When present, overrides the default (False) and "
            "triggers mp specific before and after processes",
        ),
    ]
Exemple #4
0
class FrunToCtrlCmdLineOptions(object):

    cGroupName = "Frun to ctrl related options"
    cGroupDescription = "Useful FRUN_TO_CTRL options to control FRUN_TO_CTRL usage"

    #                               "number of value arguments"
    #                         "option name"               | "additional arguments"
    #                               |    "default value"  |    |   "help text"
    #                               |              |      |    |       |
    cOptions = [
        CommandLineOption(
            'frun-to-ctrl', "", 0, {"action": "store_true"},
            "- When present, overrides the default (False), and enables conversion from the frun file to an additional control file\non tests that have an frun file"
        ),
    ]