gem5 v24.0.0.0
Loading...
Searching...
No Matches
_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
46
49
51
54
89
94using sc_core::wait;
95using sc_core::halt;
102
104
108
115using sc_core::sc_port;
116
118
136
138
141
144
146using sc_core::SC_FS;
147using sc_core::SC_PS;
148using sc_core::SC_NS;
149using sc_core::SC_US;
150using sc_core::SC_MS;
151using sc_core::SC_SEC;
152using sc_core::sc_time;
160
232
233#endif //__SYSTEMC_EXT_CORE__USING_HH__
bool sc_start_of_simulation_invoked()
Definition sc_module.cc:846
const char SC_ID_PHASE_CALLBACK_REGISTER_[]
Definition messages.cc:122
bool sc_pending_activity()
Definition sc_main.cc:159
bool sc_pending_activity_at_future_time()
Definition sc_main.cc:153
void sc_set_time_resolution(double d, sc_time_unit tu)
Definition sc_time.cc:293
const char SC_ID_WAIT_DURING_UNWINDING_[]
Definition messages.cc:91
const char SC_ID_SIMULATION_START_AFTER_STOP_[]
Definition messages.cc:111
void sc_stop()
Definition sc_main.cc:103
const char SC_ID_THROW_IT_IGNORED_[]
Definition messages.cc:128
sc_dt::uint64 sc_delta_count()
Definition sc_main.cc:135
const char SC_ID_JOIN_ON_METHOD_HANDLE_[]
Definition messages.cc:139
sc_time sc_time_to_pending_activity()
Definition sc_main.cc:166
const sc_time SC_ZERO_TIME
Definition sc_time.cc:290
const char SC_ID_SIMULATION_UNCAUGHT_EXCEPTION_[]
Definition messages.cc:117
const sc_bind_proxy SC_BIND_PROXY_NIL
Definition sc_module.cc:114
const char SC_ID_RESET_PROCESS_WHILE_NOT_RUNNING_[]
Definition messages.cc:160
int sc_argc()
Definition sc_main.cc:48
const char SC_ID_DISABLE_WILL_ORPHAN_PROCESS_[]
Definition messages.cc:132
bool sc_pending_activity_at_current_time()
Definition sc_main.cc:147
sc_status sc_get_status()
Definition sc_main.cc:172
const char SC_ID_REMOVE_MODULE_[]
Definition messages.cc:78
const char SC_ID_SC_MODULE_NAME_USE_[]
Definition messages.cc:53
bool sc_end_of_simulation_invoked()
Definition sc_module.cc:852
const char SC_ID_NAME_EXISTS_[]
Definition messages.cc:88
const char SC_ID_SIMULATION_STOP_CALLED_TWICE_[]
Definition messages.cc:109
const char SC_ID_INSTANCE_EXISTS_[]
Definition messages.cc:39
static sc_process_b * sc_get_current_process_b()
const char SC_ID_EVENT_ON_NULL_PROCESS_[]
Definition messages.cc:143
const char SC_ID_PHASE_CALLBACK_FORBIDDEN_[]
Definition messages.cc:124
const char SC_ID_MODULE_NAME_STACK_EMPTY_[]
Definition messages.cc:84
const char SC_ID_MAKE_SENSITIVE_[]
Definition messages.cc:74
const char SC_ID_HALT_NOT_ALLOWED_[]
Definition messages.cc:68
const char SC_ID_DEFAULT_TIME_UNIT_CHANGED_[]
Definition messages.cc:58
@ SC_BEFORE_TIMESTEP
Definition sc_main.hh:95
@ SC_END_OF_ELABORATION
Definition sc_main.hh:85
@ SC_END_OF_SIMULATION
Definition sc_main.hh:90
@ SC_STATUS_ANY
Definition sc_main.hh:96
@ SC_END_OF_UPDATE
Definition sc_main.hh:94
@ SC_ELABORATION
Definition sc_main.hh:83
@ SC_STOPPED
Definition sc_main.hh:89
@ SC_RUNNING
Definition sc_main.hh:87
@ SC_BEFORE_END_OF_ELABORATION
Definition sc_main.hh:84
@ SC_PAUSED
Definition sc_main.hh:88
@ SC_END_OF_INITIALIZATION
Definition sc_main.hh:93
@ SC_START_OF_SIMULATION
Definition sc_main.hh:86
const char SC_ID_IMMEDIATE_NOTIFICATION_[]
Definition messages.cc:66
const char SC_ID_EVENT_LIST_FAILED_[]
Definition messages.cc:145
const char SC_ID_VC6_MAX_PROCESSES_EXCEEDED_[]
Definition messages.cc:43
const char SC_ID_SIMULATION_START_UNEXPECTED_[]
Definition messages.cc:126
sc_object * sc_find_object(const char *name)
Definition sc_object.cc:167
const char SC_ID_NO_SC_START_ACTIVITY_[]
Definition messages.cc:156
const char SC_ID_EMPTY_PROCESS_HANDLE_[]
Definition messages.cc:154
const char SC_ID_METHOD_TERMINATION_EVENT_[]
Definition messages.cc:137
sc_process_b * sc_get_curr_process_handle()
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_PHASE_CALLBACK_NOT_IMPLEMENTED_[]
Definition messages.cc:120
const char SC_ID_WAIT_NOT_ALLOWED_[]
Definition messages.cc:62
const char SC_ID_UNKNOWN_PROCESS_TYPE_[]
Definition messages.cc:147
const char SC_ID_SET_DEFAULT_TIME_UNIT_[]
Definition messages.cc:57
sc_process_handle sc_get_current_process_handle()
void next_trigger()
Definition sc_module.cc:538
bool sc_is_running()
Definition sc_main.cc:141
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_PHASE_CALLBACKS_UNSUPPORTED_[]
Definition messages.cc:118
const std::vector< sc_event * > & sc_get_top_level_events()
Definition sc_event.cc:403
const char SC_ID_IMMEDIATE_SELF_NOTIFICATION_[]
Definition messages.cc:89
const char SC_ID_NOTIFY_DELAYED_[]
Definition messages.cc:79
sc_event * sc_find_event(const char *name)
Definition sc_event.cc:409
const char SC_ID_GEN_UNIQUE_NAME_[]
Definition messages.cc:82
const char SC_ID_SIMULATION_START_AFTER_ERROR_[]
Definition messages.cc:115
sc_simcontext * sc_get_curr_simcontext()
const char SC_ID_NO_SC_LOGIC_RETURNED_[]
Definition messages.cc:36
const char SC_ID_SC_MODULE_NAME_REQUIRED_[]
Definition messages.cc:54
void halt()
Definition sc_module.cc:777
const char SC_ID_PROCESS_CONTROL_CORNER_CASE_[]
Definition messages.cc:135
const char SC_ID_NO_PROCESS_SEMANTICS_[]
Definition messages.cc:141
void sc_start()
Definition sc_main.cc:60
const char SC_ID_THROW_IT_WHILE_NOT_RUNNING_[]
Definition messages.cc:163
const char SC_ID_INSERT_MODULE_[]
Definition messages.cc:77
const char SC_ID_WAIT_N_INVALID_[]
Definition messages.cc:73
const char SC_ID_RETHROW_UNWINDING_[]
Definition messages.cc:97
void sc_set_default_time_unit(double d, sc_time_unit tu)
Definition sc_time.cc:352
const char SC_ID_SET_TIME_RESOLUTION_[]
Definition messages.cc:56
const char SC_ID_ILLEGAL_CHARACTERS_[]
Definition messages.cc:40
sc_stop_mode
Definition sc_main.hh:63
@ SC_STOP_FINISH_DELTA
Definition sc_main.hh:64
@ SC_STOP_IMMEDIATE
Definition sc_main.hh:65
bool sc_hierarchical_name_exists(const char *name)
Definition sc_module.cc:839
const char SC_ID_PROCESS_ALREADY_UNWINDING_[]
Definition messages.cc:99
const char SC_ID_CYCLE_MISSES_EVENTS_[]
Definition messages.cc:93
const std::vector< sc_object * > & sc_get_top_level_objects()
Definition sc_object.cc:161
sc_time_unit
Definition sc_time.hh:40
@ SC_MS
Definition sc_time.hh:45
@ SC_PS
Definition sc_time.hh:42
@ SC_SEC
Definition sc_time.hh:46
@ SC_FS
Definition sc_time.hh:41
@ SC_US
Definition sc_time.hh:44
@ SC_NS
Definition sc_time.hh:43
const char SC_ID_KILL_PROCESS_WHILE_UNITIALIZED_[]
Definition messages.cc:158
const char SC_ID_WATCHING_NOT_ALLOWED_[]
Definition messages.cc:69
const char SC_ID_VC6_PROCESS_HELPER_[]
Definition messages.cc:41
const char SC_ID_END_MODULE_NOT_CALLED_[]
Definition messages.cc:45
const char SC_ID_HIER_NAME_INCORRECT_[]
Definition messages.cc:49
sc_time sc_get_default_time_unit()
Definition sc_time.cc:390
const char *const * sc_argv()
Definition sc_main.cc:54
const char SC_ID_NO_INT_RETURNED_[]
Definition messages.cc:35
void sc_pause()
Definition sc_main.cc:67
sc_port_policy
Definition sc_port.hh:68
@ SC_ALL_BOUND
Definition sc_port.hh:71
@ SC_ZERO_OR_MORE_BOUND
Definition sc_port.hh:70
@ SC_ONE_OR_MORE_BOUND
Definition sc_port.hh:69
const char SC_ID_NEXT_TRIGGER_NOT_ALLOWED_[]
Definition messages.cc:64
sc_time sc_get_time_resolution()
Definition sc_time.cc:339
const char SC_ID_STOP_MODE_AFTER_START_[]
Definition messages.cc:113
const char SC_ID_BAD_SC_MODULE_CONSTRUCTOR_[]
Definition messages.cc:151
sc_starvation_policy
Definition sc_main.hh:47
@ SC_RUN_TO_TIME
Definition sc_main.hh:48
@ SC_EXIT_ON_STARVATION
Definition sc_main.hh:49
const char SC_ID_DONT_INITIALIZE_[]
Definition messages.cc:71
const char * sc_gen_unique_name(const char *seed)
Definition sc_module.cc:820
bool sc_is_unwinding()
const char SC_ID_NO_BOOL_RETURNED_[]
Definition messages.cc:34
const char SC_ID_MODULE_THREAD_AFTER_START_[]
Definition messages.cc:103
void sc_set_stop_mode(sc_stop_mode mode)
Definition sc_main.cc:87
const char SC_ID_TIME_CONVERSION_FAILED_[]
Definition messages.cc:148
const char SC_ID_INCONSISTENT_API_CONFIG_[]
Definition messages.cc:60
const sc_time & sc_time_stamp()
Definition sc_main.cc:127
const char SC_ID_MODULE_METHOD_AFTER_START_[]
Definition messages.cc:101
const char SC_ID_MODULE_CTHREAD_AFTER_START_[]
Definition messages.cc:105
const char SC_ID_OPERAND_NOT_SC_LOGIC_[]
Definition messages.cc:37
void wait()
Definition sc_module.cc:653
const sc_time & sc_max_time()
Definition sc_time.cc:345
sc_stop_mode sc_get_stop_mode()
Definition sc_main.cc:97
const char SC_ID_MAKE_SENSITIVE_POS_[]
Definition messages.cc:75
const char SC_ID_MAKE_SENSITIVE_NEG_[]
Definition messages.cc:76
const char SC_ID_OPERAND_NOT_BOOL_[]
Definition messages.cc:38
const char SC_ID_SIMULATION_TIME_OVERFLOW_[]
Definition messages.cc:107
const char SC_ID_SET_STACK_SIZE_[]
Definition messages.cc:51

Generated on Tue Jun 18 2024 16:24:06 for gem5 by doxygen 1.11.0