Logo SoCRocket

Transaction-Level Modeling Framework for Space Applications

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

#include <instructions.hpp>

Inheritance diagram for leon3_funclt_trap::ICC_writeAdd_op:
Collaboration diagram for leon3_funclt_trap::ICC_writeAdd_op:

Public Member Functions

 ICC_writeAdd_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_writeAdd_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)
 
virtual unsigned int behavior ()=0
 
virtual Instruction * replicate () const =0 throw ()
 
virtual void setParams (const unsigned int &bitString)=0 throw ()
 
virtual std::string getInstructionName () const =0 throw ()
 Returns the instruction name. More...
 
virtual std::string getMnemonic () const =0 throw ()
 
virtual unsigned int getId () const =0 throw ()
 Gets the ID of the instruction as returned by the decoder. More...
 
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 ()
 

Protected Member Functions

void ICC_writeAdd (unsigned int &result, unsigned int &rs1_op, unsigned int &rs2_op) throw ()
 
- Protected Member Functions inherited from leon3_funclt_trap::Instruction
void IncrementPC () throw ()
 

Additional Inherited Members

- Public Attributes inherited from leon3_funclt_trap::Instruction
unsigned int totalInstrCycles
 
- Protected Attributes inherited from leon3_funclt_trap::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
 
const unsigned int NUM_REG_WIN
 
const bool PIPELINED_MULT
 

Constructor & Destructor Documentation

leon3_funclt_trap::ICC_writeAdd_op::ICC_writeAdd_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 
)
leon3_funclt_trap::ICC_writeAdd_op::~ICC_writeAdd_op ( )
virtual

Member Function Documentation

void leon3_funclt_trap::ICC_writeAdd_op::ICC_writeAdd ( unsigned int &  result,
unsigned int &  rs1_op,
unsigned int &  rs2_op 
)
throw (
)
inlineprotected

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