29#ifndef SC_KERNEL_IDS_H
30#define SC_KERNEL_IDS_H
42#ifndef SC_DEFINE_MESSAGE
43#define SC_DEFINE_MESSAGE(id,unused1,unused2) \
44 namespace sc_core { extern SC_API const char id[]; }
51 "operator does not return boolean")
53 "operator does not return
int")
59 "operand is not
bool")
61 "
object already exists")
63 "illegal characters" )
65 "internal error: sc_vc6_process_helper" )
67 "maximum number of processes per module exceeded (VC6)" )
69 "module construction not properly completed: did "
70 "you forget to add a sc_module_name parameter to "
71 "your module constructor?" )
73 "hierarchical name as shown may be incorrect due to previous errors" )
75 "set_stack_size() is only allowed for SC_THREADs and SC_CTHREADs" )
77 "incorrect use of sc_module_name" )
79 "an sc_module_name parameter for your constructor is required" )
81 "set time resolution failed" )
83 "set default time unit failed" )
85 "default time unit changed to time resolution" )
87 "inconsistent library configuration detected" )
89 "coroutine package error" )
91 "
wait() is only allowed in SC_THREADs and SC_CTHREADs" )
95 "immediate notification is not allowed during update phase or elaboration" )
97 "
halt() is only allowed in SC_CTHREADs" )
99 "watching() has been deprecated, use reset_signal_is()" )
101 "dont_initialize() has no effect for SC_CTHREADs" )
103 "
wait(n) is only valid for n > 0" )
105 "make sensitive failed" )
107 "make sensitive pos failed" )
109 "make sensitive
neg failed" )
111 "insert module failed" )
113 "remove module failed" )
115 "notify_delayed() cannot be called on events "
116 "that have pending notifications" )
118 "cannot generate unique name from null
string" )
120 "module name stack is empty: did you forget to "
121 "add a sc_module_name parameter to your module "
124 "name already exists")
126 "
wait(n) not allowed for n <= 0" )
128 "immediate self-notification ignored as of IEEE 1666-2011" )
130 "
wait() not allowed during unwinding" )
132 "the simulation contains timed-events but they are "
133 "ignored by sc_cycle() ==> the simulation will be "
136 "sc_unwind_exception not re-thrown during kill/reset" )
138 "kill/reset ignored during unwinding" )
146 "simulation time
value overflow, simulation aborted" )
148 "
sc_stop has already been called" )
152 "attempt to set
sc_stop mode after start will be ignored" )
154 "attempt to restart simulation after error" )
156 "uncaught exception" )
160 "register stage callback" )
162 "forbidden action in stage callback" )
167 "throw_it on method/non-running process is being ignored " )
169 "dynamic event notification encountered when sensitivity is static" )
171 "disable() or dont_initialize() called on process with no static sensitivity, it will be orphaned" )
173 "Undefined process control interaction" )
175 "Attempt to get terminated event for a method process" )
177 "Attempt to register method process with sc_join
object" )
179 "Attempt to invoke process with no semantics() method" )
181 "Attempt to get an event for non-existent process" )
183 "invalid use of sc_(and|or)_event_list" )
185 "Unknown process type" )
187 "sc_time conversion failed")
189 "failed to insert initializer function" )
192 "have been deprecated, use
sc_module(const sc_module_name&)" )
194 "attempt to use an empty process handle ignored" )
196 "no activity or clock movement for
sc_start() invocation" )
198 "a process may not be killed before it is initialized" )
200 "a process may not be asynchronously reset while the simulation is not running" )
202 "throw_it not allowed unless simulation is running " )
204 "corrupted sc_hierarchy_scope unwinding" )
206 "Unmatched unsuspendable/suspendable request " )
208 "unsuspendable/suspendable only valid inside a process" )
210 "Unmatched unsuspendall/suspendall" )
#define SC_CTHREAD(func, edge)
#define SC_DEFINE_MESSAGE(id, unused1, unused2)
const char SC_ID_WAIT_NEGATIVE_CYCLES_[]
void SC_API halt(sc_simcontext *)
const char SC_ID_SET_DEFAULT_TIME_UNIT_[]
const char SC_ID_INSTANCE_EXISTS_[]
const char SC_ID_EVENT_ON_NULL_PROCESS_[]
const char SC_ID_RESET_PROCESS_WHILE_NOT_RUNNING_[]
const char SC_ID_WAIT_N_INVALID_[]
const char SC_ID_IMMEDIATE_NOTIFICATION_[]
const char SC_ID_REMOVE_MODULE_[]
const char SC_ID_DONT_INITIALIZE_[]
const char SC_ID_VC6_PROCESS_HELPER_[]
const char SC_ID_MAKE_SENSITIVE_NEG_[]
const char SC_ID_CYCLE_MISSES_EVENTS_[]
const char SC_ID_OPERAND_NOT_SC_LOGIC_[]
const char SC_ID_OPERAND_NOT_BOOL_[]
const char SC_ID_SET_TIME_RESOLUTION_[]
const char SC_ID_NO_SC_START_ACTIVITY_[]
SC_API void wait(int, sc_simcontext *)
const char SC_ID_SIMULATION_START_AFTER_ERROR_[]
const char SC_ID_NO_BOOL_RETURNED_[]
const char SC_ID_DISABLE_WILL_ORPHAN_PROCESS_[]
const char SC_ID_WAIT_DURING_UNWINDING_[]
const char SC_ID_EMPTY_PROCESS_HANDLE_[]
const char SC_ID_BAD_SC_MODULE_CONSTRUCTOR_[]
const char SC_ID_TIME_CONVERSION_FAILED_[]
const char SC_ID_METHOD_TERMINATION_EVENT_[]
const char SC_ID_INSERT_MODULE_[]
const char SC_ID_NOTIFY_DELAYED_[]
const char SC_ID_RETHROW_UNWINDING_[]
const char SC_ID_SIMULATION_UNCAUGHT_EXCEPTION_[]
const char SC_ID_EVENT_LIST_FAILED_[]
const char SC_ID_DEFAULT_TIME_UNIT_CHANGED_[]
const char SC_ID_SIMULATION_STOP_CALLED_TWICE_[]
const char SC_ID_VC6_MAX_PROCESSES_EXCEEDED_[]
const char SC_ID_SC_MODULE_NAME_USE_[]
SC_API void next_trigger(sc_simcontext *)
const char SC_ID_COROUTINE_ERROR_[]
const char SC_ID_SIMULATION_START_AFTER_STOP_[]
const char SC_ID_SET_STACK_SIZE_[]
const char SC_ID_PROCESS_ALREADY_UNWINDING_[]
const char SC_ID_CORRUPT_HIERARCHY_SCOPE_[]
const char SC_ID_MODULE_THREAD_AFTER_START_[]
const char SC_ID_UNKNOWN_PROCESS_TYPE_[]
const char SC_ID_INCONSISTENT_API_CONFIG_[]
const char SC_ID_MODULE_METHOD_AFTER_START_[]
const char SC_ID_NEXT_TRIGGER_NOT_ALLOWED_[]
const char SC_ID_ILLEGAL_CHARACTERS_[]
const char SC_ID_UNMATCHED_SUSPENDABLE_[]
const char SC_ID_END_MODULE_NOT_CALLED_[]
const char SC_ID_SC_MODULE_NAME_REQUIRED_[]
const char SC_ID_INSERT_INITIALIZER_FN_[]
const char SC_ID_SIMULATION_START_UNEXPECTED_[]
const char SC_ID_THROW_IT_WHILE_NOT_RUNNING_[]
const char SC_ID_WAIT_NOT_ALLOWED_[]
SC_API const char SC_ID_REGISTER_ID_FAILED_[]
const char SC_ID_UNSUSPENDABLE_NOTHREAD_[]
const char SC_ID_SIMULATION_TIME_OVERFLOW_[]
const char SC_ID_MODULE_NAME_STACK_EMPTY_[]
const char SC_ID_NO_PROCESS_SEMANTICS_[]
const char SC_ID_STAGE_CALLBACK_REGISTER_[]
const char SC_ID_STAGE_CALLBACK_FORBIDDEN_[]
const char SC_ID_THROW_IT_IGNORED_[]
const char SC_ID_JOIN_ON_METHOD_HANDLE_[]
const char SC_ID_IMMEDIATE_SELF_NOTIFICATION_[]
const char SC_ID_NO_SC_LOGIC_RETURNED_[]
const char SC_ID_MAKE_SENSITIVE_POS_[]
const char SC_ID_MODULE_CTHREAD_AFTER_START_[]
const char SC_ID_STOP_MODE_AFTER_START_[]
const char SC_ID_GEN_UNIQUE_NAME_[]
const char SC_ID_NAME_EXISTS_[]
const char SC_ID_MAKE_SENSITIVE_[]
const char SC_ID_UNBALANCED_UNSUSPENDALL_[]
const char SC_ID_PROCESS_CONTROL_CORNER_CASE_[]
const char SC_ID_WATCHING_NOT_ALLOWED_[]
const char SC_ID_HIER_NAME_INCORRECT_[]
const char SC_ID_KILL_PROCESS_WHILE_UNITIALIZED_[]
const char SC_ID_NO_INT_RETURNED_[]
const char SC_ID_NOT_EXPECTING_DYNAMIC_EVENT_NOTIFY_[]
const char SC_ID_HALT_NOT_ALLOWED_[]
void neg(sc_fxval &c, const sc_fxnum &a)
sc_core::sc_signal_in_if< T > & value(const T &val)