Class TemplateGenerator


  • public final class TemplateGenerator
    extends java.lang.Object
    The TemplateGenerator class automatically creates a set of templates for a model of microprocessor.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean generate​(Options options, java.lang.String modelName)
      Generates a set of templates for a model of microprocessor.
      static java.util.Set<java.lang.String> getIgnoredInstructions​(Options options)
      Generates a set of templates for a model of microprocessor.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TemplateGenerator

        public TemplateGenerator()
    • Method Detail

      • generate

        public static boolean generate​(Options options,
                                       java.lang.String modelName)
        Generates a set of templates for a model of microprocessor.
        Parameters:
        options - the generation settings.
        modelName - the microprocessor model name.
        Returns:
        result of generation: true if success and false if failed.
      • getIgnoredInstructions

        public static java.util.Set<java.lang.String> getIgnoredInstructions​(Options options)
        Generates a set of templates for a model of microprocessor.
        Parameters:
        options - the generation settings.
        Returns:
        the set of instructions to ignore.