#include <TCEDBGController.hh>
|
| TCEDBGController (SimulatorFrontend &frontend, const TTAMachine::Machine &machine, const TTAProgram::Program &program) |
|
virtual void | writeMem (Word address, MAU data, const AddressSpace &) |
|
virtual MAU | readMem (Word address, const AddressSpace &) |
|
virtual void | writeIMem (const char *data, int size) |
|
virtual void | step (double count=1) |
|
virtual void | next (int count=1) |
|
virtual void | run () |
|
virtual void | runUntil (UIntWord address) |
|
virtual void | reset () |
|
virtual std::string | registerFileValue (const std::string &rfName, int registerIndex=-1) |
|
virtual SimValue | immediateUnitRegisterValue (const std::string &iuName, int index=-1) |
|
virtual SimValue | FUPortValue (const std::string &fuName, const std::string &portName) |
|
virtual InstructionAddress | programCounter () const |
|
| RemoteController (SimulatorFrontend &frontend, const TTAMachine::Machine &machine, const TTAProgram::Program &program) |
|
virtual void | loadIMemImage () |
|
| TTASimulationController (SimulatorFrontend &frontend, const TTAMachine::Machine &machine, const TTAProgram::Program &program) |
|
virtual | ~TTASimulationController () |
|
virtual void | prepareToStop (StopReason reason) |
|
virtual unsigned int | stopReasonCount () const |
|
virtual StopReason | stopReason (unsigned int index) const |
|
virtual SimulationStatus | state () const |
|
virtual InstructionAddress | lastExecutedInstruction (int coreId=-1) const |
|
virtual ClockCycleCount | clockCount () const |
|
virtual MemorySystem & | memorySystem (int coreId=-1) |
|
virtual SimulatorFrontend & | frontend () |
|
virtual bool | automaticFinishImpossible () const |
|
virtual std::set< InstructionAddress > | findProgramExitPoints (const TTAProgram::Program &program, const TTAMachine::Machine &machine) const |
|
Definition at line 37 of file TCEDBGController.hh.
◆ MAU
◆ TCEDBGController()
◆ FUPortValue()
SimValue TCEDBGController::FUPortValue |
( |
const std::string & |
fuName, |
|
|
const std::string & |
portName |
|
) |
| |
|
virtual |
◆ immediateUnitRegisterValue()
SimValue TCEDBGController::immediateUnitRegisterValue |
( |
const std::string & |
iuName, |
|
|
int |
index = -1 |
|
) |
| |
|
virtual |
◆ next()
void TCEDBGController::next |
( |
int |
count = 1 | ) |
|
|
virtual |
◆ programCounter()
◆ readMem()
Read data from physical memory.
- Parameters
-
address | TTA's view of the memory address from which to read @space the address space from which to read the data. |
- Returns
- one MAU of data to write. (TODO: is return value masked or not?)
Implements RemoteController.
Definition at line 52 of file TCEDBGController.cc.
◆ registerFileValue()
std::string TCEDBGController::registerFileValue |
( |
const std::string & |
rfName, |
|
|
int |
registerIndex = -1 |
|
) |
| |
|
virtual |
◆ reset()
void TCEDBGController::reset |
( |
| ) |
|
|
virtual |
◆ run()
void TCEDBGController::run |
( |
| ) |
|
|
virtual |
◆ runUntil()
void TCEDBGController::runUntil |
( |
UIntWord |
address | ) |
|
|
virtual |
◆ step()
void TCEDBGController::step |
( |
double |
count = 1 | ) |
|
|
virtual |
◆ writeIMem()
void TCEDBGController::writeIMem |
( |
const char * |
data, |
|
|
int |
size |
|
) |
| |
|
virtual |
Write to phyical instruction memory.
- Parameters
-
address | TTA's view of the memory address to which to write @data buffer of raw data to write to instruction memory @size the size of the data buffer, in bytes |
Implements RemoteController.
Definition at line 59 of file TCEDBGController.cc.
◆ writeMem()
void TCEDBGController::writeMem |
( |
Word |
address, |
|
|
MAU |
data, |
|
|
const AddressSpace & |
|
|
) |
| |
|
virtual |
Write data to physical memory.
- Parameters
-
address | TTA's view of the memory address to which to write @data one MAU of data to write. Needs to be masked, if MAU is less than maximum MAU size. @space the address space in which to write the data. |
Implements RemoteController.
Definition at line 45 of file TCEDBGController.cc.
The documentation for this class was generated from the following files: