Provides the interface to the SystemC kernel. More...
#include <simulation.h>
Public Member Functions | |
Simulation (ConfObjectRef o, InternalInterface *internal) | |
virtual | ~Simulation () |
virtual void | run () |
virtual void | stop () |
virtual void | switch_in () |
virtual void | switch_out () |
virtual uint64 | set_delta (conf_object_t *NOTNULL event_handler_obj, const event_class_t *next_event_ec, uint64 delta) |
virtual uint64 | get_delta (conf_object_t *NOTNULL event_handler_obj) |
virtual double | get () const |
virtual std::vector< conf_object_t * > | serialized_memory_group (unsigned group_index) |
virtual std::vector< conf_object_t * > | execution_group (unsigned group_index) |
virtual concurrency_mode_t | supported_modes () |
virtual concurrency_mode_t | current_mode () |
virtual void | switch_mode (concurrency_mode_t mode) |
virtual void | message_pending () |
virtual void | yield_request () |
int | runDeltaPhase (int count) |
bool | runSimulation (sc_core::sc_time t) |
void | stopSimulation () |
sc_core::sc_simcontext * | context () const |
ConfObjectRef | simics_object () const |
void | set_run_next_delta (const int &count) |
Public Member Functions inherited from simics::systemc::iface::SimulationInterface | |
virtual | ~SimulationInterface () |
virtual int | runDeltaPhase (int count)=0 |
virtual bool | runSimulation (sc_core::sc_time t)=0 |
virtual void | stopSimulation ()=0 |
virtual sc_core::sc_simcontext * | context () const =0 |
virtual ConfObjectRef | simics_object () const =0 |
Public Member Functions inherited from simics::systemc::iface::EventDeltaInterface | |
virtual | ~EventDeltaInterface () |
virtual uint64 | set_delta (conf_object_t *NOTNULL event_handler_obj, const event_class_t *next_event_ec, uint64 delta)=0 |
virtual uint64 | get_delta (conf_object_t *NOTNULL event_handler_obj)=0 |
Public Member Functions inherited from simics::systemc::iface::ExecuteInterface | |
virtual | ~ExecuteInterface () |
virtual void | run ()=0 |
virtual void | stop ()=0 |
virtual void | switch_in ()=0 |
virtual void | switch_out ()=0 |
Public Member Functions inherited from simics::systemc::iface::FrequencyInterface | |
virtual double | get () const =0 |
virtual | ~FrequencyInterface () |
Public Member Functions inherited from simics::systemc::iface::ConcurrencyGroupInterface | |
virtual std::vector< conf_object_t * > | serialized_memory_group (unsigned group_index)=0 |
virtual std::vector< conf_object_t * > | execution_group (unsigned group_index)=0 |
virtual | ~ConcurrencyGroupInterface () |
Public Member Functions inherited from simics::systemc::iface::ConcurrencyModeInterface | |
virtual concurrency_mode_t | supported_modes ()=0 |
virtual concurrency_mode_t | current_mode ()=0 |
virtual void | switch_mode (concurrency_mode_t mode)=0 |
virtual | ~ConcurrencyModeInterface () |
Public Member Functions inherited from simics::systemc::iface::ExecuteControlInterface | |
virtual void | message_pending ()=0 |
virtual void | yield_request ()=0 |
virtual | ~ExecuteControlInterface () |
Protected Member Functions | |
void | finalize () |
virtual void | callHandleEvent () |
const std::vector< conf_object_t * > & | instances () const |
Provides the interface to the SystemC kernel.
Handles running the SystemC scheduler on entry from Simics. The class also maintains the simulation context, making it possible to create multiple instances of the same module.
simics::systemc::Simulation::Simulation | ( | ConfObjectRef | o, |
InternalInterface * | internal | ||
) |
|
virtual |
|
protectedvirtual |
|
virtual |
Implements simics::systemc::iface::SimulationInterface.
|
virtual |
Implements simics::systemc::iface::ConcurrencyModeInterface.
|
virtual |
|
protected |
|
virtual |
Implements simics::systemc::iface::FrequencyInterface.
|
virtual |
Implements simics::systemc::iface::EventDeltaInterface.
|
protected |
|
virtual |
Implements simics::systemc::iface::ExecuteControlInterface.
|
virtual |
Implements simics::systemc::iface::ExecuteInterface.
|
virtual |
Implements simics::systemc::iface::SimulationInterface.
|
virtual |
Implements simics::systemc::iface::SimulationInterface.
|
virtual |
|
virtual |
Implements simics::systemc::iface::EventDeltaInterface.
void simics::systemc::Simulation::set_run_next_delta | ( | const int & | count | ) |
|
virtual |
Implements simics::systemc::iface::SimulationInterface.
|
virtual |
Implements simics::systemc::iface::ExecuteInterface.
|
virtual |
Implements simics::systemc::iface::SimulationInterface.
|
virtual |
Implements simics::systemc::iface::ConcurrencyModeInterface.
|
virtual |
Implements simics::systemc::iface::ExecuteInterface.
|
virtual |
Implements simics::systemc::iface::ConcurrencyModeInterface.
|
virtual |
Implements simics::systemc::iface::ExecuteInterface.
|
virtual |
Implements simics::systemc::iface::ExecuteControlInterface.