SystemC  Recoding Infrastructure for SystemC v0.6.3 derived from Accellera 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 <map>
#include <unordered_map>
#include <unordered_set>
#include <list>
#include <string.h>
#include <time.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_kernel_lock
 A scoped mutex for the kernel lock. More...
 
class  sc_core::sc_segid
 segment id currently only used for sc_fifo::read(...) as a bug fix More...
 
class  sc_core::sc_simcontext
 The simulation context. More...
 

Namespaces

 sc_core
 

Typedefs

typedef sc_plist< sc_process_b * > sc_core::sc_process_list
 

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 ()
 This function returns the local delta count of the running process. More...
 
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 ()
 
const sc_time & sc_core::get_current_trace_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

bool sc_core::_SYSC_SYNC_PAR_SIM
 
const char * sc_core::_OoO_Table_File_Name
 
unsigned int sc_core::_OoO_Combined_Data_Conflict_Table_Size
 
unsigned int sc_core::_OoO_Combined_Data_Conflict_Lookup_Table_Number_Segments
 
unsigned int sc_core::_OoO_Combined_Data_Conflict_Lookup_Table_Max_Instances
 
unsigned int sc_core::_OoO_Prediction_Time_Advance_Table_Number_Steps
 
unsigned int sc_core::_OoO_Prediction_Time_Advance_Table_Number_Segments
 
unsigned int sc_core::_OoO_Prediction_Event_Notification_Table_No_Indirect_Number_Segments
 
unsigned int sc_core::_OoO_Prediction_Event_Notification_Table_No_Indirect_Max_Instances
 
int sc_core::_OoO_Combined_Data_Conflict_Table []
 
int sc_core::_OoO_Combined_Data_Conflict_Lookup_Table []
 
long long sc_core::_OoO_Prediction_Time_Advance_Table_Time_Units []
 
int sc_core::_OoO_Prediction_Time_Advance_Table_Delta []
 
int sc_core::_OoO_Prediction_Time_Advance_Lookup_Table []
 
long long sc_core::_OoO_Prediction_Event_Notification_Table_No_Indirect_Time_Units []
 
int sc_core::_OoO_Prediction_Event_Notification_Table_No_Indirect_Delta []
 
int sc_core::_OoO_Prediction_Event_Notification_No_Indirect_Lookup_Table []
 
bool sc_core::_OoO_Data_Conflict_Table []
 Data conflict table for the out-of-order simulation. More...
 
unsigned int sc_core::_OoO_Data_Conflict_Table_Size
 Size of the data conflict table. More...
 
bool sc_core::_OoO_Event_Notify_Table []
 Event notification table for the out-of-order simulation. More...
 
unsigned int sc_core::_OoO_Event_Notify_Table_Size
 Size of the event notification table. More...
 
int sc_core::_OoO_Conflict_Index_Lookup_Table []
 Index lookup table for the data conflict table and event notification table. More...
 
unsigned int sc_core::_OoO_Max_Number_of_Instances
 The maximum number of instances. More...
 
unsigned int sc_core::_OoO_Number_of_Segments
 The number of segments. More...
 
long long sc_core::_OoO_Curr_Time_Advance_Table_Time []
 Current time advance table (timed cycles) for the out-of-order simulation. More...
 
int sc_core::_OoO_Curr_Time_Advance_Table_Delta []
 Current time advance table (delta cycles) for the out-of-order simulation. More...
 
unsigned int sc_core::_OoO_Curr_Time_Advance_Table_Size
 Size of the current time advance table. More...
 
long long sc_core::_OoO_Next_Time_Advance_Table_Time []
 Next time advance table (timed cycles) for the out-of-order simulation. More...
 
int sc_core::_OoO_Next_Time_Advance_Table_Delta []
 Next time advance table (delta cycles) for the out-of-order simulation. More...
 
unsigned int sc_core::_OoO_Next_Time_Advance_Table_Size
 Size of the next time advance table. More...
 
int sc_core::_OoO_Time_Advance_Index_Lookup_Table []
 Index lookup table for the time advance table. More...
 
unsigned int sc_core::_OoO_Time_Advance_Index_Lookup_Table_Size
 Size of the index lookup table for the time advance table. More...
 
sc_simcontext * sc_core::sc_curr_simcontext
 
sc_simcontext * sc_core::sc_default_global_context