OpenASIP
2.0
|
#include <DetailedOperationSimulator.hh>
Public Member Functions | |
virtual | ~DetailedOperationSimulator () |
virtual bool | simulateStage (ExecutingOperation &operation)=0 |
virtual void | simulateCycleStart () |
Interface to allow modeling cycle-by-cycle operation simulation behaviors.
Used by MultiCycleOperationExecutor and the SystemC integration layer (tce_systemc.hh).
Definition at line 49 of file DetailedOperationSimulator.hh.
|
inlinevirtual |
Definition at line 52 of file DetailedOperationSimulator.hh.
|
inlinevirtual |
This is called once at the beginning of the TTA instruction cycle before any simulateStage() calls for that cycle.
Useful for initializing signals to their default values etc.
Definition at line 77 of file DetailedOperationSimulator.hh.
Referenced by FUState::advanceClock().
|
pure virtual |
Simulate a single stage in the operation's execution.
This can be used in more detailed simulation models (SystemC at the moment) to more accurately simulate each stage of operation's execution.
operation | The operation being simulated. |
cycle | The stage/cycle to simulate, 0 being the trigger cycle. |
Referenced by MultiLatencyOperationExecutor::advanceClock().