m2isar.backends.etiss.instruction_writer

Actual text output functions for functions and instructions.

Attributes

logger

Functions

write_functions(core, start_time, output_path, ...)

Generate and write the {CoreName}Funcs.h file for ETISS.

write_instructions(core, start_time, output_path, ...)

Generate and write the instruction model C++ files for ETISS.

Module Contents

logger[source]
write_functions(core: m2isar.metamodel.arch.CoreDef, start_time: str, output_path: pathlib.Path, static_scalars: bool, generate_coverage: bool)[source]

Generate and write the {CoreName}Funcs.h file for ETISS.

write_instructions(core: m2isar.metamodel.arch.CoreDef, start_time: str, output_path: pathlib.Path, separate: bool, static_scalars: bool, block_end_on: m2isar.backends.etiss.BlockEndType, generate_coverage: bool)[source]

Generate and write the instruction model C++ files for ETISS.