Transaction-Level Modeling Framework for Space Applications
#include <GDBStub.hpp>
Public Member Functions | |
SC_HAS_PROCESS (GDBStub) | |
GDBStub (ABIIf< issueWidth > &processorInstance) | |
void | pauseMethod () |
Method used to pause simulation. More... | |
void | end_of_simulation () |
void | initialize (unsigned int port=1500) |
Starts the connection with the GDB client. More... | |
bool | newIssue (const issueWidth &curPC, const InstructionBase *curInstr) throw () |
Method called at every cycle from the processor's main loop. More... | |
bool | emptyPipeline (const issueWidth &curPC) const throw () |
void | notifyAddress (issueWidth address, unsigned int size) throw () |
Method called whenever a particular address is written into memory. More... | |
Public Member Functions inherited from trap::ToolsIf< issueWidth > | |
virtual | ~ToolsIf () |
Public Member Functions inherited from trap::MemoryToolsIf< issueWidth > | |
virtual | ~MemoryToolsIf () |
Public Attributes | |
bool | simulationPaused |
|
inline |
|
inlinevirtual |
The debugger needs the pipeline to be empty only in case it is going to be stopped because, for exmple, we hitted a breakpoint or we are in step mode
Implements trap::ToolsIf< issueWidth >.
|
inline |
Overloading of the end_of_simulation method; it can be used to execute methods at the end of the simulation
|
inline |
Starts the connection with the GDB client.
Referenced by sc_main().
|
inlinevirtual |
Method called at every cycle from the processor's main loop.
Implements trap::ToolsIf< issueWidth >.
|
inlinevirtual |
Method called whenever a particular address is written into memory.
Implements trap::MemoryToolsIf< issueWidth >.
Referenced by trap::GDBStub< unsigned int >::notifyAddress().
|
inline |
Method used to pause simulation.
Referenced by trap::GDBStub< unsigned int >::GDBStub().
trap::GDBStub< issueWidth >::SC_HAS_PROCESS | ( | GDBStub< issueWidth > | ) |
bool trap::GDBStub< issueWidth >::simulationPaused |
Referenced by stopSimFunction().