Class TemplateGenerator
- java.lang.Object
-
- ru.ispras.microtesk.tools.templgen.TemplateGenerator
-
public final class TemplateGenerator extends java.lang.Object
TheTemplateGenerator
class automatically creates a set of templates for a model of microprocessor.
-
-
Constructor Summary
Constructors Constructor Description TemplateGenerator()
-
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.
-
-
-
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 andfalse
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.
-
-