64 TracePrinter(etiss::uint32 terminateAddr,
bool printOnScreen =
false,
char terminateHit = 1)
64 TracePrinter(etiss::uint32 terminateAddr,
bool printOnScreen =
false,
char terminateHit = 1) {
…}
84 return etiss::RETURNCODE::CPUTERMINATED;
87 return etiss::RETURNCODE::NOERROR;
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.
basic cpu state structure needed for execution of any cpu architecture.
etiss_uint64 instructionPointer
pointer to next instruction.
memory access and time synchronization functions.