Package edu.byu.ece.rapidSmith.bitstreamTools.examples.support

Examples of edu.byu.ece.rapidSmith.bitstreamTools.examples.support.BitstreamOptionParser.accepts()


      "Perform clear operation with operational bitfile");
    cmdLineParser.accepts(AND_STRING,
      "Perform and operation with operational bitfile");
    cmdLineParser.accepts(NOT_STRING,
      "Perform not operation with operational bitfile");
    cmdLineParser.accepts(OR_STRING,
      "Perform or operation with operational bitfile");
    cmdLineParser.accepts("r","Name of operational bitfile").withRequiredArg().ofType(String.class);
    cmdLineParser.accepts(NEW_ALGORITHM, "Use new algorithms for bit manipulation");
    cmdLineParser.accepts(APPEND_OPTION_STRING, APPEND_OPTION_STRING_HELP);
   
View Full Code Here


      "Perform and operation with operational bitfile");
    cmdLineParser.accepts(NOT_STRING,
      "Perform not operation with operational bitfile");
    cmdLineParser.accepts(OR_STRING,
      "Perform or operation with operational bitfile");
    cmdLineParser.accepts("r","Name of operational bitfile").withRequiredArg().ofType(String.class);
    cmdLineParser.accepts(NEW_ALGORITHM, "Use new algorithms for bit manipulation");
    cmdLineParser.accepts(APPEND_OPTION_STRING, APPEND_OPTION_STRING_HELP);
   
    // Parse arguments
    OptionSet options = cmdLineParser.parseArgumentsExitOnError(args);
View Full Code Here

    cmdLineParser.accepts(NOT_STRING,
      "Perform not operation with operational bitfile");
    cmdLineParser.accepts(OR_STRING,
      "Perform or operation with operational bitfile");
    cmdLineParser.accepts("r","Name of operational bitfile").withRequiredArg().ofType(String.class);
    cmdLineParser.accepts(NEW_ALGORITHM, "Use new algorithms for bit manipulation");
    cmdLineParser.accepts(APPEND_OPTION_STRING, APPEND_OPTION_STRING_HELP);
   
    // Parse arguments
    OptionSet options = cmdLineParser.parseArgumentsExitOnError(args);
    // Print executable header
View Full Code Here

      "Perform not operation with operational bitfile");
    cmdLineParser.accepts(OR_STRING,
      "Perform or operation with operational bitfile");
    cmdLineParser.accepts("r","Name of operational bitfile").withRequiredArg().ofType(String.class);
    cmdLineParser.accepts(NEW_ALGORITHM, "Use new algorithms for bit manipulation");
    cmdLineParser.accepts(APPEND_OPTION_STRING, APPEND_OPTION_STRING_HELP);
   
    // Parse arguments
    OptionSet options = cmdLineParser.parseArgumentsExitOnError(args);
    // Print executable header
    BitstreamOptionParser.printExecutableHeaderMessage(BitstreamManipulation.class);
View Full Code Here

    /** Setup parser **/
    BitstreamOptionParser cmdLineParser = new BitstreamOptionParser();
    cmdLineParser.addInputBitstreamOption();
    cmdLineParser.addPartNameOption();
    cmdLineParser.addHelpOption();
    cmdLineParser.accepts(PRINT_ALL_FRAMES, "Prints all frames");
   
    OptionSet options = cmdLineParser.parseArgumentsExitOnError(args);

    cmdLineParser.checkHelpOptionExitOnHelpMessage(options);

View Full Code Here

    // Options for input bitstream or readback file
    cmdLineParser.addInputBitstreamOption();
    cmdLineParser.addRawReadbackInputOption();
    cmdLineParser.addPartNameOption();
   
    cmdLineParser.accepts(COMPARE_BITSTREAM_OPTION, COMPARE_BITSTREAM_OPTION_HELP).withRequiredArg().ofType(String.class);   
    cmdLineParser.accepts(COMPARE_READBACK_OPTION,
        COMPARE_READBACK_OPTION_HELP).withRequiredArg().ofType(String.class);;
    cmdLineParser.accepts(MASK_BITSTREAM_OPTION,
        MASK_BITSTREAM_OPTION_HELP);
View Full Code Here

    cmdLineParser.addInputBitstreamOption();
    cmdLineParser.addRawReadbackInputOption();
    cmdLineParser.addPartNameOption();
   
    cmdLineParser.accepts(COMPARE_BITSTREAM_OPTION, COMPARE_BITSTREAM_OPTION_HELP).withRequiredArg().ofType(String.class);   
    cmdLineParser.accepts(COMPARE_READBACK_OPTION,
        COMPARE_READBACK_OPTION_HELP).withRequiredArg().ofType(String.class);;
    cmdLineParser.accepts(MASK_BITSTREAM_OPTION,
        MASK_BITSTREAM_OPTION_HELP);

    cmdLineParser.addHelpOption();
View Full Code Here

    cmdLineParser.addPartNameOption();
   
    cmdLineParser.accepts(COMPARE_BITSTREAM_OPTION, COMPARE_BITSTREAM_OPTION_HELP).withRequiredArg().ofType(String.class);   
    cmdLineParser.accepts(COMPARE_READBACK_OPTION,
        COMPARE_READBACK_OPTION_HELP).withRequiredArg().ofType(String.class);;
    cmdLineParser.accepts(MASK_BITSTREAM_OPTION,
        MASK_BITSTREAM_OPTION_HELP);

    cmdLineParser.addHelpOption();
    cmdLineParser.accepts(IGNORE_UNCONFIGURED_FRAMES_OPTION,
        IGNORE_UNCONFIGURED_FRAMES_OPTION_HELP);
View Full Code Here

        COMPARE_READBACK_OPTION_HELP).withRequiredArg().ofType(String.class);;
    cmdLineParser.accepts(MASK_BITSTREAM_OPTION,
        MASK_BITSTREAM_OPTION_HELP);

    cmdLineParser.addHelpOption();
    cmdLineParser.accepts(IGNORE_UNCONFIGURED_FRAMES_OPTION,
        IGNORE_UNCONFIGURED_FRAMES_OPTION_HELP);
    cmdLineParser.accepts(SILENT_MODE_OPTION,
        SILENT_MODE_OPTION_HELP);
    cmdLineParser.accepts(PRINT_DATA_OPTION,
        PRINT_DATA_OPTION_HELP);
View Full Code Here

        MASK_BITSTREAM_OPTION_HELP);

    cmdLineParser.addHelpOption();
    cmdLineParser.accepts(IGNORE_UNCONFIGURED_FRAMES_OPTION,
        IGNORE_UNCONFIGURED_FRAMES_OPTION_HELP);
    cmdLineParser.accepts(SILENT_MODE_OPTION,
        SILENT_MODE_OPTION_HELP);
    cmdLineParser.accepts(PRINT_DATA_OPTION,
        PRINT_DATA_OPTION_HELP);

    OptionSet options = cmdLineParser.parseArgumentsExitOnError(args);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.