OpenASIP
2.0
|
#include <MemoryAccessingFUState.hh>
Public Member Functions | |
MemoryAccessingFUState (Memory &memory) | |
MemoryAccessingFUState (const TCEString &name, Memory &memory) | |
virtual | ~MemoryAccessingFUState () |
Public Member Functions inherited from FUState | |
FUState () | |
FUState (const TCEString &name) | |
virtual | ~FUState () |
void | setTriggered () |
void | setOperation (Operation &operation) |
void | setOperation (Operation &operation, OperationExecutor &executor) |
bool | isIdle () |
virtual void | endClock () |
virtual void | advanceClock () |
virtual void | addInputPortState (PortState &port) |
virtual void | addOutputPortState (PortState &port) |
virtual void | addOperationExecutor (OperationExecutor &opExec, Operation &op) |
virtual void | setOperationSimulator (DetailedOperationSimulator &sim) |
virtual void | replaceOperationExecutor (Operation &op, OperationExecutor *newExecutor) |
virtual OperationExecutor * | executor (Operation &op) |
virtual void | reset () |
this is called at (re)initialization of the simulation More... | |
Public Member Functions inherited from ClockedState | |
ClockedState () | |
virtual | ~ClockedState () |
Protected Member Functions | |
virtual OperationContext & | context () |
Private Member Functions | |
MemoryAccessingFUState (const MemoryAccessingFUState &) | |
Copying not allowed. More... | |
MemoryAccessingFUState & | operator= (const MemoryAccessingFUState &) |
Assignment not allowed. More... | |
Private Attributes | |
Memory & | memory_ |
Memory wrapper instance. More... | |
OperationContext | operationContext_ |
The operation context for this FU. More... | |
Additional Inherited Members | |
Protected Attributes inherited from FUState | |
bool | idle_ |
The idle status of the FU. The derived classes should alway set this to true when possible to avoid unnecessary advanceClock() and endClock() calls. More... | |
Models function unit that access memory.
Definition at line 44 of file MemoryAccessingFUState.hh.
MemoryAccessingFUState::MemoryAccessingFUState | ( | Memory & | memory | ) |
Constructor (no explicitly given FU name).
memory | Memory instance. |
MAUSize | Width of the minimum addressable unit. |
lock | Global lock signal. |
Definition at line 47 of file MemoryAccessingFUState.cc.
References memory_, operationContext_, and OperationContext::setMemory().
Constructor (with explicitly given FU name).
memory | Memory instance. |
MAUSize | Width of the minimum addressable unit. |
lock | Global lock signal. |
Definition at line 62 of file MemoryAccessingFUState.cc.
References memory_, operationContext_, and OperationContext::setMemory().
|
virtual |
|
private |
Copying not allowed.
|
protectedvirtual |
Returns the operation context.
This is basically a "template method" to allow differently initialized OperationContext-classes in FUState subclasses.
Reimplemented from FUState.
Definition at line 85 of file MemoryAccessingFUState.cc.
References operationContext_.
|
private |
Assignment not allowed.
|
private |
Memory wrapper instance.
Definition at line 60 of file MemoryAccessingFUState.hh.
Referenced by MemoryAccessingFUState().
|
private |
The operation context for this FU.
Definition at line 63 of file MemoryAccessingFUState.hh.
Referenced by context(), and MemoryAccessingFUState().