Logo SoCRocket

Transaction-Level Modeling Framework for Space Applications

Public Member Functions | Protected Attributes | List of all members
leon3_funclt_trap::TSUBcc_reg Class Reference

#include <instructions.hpp>

Inheritance diagram for leon3_funclt_trap::TSUBcc_reg:
Collaboration diagram for leon3_funclt_trap::TSUBcc_reg:

Public Member Functions

 TSUBcc_reg (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, MemoryInterface &instrMem, MemoryInterface &dataMem, PinTLM_out_32 &irqAck)
 
unsigned int behavior ()
 
Instructionreplicate () const throw ()
 
std::string getInstructionName () const throw ()
 Returns the instruction name. More...
 
unsigned int getId () const throw ()
 Gets the ID of the instruction as returned by the decoder. More...
 
void setParams (const unsigned int &bitString) throw ()
 
std::string getMnemonic () const throw ()
 
virtual ~TSUBcc_reg ()
 
- Public Member Functions inherited from leon3_funclt_trap::ICC_writeTSub_op
 ICC_writeTSub_op (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, MemoryInterface &instrMem, MemoryInterface &dataMem, PinTLM_out_32 &irqAck)
 
virtual ~ICC_writeTSub_op ()
 
- Public Member Functions inherited from leon3_funclt_trap::Instruction
 Instruction (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, MemoryInterface &instrMem, MemoryInterface &dataMem, PinTLM_out_32 &irqAck)
 
void annull ()
 
void flush ()
 
void stall (const unsigned int &numCycles)
 
bool IncrementRegWindow () throw ()
 
bool DecrementRegWindow () throw ()
 
int SignExtend (unsigned int bitSeq, unsigned int bitSeq_length) const throw ()
 
void RaiseException (unsigned int pcounter, unsigned int npcounter, unsigned int exceptionId, unsigned int customTrapOffset=0)
 
bool checkIncrementWin () const throw ()
 
bool checkDecrementWin () const throw ()
 
virtual ~Instruction ()
 
- Public Member Functions inherited from leon3_funclt_trap::WB_plain_op
 WB_plain_op (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, MemoryInterface &instrMem, MemoryInterface &dataMem, PinTLM_out_32 &irqAck)
 
virtual ~WB_plain_op ()
 

Protected Attributes

unsigned int result
 
bool temp_V
 
unsigned int rs1_op
 
unsigned int rs2_op
 
- Protected Attributes inherited from leon3_funclt_trap::Instruction
Reg32_0PSR
 
Reg32_1WIM
 
Reg32_2TBR
 
Reg32_3Y
 
Reg32_3PC
 
Reg32_3NPC
 
RegisterBankClassGLOBAL
 
Reg32_3WINREGS
 
Reg32_3ASR
 
AliasFP
 
AliasLR
 
AliasSP
 
AliasPCR
 
AliasREGS
 
MemoryInterfaceinstrMem
 
MemoryInterfacedataMem
 
PinTLM_out_32irqAck
 
const unsigned int NUM_REG_WIN
 
const bool PIPELINED_MULT
 

Additional Inherited Members

- Public Attributes inherited from leon3_funclt_trap::Instruction
unsigned int totalInstrCycles
 
- Protected Member Functions inherited from leon3_funclt_trap::ICC_writeTSub_op
void ICC_writeTSub (unsigned int &result, bool &temp_V, unsigned int &rs1_op, unsigned int &rs2_op) throw ()
 
- Protected Member Functions inherited from leon3_funclt_trap::Instruction
void IncrementPC () throw ()
 
- Protected Member Functions inherited from leon3_funclt_trap::WB_plain_op
void WB_plain (Alias &rd, unsigned int &rd_bit, unsigned int &result) throw ()
 

Constructor & Destructor Documentation

leon3_funclt_trap::TSUBcc_reg::TSUBcc_reg ( 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,
MemoryInterface instrMem,
MemoryInterface dataMem,
PinTLM_out_32 irqAck 
)
leon3_funclt_trap::TSUBcc_reg::~TSUBcc_reg ( )
virtual

Member Function Documentation

unsigned int leon3_funclt_trap::TSUBcc_reg::behavior ( )
virtual

Implements leon3_funclt_trap::Instruction.

References result.

unsigned int leon3_funclt_trap::TSUBcc_reg::getId ( ) const
throw (
)
virtual

Gets the ID of the instruction as returned by the decoder.

Implements leon3_funclt_trap::Instruction.

std::string leon3_funclt_trap::TSUBcc_reg::getInstructionName ( ) const
throw (
)
virtual

Returns the instruction name.

Implements leon3_funclt_trap::Instruction.

std::string leon3_funclt_trap::TSUBcc_reg::getMnemonic ( ) const
throw (
)
virtual

Returns the instruction mnemonic, so how the current instruction translated to assebmly code

Implements leon3_funclt_trap::Instruction.

Instruction * leon3_funclt_trap::TSUBcc_reg::replicate ( ) const
throw (
)
virtual

Implements leon3_funclt_trap::Instruction.

References Y.

void leon3_funclt_trap::TSUBcc_reg::setParams ( const unsigned int bitString)
throw (
)
virtual

Member Data Documentation

unsigned int leon3_funclt_trap::TSUBcc_reg::result
protected
unsigned int leon3_funclt_trap::TSUBcc_reg::rs1_op
protected
unsigned int leon3_funclt_trap::TSUBcc_reg::rs2_op
protected
bool leon3_funclt_trap::TSUBcc_reg::temp_V
protected

The documentation for this class was generated from the following files: