gem5  v20.0.0.2
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
_using.hh
Go to the documentation of this file.
1 /*
2  * Copyright 2018 Google, Inc.
3  *
4  * Redistribution and use in source and binary forms, with or without
5  * modification, are permitted provided that the following conditions are
6  * met: redistributions of source code must retain the above copyright
7  * notice, this list of conditions and the following disclaimer;
8  * redistributions in binary form must reproduce the above copyright
9  * notice, this list of conditions and the following disclaimer in the
10  * documentation and/or other materials provided with the distribution;
11  * neither the name of the copyright holders nor the names of its
12  * contributors may be used to endorse or promote products derived from
13  * this software without specific prior written permission.
14  *
15  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
16  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
17  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
18  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
19  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
20  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
21  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26  */
27 
28 #ifndef __SYSTEMC_EXT_CORE__USING_HH__
29 #define __SYSTEMC_EXT_CORE__USING_HH__
30 
31 #include "_core.hh"
32 
36 
43 using sc_core::sc_event;
46 
48 using sc_core::sc_export;
49 
51 
53 using sc_core::sc_join;
54 
55 using sc_core::sc_argc;
56 using sc_core::sc_argv;
60 using sc_core::sc_start;
61 using sc_core::sc_pause;
67 using sc_core::sc_stop;
81 using sc_core::SC_PAUSED;
88 using sc_core::sc_status;
89 
92 using sc_core::sc_module;
94 using sc_core::wait;
95 using sc_core::halt;
102 
104 
105 using sc_core::sc_object;
108 
114 using sc_core::sc_port_b;
115 using sc_core::sc_port;
116 
118 
136 
138 
141 
143 using sc_core::sc_spawn;
144 
146 using sc_core::SC_FS;
147 using sc_core::SC_PS;
148 using sc_core::SC_NS;
149 using sc_core::SC_US;
150 using sc_core::SC_MS;
151 using sc_core::SC_SEC;
152 using sc_core::sc_time;
160 
232 
233 #endif //__SYSTEMC_EXT_CORE__USING_HH__
const char SC_ID_THROW_IT_IGNORED_[]
Definition: messages.cc:128
const char SC_ID_SIMULATION_START_AFTER_ERROR_[]
Definition: messages.cc:115
sc_stop_mode sc_get_stop_mode()
Definition: sc_main.cc:98
const std::vector< sc_object * > & sc_get_top_level_objects()
Definition: sc_object.cc:161
const char SC_ID_MODULE_METHOD_AFTER_START_[]
Definition: messages.cc:101
const char SC_ID_MODULE_THREAD_AFTER_START_[]
Definition: messages.cc:103
const char SC_ID_CYCLE_MISSES_EVENTS_[]
Definition: messages.cc:93
bool sc_is_running()
Definition: sc_main.cc:142
sc_object * sc_find_object(const char *name)
Definition: sc_object.cc:167
void sc_start()
Definition: sc_main.cc:61
bool sc_is_unwinding()
bool sc_pending_activity_at_future_time()
Definition: sc_main.cc:154
const char SC_ID_NO_INT_RETURNED_[]
Definition: messages.cc:35
const std::vector< sc_event * > & sc_get_top_level_events()
Definition: sc_event.cc:403
sc_time_unit
Definition: sc_time.hh:40
void sc_set_stop_mode(sc_stop_mode mode)
Definition: sc_main.cc:88
const char SC_ID_NO_SC_START_ACTIVITY_[]
Definition: messages.cc:156
const char SC_ID_WAIT_NOT_ALLOWED_[]
Definition: messages.cc:62
const char SC_ID_JOIN_ON_METHOD_HANDLE_[]
Definition: messages.cc:139
bool sc_pending_activity()
Definition: sc_main.cc:160
const char SC_ID_VC6_PROCESS_HELPER_[]
Definition: messages.cc:41
const char * sc_gen_unique_name(const char *seed)
Definition: sc_module.cc:820
const char SC_ID_UNKNOWN_PROCESS_TYPE_[]
Definition: messages.cc:147
const char SC_ID_METHOD_TERMINATION_EVENT_[]
Definition: messages.cc:137
const char SC_ID_OPERAND_NOT_SC_LOGIC_[]
Definition: messages.cc:37
bool sc_start_of_simulation_invoked()
Definition: sc_module.cc:846
const char SC_ID_EVENT_ON_NULL_PROCESS_[]
Definition: messages.cc:143
const char SC_ID_WAIT_N_INVALID_[]
Definition: messages.cc:73
const char SC_ID_EVENT_LIST_FAILED_[]
Definition: messages.cc:145
const char SC_ID_MAKE_SENSITIVE_NEG_[]
Definition: messages.cc:76
sc_process_handle sc_spawn(T object, const char *name_p=nullptr, const sc_spawn_options *opt_p=nullptr)
Definition: sc_spawn.hh:154
const char SC_ID_NO_BOOL_RETURNED_[]
Definition: messages.cc:34
sc_process_b * sc_thread_handle
Definition: sc_join.hh:38
bool sc_hierarchical_name_exists(const char *name)
Definition: sc_module.cc:839
const char SC_ID_SIMULATION_UNCAUGHT_EXCEPTION_[]
Definition: messages.cc:117
void halt()
Definition: sc_module.cc:777
const char SC_ID_STOP_MODE_AFTER_START_[]
Definition: messages.cc:113
static sc_process_b * sc_get_current_process_b()
const sc_curr_proc_info * sc_curr_proc_handle
const char SC_ID_INCONSISTENT_API_CONFIG_[]
Definition: messages.cc:60
const char SC_ID_MAKE_SENSITIVE_[]
Definition: messages.cc:74
sc_descendent_inclusion_info
const char SC_ID_SC_MODULE_NAME_USE_[]
Definition: messages.cc:53
const char SC_ID_WAIT_DURING_UNWINDING_[]
Definition: messages.cc:91
const char SC_ID_NO_SC_LOGIC_RETURNED_[]
Definition: messages.cc:36
const char SC_ID_PROCESS_CONTROL_CORNER_CASE_[]
Definition: messages.cc:135
const char SC_ID_SC_MODULE_NAME_REQUIRED_[]
Definition: messages.cc:54
const char SC_ID_INSERT_MODULE_[]
Definition: messages.cc:77
const char SC_ID_NAME_EXISTS_[]
Definition: messages.cc:88
const char SC_ID_INSTANCE_EXISTS_[]
Definition: messages.cc:39
const char SC_ID_TIME_CONVERSION_FAILED_[]
Definition: messages.cc:148
const char SC_ID_KILL_PROCESS_WHILE_UNITIALIZED_[]
Definition: messages.cc:158
const char SC_ID_SET_DEFAULT_TIME_UNIT_[]
Definition: messages.cc:57
sc_module sc_behavior
Definition: sc_module.hh:345
void sc_stop()
Definition: sc_main.cc:104
const char SC_ID_GEN_UNIQUE_NAME_[]
Definition: messages.cc:82
const sc_bind_proxy SC_BIND_PROXY_NIL
Definition: sc_module.cc:114
const char SC_ID_PHASE_CALLBACK_REGISTER_[]
Definition: messages.cc:122
const char SC_ID_SIMULATION_START_UNEXPECTED_[]
Definition: messages.cc:126
bool sc_pending_activity_at_current_time()
Definition: sc_main.cc:148
sc_simcontext * sc_get_curr_simcontext()
const char SC_ID_SET_TIME_RESOLUTION_[]
Definition: messages.cc:56
const char SC_ID_HALT_NOT_ALLOWED_[]
Definition: messages.cc:68
const char SC_ID_NEGATIVE_SIMULATION_TIME_[]
Definition: messages.cc:149
const char SC_ID_NOT_EXPECTING_DYNAMIC_EVENT_NOTIFY_[]
Definition: messages.cc:130
const char SC_ID_PROCESS_ALREADY_UNWINDING_[]
Definition: messages.cc:99
const char SC_ID_IMMEDIATE_SELF_NOTIFICATION_[]
Definition: messages.cc:89
sc_status sc_get_status()
Definition: sc_main.cc:173
const sc_time & sc_time_stamp()
Definition: sc_main.cc:128
sc_process_b * sc_get_curr_process_handle()
sc_starvation_policy
Definition: sc_main.hh:46
sc_port_policy
Definition: sc_port.hh:67
const sc_time SC_ZERO_TIME
Definition: sc_time.cc:290
const char SC_ID_OPERAND_NOT_BOOL_[]
Definition: messages.cc:38
sc_module sc_channel
Definition: sc_module.hh:346
const char SC_ID_RETHROW_UNWINDING_[]
Definition: messages.cc:97
void wait()
Definition: sc_module.cc:653
const char SC_ID_PHASE_CALLBACKS_UNSUPPORTED_[]
Definition: messages.cc:118
const char SC_ID_DEFAULT_TIME_UNIT_CHANGED_[]
Definition: messages.cc:58
const char *const * sc_argv()
Definition: sc_main.cc:55
const char SC_ID_ILLEGAL_CHARACTERS_[]
Definition: messages.cc:40
const char SC_ID_EMPTY_PROCESS_HANDLE_[]
Definition: messages.cc:154
const char SC_ID_VC6_MAX_PROCESSES_EXCEEDED_[]
Definition: messages.cc:43
sc_stop_mode
Definition: sc_main.hh:62
const sc_time & sc_max_time()
Definition: sc_time.cc:345
sc_time sc_get_time_resolution()
Definition: sc_time.cc:339
const char SC_ID_MODULE_CTHREAD_AFTER_START_[]
Definition: messages.cc:105
const char SC_ID_PHASE_CALLBACK_NOT_IMPLEMENTED_[]
Definition: messages.cc:120
const char SC_ID_NEXT_TRIGGER_NOT_ALLOWED_[]
Definition: messages.cc:64
const char SC_ID_DISABLE_WILL_ORPHAN_PROCESS_[]
Definition: messages.cc:132
sc_process_handle sc_get_current_process_handle()
const char SC_ID_SIMULATION_TIME_OVERFLOW_[]
Definition: messages.cc:107
const char SC_ID_HIER_NAME_INCORRECT_[]
Definition: messages.cc:49
const char SC_ID_MODULE_NAME_STACK_EMPTY_[]
Definition: messages.cc:84
const char SC_ID_SIMULATION_STOP_CALLED_TWICE_[]
Definition: messages.cc:109
void sc_pause()
Definition: sc_main.cc:68
const char SC_ID_SET_STACK_SIZE_[]
Definition: messages.cc:51
int sc_argc()
Definition: sc_main.cc:49
void sc_set_time_resolution(double d, sc_time_unit tu)
Definition: sc_time.cc:293
const char SC_ID_BAD_SC_MODULE_CONSTRUCTOR_[]
Definition: messages.cc:151
const char SC_ID_NO_PROCESS_SEMANTICS_[]
Definition: messages.cc:141
void next_trigger()
Definition: sc_module.cc:538
const char SC_ID_REMOVE_MODULE_[]
Definition: messages.cc:78
const char SC_ID_SIMULATION_START_AFTER_STOP_[]
Definition: messages.cc:111
sc_dt::uint64 sc_delta_count()
Definition: sc_main.cc:136
bool sc_end_of_simulation_invoked()
Definition: sc_module.cc:852
const char SC_ID_DONT_INITIALIZE_[]
Definition: messages.cc:71
const char SC_ID_THROW_IT_WHILE_NOT_RUNNING_[]
Definition: messages.cc:163
sc_time sc_get_default_time_unit()
Definition: sc_time.cc:390
const char SC_ID_MAKE_SENSITIVE_POS_[]
Definition: messages.cc:75
const char SC_ID_END_MODULE_NOT_CALLED_[]
Definition: messages.cc:45
sc_event * sc_find_event(const char *name)
Definition: sc_event.cc:409
const char SC_ID_IMMEDIATE_NOTIFICATION_[]
Definition: messages.cc:66
sc_time sc_time_to_pending_activity()
Definition: sc_main.cc:167
const char SC_ID_NOTIFY_DELAYED_[]
Definition: messages.cc:79
void sc_set_default_time_unit(double d, sc_time_unit tu)
Definition: sc_time.cc:352
const char SC_ID_RESET_PROCESS_WHILE_NOT_RUNNING_[]
Definition: messages.cc:160
sc_status
Definition: sc_main.hh:81
const char SC_ID_WATCHING_NOT_ALLOWED_[]
Definition: messages.cc:69
const char SC_ID_PHASE_CALLBACK_FORBIDDEN_[]
Definition: messages.cc:124

Generated on Mon Jun 8 2020 15:45:13 for gem5 by doxygen 1.8.13