Transaction-Level Modeling Framework for Space Applications
#include <interface.hpp>
Public Member Functions | |
LEON3_ABIIf (unsigned int &PROGRAM_LIMIT, MemoryInterface &dataMem, Reg32_0 &PSR, Reg32_1 &WIM, Reg32_2 &TBR, Reg32_3 &Y, Reg32_3 &PC, Reg32_3 &NPC, RegisterBankClass &GLOBAL, Reg32_3 *WINREGS, Reg32_3 *ASR, Alias &FP, Alias &LR, Alias &SP, Alias &PCR, Alias *REGS, bool &instrExecuting, sc_event &instrEndEvent) | |
bool | isLittleEndian () const throw () |
int | getProcessorID () const throw () |
bool | isInstrExecuting () const throw () |
void | waitInstrEnd () const throw () |
void | preCall () throw () |
void | postCall () throw () |
void | returnFromCall () throw () |
bool | isRoutineEntry (const InstructionBase *instr) throw () |
bool | isRoutineExit (const InstructionBase *instr) throw () |
unsigned char * | getState () const throw () |
void | setState (unsigned char *state) throw () |
void | setExitValue (unsigned int value) throw () |
unsigned int | getExitValue () throw () |
unsigned int | getCodeLimit () |
unsigned int | readLR () const throw () |
void | setLR (const unsigned int &newValue) throw () |
unsigned int | readPC () const throw () |
void | setPC (const unsigned int &newValue) throw () |
unsigned int | readSP () const throw () |
void | setSP (const unsigned int &newValue) throw () |
unsigned int | readFP () const throw () |
void | setFP (const unsigned int &newValue) throw () |
unsigned int | readRetVal () const throw () |
void | setRetVal (const unsigned int &newValue) throw () |
std::vector< unsigned int > | readArgs () const throw () |
void | setArgs (const std::vector< unsigned int > &args) throw () |
unsigned int | readGDBReg (const unsigned int &gdbId) const throw () |
unsigned int | nGDBRegs () const throw () |
void | setGDBReg (const unsigned int &newValue, const unsigned int &gdbId) throw () |
unsigned int | readMem (const unsigned int &address) |
unsigned char | readCharMem (const unsigned int &address) |
void | writeMem (const unsigned int &address, unsigned int datum) |
void | writeCharMem (const unsigned int &address, unsigned char datum) |
virtual | ~LEON3_ABIIf () |
Public Member Functions inherited from trap::ABIIf< unsigned int > | |
bool | matchEndian () const throw () |
virtual | ~ABIIf () |
leon3_funclt_trap::LEON3_ABIIf::LEON3_ABIIf | ( | unsigned int & | PROGRAM_LIMIT, |
MemoryInterface & | dataMem, | ||
Reg32_0 & | PSR, | ||
Reg32_1 & | WIM, | ||
Reg32_2 & | TBR, | ||
Reg32_3 & | Y, | ||
Reg32_3 & | PC, | ||
Reg32_3 & | NPC, | ||
RegisterBankClass & | GLOBAL, | ||
Reg32_3 * | WINREGS, | ||
Reg32_3 * | ASR, | ||
Alias & | FP, | ||
Alias & | LR, | ||
Alias & | SP, | ||
Alias & | PCR, | ||
Alias * | REGS, | ||
bool & | instrExecuting, | ||
sc_event & | instrEndEvent | ||
) |
|
virtual |
|
virtual |
Implements trap::ABIIf< unsigned int >.
|
virtual |
|
virtual |
Reimplemented from trap::ABIIf< unsigned int >.
|
virtual |
Implements trap::ABIIf< unsigned int >.
References Y.
|
virtual |
Implements trap::ABIIf< unsigned int >.
|
virtual |
Implements trap::ABIIf< unsigned int >.
|
virtual |
Implements trap::ABIIf< unsigned int >.
|
virtual |
Implements trap::ABIIf< unsigned int >.
|
virtual |
Implements trap::ABIIf< unsigned int >.
|
virtual |
Reimplemented from trap::ABIIf< unsigned int >.
|
virtual |
Reimplemented from trap::ABIIf< unsigned int >.
|
virtual |
Implements trap::ABIIf< unsigned int >.
References usi.shell::args().
Implements trap::ABIIf< unsigned int >.
|
virtual |
Reimplemented from trap::ABIIf< unsigned int >.
|
virtual |
Implements trap::ABIIf< unsigned int >.
References Y.
|
virtual |
Reimplemented from trap::ABIIf< unsigned int >.
Implements trap::ABIIf< unsigned int >.
|
virtual |
Implements trap::ABIIf< unsigned int >.
|
virtual |
Implements trap::ABIIf< unsigned int >.
|
virtual |
Reimplemented from trap::ABIIf< unsigned int >.
|
virtual |
Reimplemented from trap::ABIIf< unsigned int >.
|
virtual |
Implements trap::ABIIf< unsigned int >.
References usi.shell::args(), and THROW_EXCEPTION.
|
virtual |
Implements trap::ABIIf< unsigned int >.
References exitValue.
Reimplemented from trap::ABIIf< unsigned int >.
|
virtual |
Implements trap::ABIIf< unsigned int >.
References THROW_EXCEPTION, and Y.
Reimplemented from trap::ABIIf< unsigned int >.
Implements trap::ABIIf< unsigned int >.
Implements trap::ABIIf< unsigned int >.
Reimplemented from trap::ABIIf< unsigned int >.
|
virtual |
Implements trap::ABIIf< unsigned int >.
References Y.
|
virtual |
Implements trap::ABIIf< unsigned int >.
References pysc::api::systemc::wait().
|
virtual |
Implements trap::ABIIf< unsigned int >.
|
virtual |
Implements trap::ABIIf< unsigned int >.