The simulation context.
More...
#include <sysc/kernel/sc_simcontext.h>
|
| sc_simcontext () |
|
| ~sc_simcontext () |
|
void | initialize (bool=false) |
|
void | cycle (const sc_time &) |
|
void | simulate (const sc_time &duration) |
|
void | stop () |
|
void | end () |
|
void | reset () |
|
int | sim_status () const |
|
bool | elaboration_done () const |
|
std::vector< sc_thread_handle > & | get_active_invokers () |
|
sc_object_manager * | get_object_manager () |
|
sc_status | get_status () const |
|
sc_object * | active_object () |
|
void | hierarchy_push (sc_module *) |
|
sc_module * | hierarchy_pop () |
|
sc_module * | hierarchy_curr () const |
|
sc_object * | first_object () |
|
sc_object * | next_object () |
|
sc_object * | find_object (const char *name) |
|
sc_module_registry * | get_module_registry () |
|
sc_port_registry * | get_port_registry () |
|
sc_export_registry * | get_export_registry () |
|
sc_prim_channel_registry * | get_prim_channel_registry () |
|
std::string | construct_hierarchical_name (const sc_object *parent, const std::string &name) |
|
bool | register_hierarchical_name (const sc_object *parent, const std::string &name) |
|
bool | unregister_hierarchical_name (const sc_object *parent, const std::string &name) |
|
bool | hierarchical_name_exists (const sc_object *parent, const std::string &name) |
|
const char * | get_hierarchical_name (const sc_object *parent, const std::string &name) |
|
const char * | gen_unique_name (const char *basename_, bool preserve_first=false) |
|
sc_process_handle | create_cthread_process (const char *name_p, bool free_host, SC_ENTRY_FUNC method_p, sc_process_host *host_p, const sc_spawn_options *opt_p) |
|
sc_process_handle | create_method_process (const char *name_p, bool free_host, SC_ENTRY_FUNC method_p, sc_process_host *host_p, const sc_spawn_options *opt_p) |
|
sc_process_handle | create_thread_process (const char *name_p, bool free_host, SC_ENTRY_FUNC method_p, sc_process_host *host_p, const sc_spawn_options *opt_p) |
|
sc_curr_proc_handle | get_curr_proc_info () |
|
sc_process_b * | get_current_writer () const |
|
bool | write_check () const |
|
bool | write_check_conflicts_only () const |
|
void | set_curr_proc (sc_process_b *) |
|
void | reset_curr_proc () |
|
int | next_proc_id () |
|
void | add_trace_file (sc_trace_file *) |
|
void | remove_trace_file (sc_trace_file *) |
|
const sc_time & | max_time () const |
|
const sc_time & | time_stamp () const |
|
sc_dt::uint64 | change_stamp () const |
|
sc_dt::uint64 | delta_count () const |
|
sc_dt::uint64 | delta_count_at_current_time () const |
|
bool | event_occurred (sc_dt::uint64 last_change_count) const |
|
bool | evaluation_phase () const |
|
bool | is_running () const |
|
bool | update_phase () const |
|
bool | notify_phase () const |
|
bool | get_error () |
|
void | set_error (sc_report *) |
|
sc_cor_pkg * | cor_pkg () |
|
sc_cor * | next_cor () |
|
void | add_reset_finder (sc_reset_finder *) |
|
const ::std::vector< sc_object * > & | get_child_objects () const |
|
void | elaborate () |
|
void | prepare_to_simulate () |
|
void | initial_crunch (bool no_crunch) |
|
bool | next_time (sc_time &t) const |
|
bool | pending_activity_at_current_time () const |
|
The simulation context.
Definition at line 149 of file sc_simcontext.h.
◆ sc_simcontext()
sc_core::sc_simcontext::sc_simcontext |
( |
| ) |
|
◆ ~sc_simcontext()
sc_core::sc_simcontext::~sc_simcontext |
( |
| ) |
|
◆ active_object()
sc_object* sc_core::sc_simcontext::active_object |
( |
| ) |
|
◆ add_reset_finder()
◆ add_trace_file()
◆ change_stamp()
◆ construct_hierarchical_name()
std::string sc_core::sc_simcontext::construct_hierarchical_name |
( |
const sc_object * |
parent, |
|
|
const std::string & |
name |
|
) |
| |
◆ cor_pkg()
◆ create_cthread_process()
◆ create_method_process()
◆ create_thread_process()
◆ cycle()
void sc_core::sc_simcontext::cycle |
( |
const sc_time & |
| ) |
|
◆ delta_count()
◆ delta_count_at_current_time()
sc_dt::uint64 sc_core::sc_simcontext::delta_count_at_current_time |
( |
| ) |
const |
|
inline |
◆ elaborate()
void sc_core::sc_simcontext::elaborate |
( |
| ) |
|
◆ elaboration_done()
bool sc_core::sc_simcontext::elaboration_done |
( |
| ) |
const |
|
inline |
◆ end()
void sc_core::sc_simcontext::end |
( |
| ) |
|
◆ evaluation_phase()
bool sc_core::sc_simcontext::evaluation_phase |
( |
| ) |
const |
|
inline |
◆ event_occurred()
bool sc_core::sc_simcontext::event_occurred |
( |
sc_dt::uint64 |
last_change_count | ) |
const |
|
inline |
◆ find_object()
sc_object* sc_core::sc_simcontext::find_object |
( |
const char * |
name | ) |
|
◆ first_object()
sc_object* sc_core::sc_simcontext::first_object |
( |
| ) |
|
◆ gen_unique_name()
const char* sc_core::sc_simcontext::gen_unique_name |
( |
const char * |
basename_, |
|
|
bool |
preserve_first = false |
|
) |
| |
◆ get_active_invokers()
std::vector< sc_thread_handle > & sc_core::sc_simcontext::get_active_invokers |
( |
| ) |
|
|
inline |
◆ get_child_objects()
const ::std::vector<sc_object*>& sc_core::sc_simcontext::get_child_objects |
( |
| ) |
const |
◆ get_curr_proc_info()
◆ get_current_writer()
sc_process_b * sc_core::sc_simcontext::get_current_writer |
( |
| ) |
const |
|
inline |
◆ get_error()
bool sc_core::sc_simcontext::get_error |
( |
| ) |
|
|
inline |
◆ get_export_registry()
◆ get_hierarchical_name()
const char* sc_core::sc_simcontext::get_hierarchical_name |
( |
const sc_object * |
parent, |
|
|
const std::string & |
name |
|
) |
| |
◆ get_module_registry()
◆ get_object_manager()
◆ get_port_registry()
◆ get_prim_channel_registry()
◆ get_status()
sc_status sc_core::sc_simcontext::get_status |
( |
| ) |
const |
|
inline |
◆ hierarchical_name_exists()
bool sc_core::sc_simcontext::hierarchical_name_exists |
( |
const sc_object * |
parent, |
|
|
const std::string & |
name |
|
) |
| |
◆ hierarchy_curr()
sc_module* sc_core::sc_simcontext::hierarchy_curr |
( |
| ) |
const |
◆ hierarchy_pop()
sc_module* sc_core::sc_simcontext::hierarchy_pop |
( |
| ) |
|
◆ hierarchy_push()
void sc_core::sc_simcontext::hierarchy_push |
( |
sc_module * |
| ) |
|
◆ initial_crunch()
void sc_core::sc_simcontext::initial_crunch |
( |
bool |
no_crunch | ) |
|
|
inline |
◆ initialize()
void sc_core::sc_simcontext::initialize |
( |
bool |
= false | ) |
|
◆ is_running()
bool sc_core::sc_simcontext::is_running |
( |
| ) |
const |
◆ max_time()
const sc_time & sc_core::sc_simcontext::max_time |
( |
| ) |
const |
|
inline |
◆ next_cor()
sc_cor* sc_core::sc_simcontext::next_cor |
( |
| ) |
|
◆ next_object()
sc_object* sc_core::sc_simcontext::next_object |
( |
| ) |
|
◆ next_proc_id()
int sc_core::sc_simcontext::next_proc_id |
( |
| ) |
|
|
inline |
◆ next_time()
bool sc_core::sc_simcontext::next_time |
( |
sc_time & |
t | ) |
const |
◆ notify_phase()
bool sc_core::sc_simcontext::notify_phase |
( |
| ) |
const |
|
inline |
◆ pending_activity_at_current_time()
bool sc_core::sc_simcontext::pending_activity_at_current_time |
( |
| ) |
const |
◆ prepare_to_simulate()
void sc_core::sc_simcontext::prepare_to_simulate |
( |
| ) |
|
◆ register_hierarchical_name()
bool sc_core::sc_simcontext::register_hierarchical_name |
( |
const sc_object * |
parent, |
|
|
const std::string & |
name |
|
) |
| |
◆ remove_trace_file()
void sc_core::sc_simcontext::remove_trace_file |
( |
sc_trace_file * |
| ) |
|
◆ reset()
void sc_core::sc_simcontext::reset |
( |
| ) |
|
◆ reset_curr_proc()
void sc_core::sc_simcontext::reset_curr_proc |
( |
| ) |
|
|
inline |
◆ set_curr_proc()
void sc_core::sc_simcontext::set_curr_proc |
( |
sc_process_b * |
process_h | ) |
|
|
inline |
◆ set_error()
void sc_core::sc_simcontext::set_error |
( |
sc_report * |
err | ) |
|
|
inline |
◆ sim_status()
int sc_core::sc_simcontext::sim_status |
( |
| ) |
const |
|
inline |
◆ simulate()
void sc_core::sc_simcontext::simulate |
( |
const sc_time & |
duration | ) |
|
◆ stop()
void sc_core::sc_simcontext::stop |
( |
| ) |
|
◆ time_stamp()
const sc_time & sc_core::sc_simcontext::time_stamp |
( |
| ) |
const |
|
inline |
◆ unregister_hierarchical_name()
bool sc_core::sc_simcontext::unregister_hierarchical_name |
( |
const sc_object * |
parent, |
|
|
const std::string & |
name |
|
) |
| |
◆ update_phase()
bool sc_core::sc_simcontext::update_phase |
( |
| ) |
const |
|
inline |
◆ write_check()
bool sc_core::sc_simcontext::write_check |
( |
| ) |
const |
|
inline |
◆ write_check_conflicts_only()
bool sc_core::sc_simcontext::write_check_conflicts_only |
( |
| ) |
const |
|
inline |
◆ sc_clock
◆ sc_cthread_process
◆ sc_delta_count
◆ sc_end_of_simulation_invoked
SC_API bool sc_end_of_simulation_invoked |
( |
| ) |
|
|
friend |
◆ sc_event
◆ sc_get_default_time_unit
◆ sc_get_time_resolution
◆ sc_get_top_level_events
◆ sc_get_top_level_objects
◆ sc_invoke_method
friend struct sc_invoke_method |
|
friend |
◆ sc_is_running
◆ sc_method_process
◆ sc_module
◆ sc_object
◆ sc_pause
◆ sc_pending_activity_at_current_time
◆ sc_pending_activity_at_future_time
◆ sc_phase_callback_registry
◆ sc_prim_channel
◆ sc_process_b
◆ sc_process_handle
◆ sc_set_default_time_unit
◆ sc_set_time_resolution
◆ sc_start
◆ sc_start_of_simulation_invoked
SC_API bool sc_start_of_simulation_invoked |
( |
| ) |
|
|
friend |
◆ sc_thread_cor_fn
void sc_thread_cor_fn |
( |
void * |
| ) |
|
|
friend |
◆ sc_thread_process
◆ sc_time
◆ sc_time_to_pending_activity
◆ sc_time_tuple
The documentation for this class was generated from the following files: