27 #ifndef SC_KERNEL_IDS_H 
   28 #define SC_KERNEL_IDS_H 
   40 #ifndef SC_DEFINE_MESSAGE 
   41 #define SC_DEFINE_MESSAGE(id,unused1,unused2) \ 
   42     namespace sc_core { extern const char id[]; } 
   49         "operator does not return boolean")
 
   51         "operator does not return 
int")
 
   53         "operator does not return sc_logic")
 
   55         "operand is not sc_logic")
 
   57         "operand is not 
bool")
 
   59         "
object already exists")       
 
   61         "illegal characters" )
 
   63         "internal 
error: sc_vc6_process_helper" )
 
   65         "maximum number of processes per module 
exceeded (VC6)" )
 
   67         "module construction not properly 
completed: did "
 
   68         "you forget to add a sc_module_name parameter to "
 
   69         "your module constructor?" )
 
   71         "hierarchical name as shown may be incorrect due to previous errors" )
 
   77         "set_stack_size() is only allowed for SC_METHODs, SC_THREADs and SC_CTHREADs" )
 
   79         "incorrect use of sc_module_name" )
 
   81         "an sc_module_name parameter for your constructor is required" )
 
   83         "set time resolution failed" )
 
   85         "set default time unit failed" )
 
   87         "default time unit changed to time resolution" )
 
   89         "inconsistent library configuration detected" )
 
   92         "
wait() is only allowed in SC_THREADs and SC_CTHREADs" )
 
   96         "immediate notification is not allowed during the update phase" )
 
   98         "
halt() is only allowed in SC_CTHREADs" )
 
  104         "
wait(n) is only valid for n > 0" )
 
  106         "make sensitive failed" )
 
  108         "make sensitive pos failed" )
 
  110         "make sensitive 
neg failed" )
 
  112         "insert module failed" )
 
  114         "remove module failed" )
 
  116         "notify_delayed() cannot be called on events "
 
  117         "that have pending notifications" )
 
  119         "cannot generate unique name from null 
string" )
 
  121         "module name stack is empty: did you forget to "
 
  122         "add a sc_module_name parameter to your module "
 
  127          "immediate self-notification ignored as of IEEE 1666-2011" )
 
  129          "
wait() not allowed during unwinding" )
 
  131          "the simulation contains timed-events but they are "
 
  132          "ignored by sc_cycle() ==> the simulation will be "
 
  135          "sc_unwind_exception not re-thrown during kill/reset" )
 
  137          "kill/reset ignored during unwinding" )
 
  139         "call to 
SC_METHOD in sc_module while simulation running" )
 
  141         "call to 
SC_THREAD in sc_module while simulation running" )
 
  143         "call to 
SC_CTHREAD in sc_module while simulation running" )
 
  145         "simulation time 
value overflow, simulation aborted" )
 
  147         "
sc_stop has already been called" ) 
 
  151         "attempt to set 
sc_stop mode  after start will be ignored" ) 
 
  153        "attempt to restart simulation after 
error" )
 
  155        "uncaught exception" )
 
  157        "simulation phase callbacks not enabled")
 
  159        "empty simulation phase callback called" )
 
  161        "register simulation phase callback" )
 
  163        "forbidden action in simulation phase 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" )
 
  184         "Unknown process type" )
 
  187         "negative simulation interval specified in 
sc_start call" )
 
  189         "sc_module(const 
char*), sc_module(const std::
string&) "
 
  190         "have been deprecated, use sc_module(const sc_module_name&)" )
 
  192         "attempt to use an empty process handle ignored" )
 
  194         "no activity or clock movement for 
sc_start() invocation" )
 
  196         "a process may not be killed before it is initialized" )
 
  198         "a process may not be asynchronously reset while the simulation is not running" )
 
  200         "throw_it not allowed unless simulation is running " )
 
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 next_trigger() is only allowed in SC_METHODs" ) SC_DEFINE_MESSAGE(SC_ID_IMMEDIATE_NOTIFICATION_ 
 
void halt(sc_simcontext *)
 
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 the update phase use dont_initialize() has no effect for SC_CTHREADs" ) SC_DEFINE_MESSAGE(SC_ID_WAIT_N_INVALID_ 
 
#define SC_DEFINE_MESSAGE(id, unused1, unused2)
 
#define SC_METHOD(func, seg_id, inst_id)
Two new parameters segment ID and instance ID are added for the out-of-order simulation. 
 
void wait(int, sc_simcontext *)
 
#define SC_CTHREAD(func, edge, seg_id, inst_id)
Two new parameters segment ID and instance ID are added for the out-of-order simulation. 
 
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 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 the update phase watching() has been deprecated
 
operand is not sc_logic object already exists internal error
 
#define SC_THREAD(func, seg_id, inst_id)
Two new parameters segment ID and instance ID are added for the out-of-order simulation. 
 
operand is not sc_logic object already exists internal maximum number of processes per module module construction not properly completed
 
void neg(sc_fxval &c, const sc_fxnum &a)
 
const char SC_ID_REGISTER_ID_FAILED_[]
 
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 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 the update phase use reset_signal_is()" ) SC_DEFINE_MESSAGE(SC_ID_DONT_INITIALIZE_