84 return etiss::RETURNCODE::CPUTERMINATED;
118 std::ofstream outPcTrace;
119 outPcTrace.open(
"Trace.log");
Header file of the ETISS library.
A simple logger dedicated to print PC trace.
void cleanup()
this function is called after cpu execution loop (etiss::CPUCore::execute) finished.
etiss::int32 execute()
called before a block and may act in the same way as a block
void init(ETISS_CPU *cpu, ETISS_System *system, etiss::CPUArch *arch)
this function is called before the plugin is used in the cpu execution loop (etiss::CPUCore::execute)...
std::stringstream pcTrace_
const etiss::uint32 terminateAddr_
std::string _getPluginName() const
TracePrinter(etiss::uint32 terminateAddr, bool printOnScreen=false, char terminateHit=1)
the interface to translate instructions of and processor architecture
this plugin will be called before a block is executed.
MM_EXPORT const int32_t NOERROR
basic cpu state structure needed for execution of any cpu architecture.
etiss_uint64 instructionPointer
pointer to next instruction.
memory access and time synchronization functions.