22 #ifndef OTAWA_SIM_STATE_H
23 #define OTAWA_SIM_STATE_H
44 virtual void stop(
void) = 0;
45 virtual void flush(
void) = 0;
46 virtual int cycle(
void) = 0;
47 virtual void reset(
void) = 0;
virtual void run(Driver &driver)=0
Run the simulator with the given driver.
virtual ~State(void)
Definition: sim_State.cpp:39
virtual void flush(void)=0
Run the simulator, preventing the instruction fetch, until the pipeline is empty. ...
virtual void reset(void)=0
Reset the cycle counter.
This class is used to drive a simulator.
Definition: Driver.h:23
A process is the realization of a program on a platform.
Definition: Process.h:136
virtual Process * process(void)=0
Get the process where the simulator is running in.
virtual State * clone(void)=0
Build a copy of the current simulation state.
virtual int cycle(void)=0
Return the number of running cycles.
This a list of properties.
Definition: PropList.h:63
This class represents a running simulator.
Definition: State.h:38
virtual void stop(void)=0
Stop the simulator at the end of the current cycle.