33 #ifndef SC_KERNEL_IDS_H 34 #define SC_KERNEL_IDS_H 46 #ifndef SC_DEFINE_MESSAGE 48 #define SC_DEFINE_MESSAGE(id,unused1,unused2) \ 49 namespace sc_core { extern SC_API const char id[]; } 56 "operator does not return boolean")
58 "operator does not return int")
60 "operator does not return sc_logic")
62 "operand is not sc_logic")
64 "operand is not bool")
66 "object already exists")
68 "illegal characters" )
70 "internal
error: sc_vc6_process_helper" )
72 "maximum number of processes per module
exceeded (VC6)" )
74 "module construction not properly
completed: did "
75 "you forget to add a sc_module_name parameter to "
76 "your module constructor?" )
78 "hierarchical name as shown may be incorrect due to previous errors" )
80 "set_stack_size() is only allowed for SC_THREADs and SC_CTHREADs" )
82 "incorrect use of sc_module_name" )
84 "an sc_module_name parameter for your constructor is required" )
86 "set time resolution failed" )
88 "set default time unit failed" )
90 "default time unit changed to time resolution" )
92 "inconsistent library configuration detected" )
95 "
wait() is only allowed in SC_THREADs and SC_CTHREADs" )
99 "immediate notification is not allowed during update phase or elaboration" )
101 "
halt() is only allowed in SC_CTHREADs" )
107 "
wait(n) is only valid for n > 0" )
109 "make sensitive failed" )
111 "make sensitive pos failed" )
113 "make sensitive
neg failed" )
115 "insert module failed" )
117 "remove module failed" )
119 "notify_delayed() cannot be called on events "
120 "that have pending notifications" )
122 "cannot generate unique name from null
string" )
124 "module name stack is empty: did you forget to "
125 "add a sc_module_name parameter to your module "
128 "name already exists")
131 "immediate self-notification ignored as of IEEE 1666-2011" )
133 "
wait() not allowed during unwinding" )
135 "the simulation contains timed-events but they are "
136 "ignored by sc_cycle() ==> the simulation will be "
139 "sc_unwind_exception not re-thrown during kill/reset" )
141 "kill/reset ignored during unwinding" )
149 "simulation time
value overflow, simulation aborted" )
151 "
sc_stop has already been called" )
155 "attempt to set
sc_stop mode after start will be ignored" )
157 "attempt to restart simulation after
error" )
159 "uncaught exception" )
161 "simulation phase callbacks not enabled")
163 "empty simulation phase callback called" )
165 "register simulation phase callback" )
167 "forbidden action in simulation phase callback" )
172 "throw_it on method/non-running process is being ignored " )
174 "dynamic event notification encountered when sensitivity is static" )
176 "disable() or
dont_initialize() called on process with no static sensitivity, it will be orphaned" )
178 "Undefined process control interaction" )
180 "Attempt to get terminated event for a method process" )
182 "Attempt to register method process with sc_join
object" )
184 "Attempt to invoke process with no semantics() method" )
186 "Attempt to get an event for non-existent process" )
188 "invalid use of sc_(and|or)_event_list" )
190 "Unknown process type" )
192 "sc_time conversion failed")
196 "have been deprecated, use
sc_module(const sc_module_name&)" )
198 "attempt to use an empty process handle ignored" )
200 "no activity or clock movement for
sc_start() invocation" )
202 "a process may not be killed before it is initialized" )
204 "a process may not be asynchronously reset while the simulation is not running" )
206 "throw_it not allowed unless simulation is running " )
operand is not sc_logic object already exists internal maximum number of processes per module exceeded(VC6)" ) SC_DEFINE_MESSAGE(SC_ID_END_MODULE_NOT_CALLED_
operand is not sc_logic object already exists internal maximum number of processes per module module construction not properly completed
operand is not sc_logic object already exists internal maximum number of processes per module module construction not properly hierarchical name as shown may be incorrect due to previous errors incorrect use of sc_module_name set time resolution failed default time unit changed to time resolution immediate notification is not allowed during update phase or elaboration use reset_signal_is()" ) SC_DEFINE_MESSAGE(SC_ID_DONT_INITIALIZE_
SC_API void next_trigger(sc_simcontext *)
void SC_API halt(sc_simcontext *)
void neg(sc_fxval &c, const sc_fxnum &a)
sc_clock period is zero sc_clock low time is zero sc_fifo< T > cannot have more than one writer bind interface to port failed complete binding failed remove port failed insert primitive channel failed sc_signal< T > cannot have more than one driver resolved port not bound to resolved signal sc_semaphore requires an initial value
operand is not sc_logic object already exists internal error
#define SC_DEFINE_MESSAGE(id, unused1, unused2)
SC_API const char SC_ID_REGISTER_ID_FAILED_[]
operand is not sc_logic object already exists internal maximum number of processes per module module construction not properly hierarchical name as shown may be incorrect due to previous errors incorrect use of sc_module_name set time resolution failed default time unit changed to time resolution immediate notification is not allowed during update phase or elaboration watching() has been deprecated
Run-time logging and reporting facilities.
operand is not sc_logic object already exists internal maximum number of processes per module module construction not properly hierarchical name as shown may be incorrect due to previous errors incorrect use of sc_module_name set time resolution failed default time unit changed to time resolution immediate notification is not allowed during update phase or elaboration use dont_initialize() has no effect for SC_CTHREADs" ) SC_DEFINE_MESSAGE(SC_ID_WAIT_N_INVALID_
#define SC_CTHREAD(func, edge)
void SC_API wait(int, sc_simcontext *)