orca-sim
|
#include <GdbProcessorBase.hpp>
Public Member Functions | |
GdbProcessorBase (std::string name, MemoryAddr initial_pc, Memory *mem, std::string gdb_ip, int gdb_prt) | |
SimulationTime | Run () |
Run method from the base TimedModel class, overloaded. More... | |
GdbProcessorState< T > * | GetState () |
Memory * | GetMemory () |
This method returns a pointer to the object that models the memory core. More... | |
virtual void | Reset ()=0 |
Resets the instance to its starting state. More... | |
a name that identifies the model, advisably not empty. | |
Default ctor. | |
std::string | GetName () |
Getter method for the <_name> field. More... | |
void | SetName (std::string s) |
Setter method for the <_name> field. More... | |
Static Public Attributes | |
static uint32_t | GDBSERVER_PORT |
Private Attributes | |
RspServer< T > * | _gdbserver |
GdbProcessorState< T > * | _state |
Definition at line 49 of file GdbProcessorBase.hpp.
GdbProcessorBase::GdbProcessorBase | ( | std::string | name, |
MemoryAddr | initial_pc, | ||
Memory * | mem, | ||
std::string | gdb_ip, | ||
int | gdb_prt | ||
) |
Definition at line 37 of file GdbProcessorBase.cpp.
|
inlineinherited |
This method returns a pointer to the object that models the memory core.
It is made private to avoid being changed by the processor core implementation.
Definition at line 86 of file ProcessorBase.cpp.
|
inherited |
GdbProcessorState< T > * GdbProcessorBase::GetState | ( | ) |
Definition at line 55 of file GdbProcessorBase.cpp.
|
pure virtualinherited |
Resets the instance to its starting state.
Must be implemented by subclasses
Implemented in orcasim::models::orca::NetBridge, orcasim::models::orca::DmaNetif, and orcasim::models::hermes::HermesRouter.
|
virtual |
Run method from the base TimedModel class, overloaded.
We include in the overloading external components that would apply to all processors. Examples include energy estimation (through counters) and GDBRSP.
Implements orcasim::modeling::ProcessorBase< T >.
Definition at line 45 of file GdbProcessorBase.cpp.
|
inherited |
|
private |
Definition at line 51 of file GdbProcessorBase.hpp.
|
private |
Definition at line 52 of file GdbProcessorBase.hpp.
|
static |
Definition at line 55 of file GdbProcessorBase.hpp.