SystemC  2.3.1
Accellera SystemC proof-of-concept library
Classes | Namespaces | Typedefs | Enumerations | Functions | Variables
sc_simcontext.h File Reference
#include "sysc/kernel/sc_cmnhdr.h"
#include "sysc/kernel/sc_process.h"
#include "sysc/kernel/sc_status.h"
#include "sysc/kernel/sc_time.h"
#include "sysc/utils/sc_hash.h"
#include "sysc/utils/sc_pq.h"
Include dependency graph for sc_simcontext.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sc_core::sc_plist< typename >
 
struct  sc_core::sc_curr_proc_info
 
class  sc_core::sc_simcontext
 

Namespaces

 sc_core
 

Typedefs

typedef sc_plist< sc_process_b * > sc_core::sc_process_list
 
typedef const sc_curr_proc_info * sc_core::sc_curr_proc_handle
 

Enumerations

enum  sc_core::sc_stop_mode { sc_core::SC_STOP_FINISH_DELTA, sc_core::SC_STOP_IMMEDIATE }
 
enum  sc_core::sc_starvation_policy { sc_core::SC_EXIT_ON_STARVATION, sc_core::SC_RUN_TO_TIME }
 

Functions

void sc_core::sc_set_stop_mode (sc_stop_mode mode)
 
sc_stop_mode sc_core::sc_get_stop_mode ()
 
void sc_core::sc_start ()
 
void sc_core::sc_start (const sc_time &duration, sc_starvation_policy p=SC_RUN_TO_TIME)
 
void sc_core::sc_start (int duration, sc_time_unit unit, sc_starvation_policy p=SC_RUN_TO_TIME)
 
void sc_core::sc_start (double duration, sc_time_unit unit, sc_starvation_policy p=SC_RUN_TO_TIME)
 
void sc_core::sc_stop ()
 
sc_dt::uint64 sc_core::sc_delta_count ()
 
const std::vector< sc_event * > & sc_core::sc_get_top_level_events (const sc_simcontext *simc_p)
 
const std::vector< sc_object * > & sc_core::sc_get_top_level_objects (const sc_simcontext *simc_p)
 
bool sc_core::sc_is_running (const sc_simcontext *simc_p)
 
void sc_core::sc_pause ()
 
bool sc_core::sc_end_of_simulation_invoked ()
 
bool sc_core::sc_start_of_simulation_invoked ()
 
void sc_core::sc_set_time_resolution (double, sc_time_unit)
 
sc_time sc_core::sc_get_time_resolution ()
 
void sc_core::sc_set_default_time_unit (double, sc_time_unit)
 
sc_time sc_core::sc_get_default_time_unit ()
 
bool sc_core::sc_pending_activity_at_current_time (const sc_simcontext *)
 
bool sc_core::sc_pending_activity_at_future_time (const sc_simcontext *)
 
sc_time sc_core::sc_time_to_pending_activity (const sc_simcontext *)
 
sc_simcontext * sc_core::sc_get_curr_simcontext ()
 
sc_status sc_core::sc_get_status ()
 
sc_process_handle sc_core::sc_get_current_process_handle ()
 
sc_object * sc_core::sc_get_current_object ()
 
sc_process_b * sc_core::sc_get_current_process_b ()
 
sc_process_b * sc_core::sc_get_curr_process_handle ()
 
sc_curr_proc_kind sc_core::sc_get_curr_process_kind ()
 
int sc_core::sc_get_simulator_status ()
 
const char * sc_core::sc_gen_unique_name (const char *, bool preserve_first)
 
void sc_core::sc_set_random_seed (unsigned int seed_)
 
void sc_core::sc_initialize ()
 
const sc_time & sc_core::sc_max_time ()
 
const sc_time & sc_core::sc_time_stamp ()
 
double sc_core::sc_simulation_time ()
 
sc_event * sc_core::sc_find_event (const char *name)
 
sc_object * sc_core::sc_find_object (const char *name)
 
bool sc_core::sc_is_unwinding ()
 
bool sc_core::sc_pending_activity (const sc_simcontext *simc_p=sc_get_curr_simcontext())
 
bool sc_core::sc_hierarchical_name_exists (const char *name)
 

Variables

sc_simcontext * sc_core::sc_curr_simcontext
 
sc_simcontext * sc_core::sc_default_global_context