Go to the documentation of this file.
53 int instructionAddressIncrement) :
54 naturalWordWidth_(nww), returnAddressRegister_(64),
56 branchDelayCycles_(cuDelaySlots),
58 NULL, programCounter_, returnAddressRegister_,
60 instructionAddressIncrement_(instructionAddressIncrement) {
SimValue returnAddressRegister_
The return address register.
bool operationPending_
If this this is true, there's a control flow operation pending.
OperationContext operationContext_
The operation context for this FU.
InstructionAddress programCounter_
Program counter.
virtual void reset()
this is called at (re)initialization of the simulation
InstructionAddress newProgramCounter_
In case an control flow operation is pending, this variable contains the program counter value that s...
virtual void advanceClock()
int operationPendingTime_
This indicates how many cycles the operation has been pending, when this reaches the latency,...
GCUState(int latency, int nww, int cuDelaySlots, int instructionAddressIncrement=1)
bool idle_
The idle status of the FU. The derived classes should alway set this to true when possible to avoid u...
virtual OperationContext & context()