113317Sgabeblack@google.com/*
213317Sgabeblack@google.com * Copyright 2018 Google, Inc.
313317Sgabeblack@google.com *
413317Sgabeblack@google.com * Redistribution and use in source and binary forms, with or without
513317Sgabeblack@google.com * modification, are permitted provided that the following conditions are
613317Sgabeblack@google.com * met: redistributions of source code must retain the above copyright
713317Sgabeblack@google.com * notice, this list of conditions and the following disclaimer;
813317Sgabeblack@google.com * redistributions in binary form must reproduce the above copyright
913317Sgabeblack@google.com * notice, this list of conditions and the following disclaimer in the
1013317Sgabeblack@google.com * documentation and/or other materials provided with the distribution;
1113317Sgabeblack@google.com * neither the name of the copyright holders nor the names of its
1213317Sgabeblack@google.com * contributors may be used to endorse or promote products derived from
1313317Sgabeblack@google.com * this software without specific prior written permission.
1413317Sgabeblack@google.com *
1513317Sgabeblack@google.com * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1613317Sgabeblack@google.com * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1713317Sgabeblack@google.com * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1813317Sgabeblack@google.com * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1913317Sgabeblack@google.com * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2013317Sgabeblack@google.com * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2113317Sgabeblack@google.com * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2213317Sgabeblack@google.com * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2313317Sgabeblack@google.com * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2413317Sgabeblack@google.com * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2513317Sgabeblack@google.com * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2613317Sgabeblack@google.com *
2713317Sgabeblack@google.com * Authors: Gabe Black
2813317Sgabeblack@google.com */
2913317Sgabeblack@google.com
3013317Sgabeblack@google.com#ifndef __SYSTEMC_EXT_CORE_MESSAGES_HH__
3113317Sgabeblack@google.com#define __SYSTEMC_EXT_CORE_MESSAGES_HH__
3213317Sgabeblack@google.com
3313317Sgabeblack@google.comnamespace sc_core
3413317Sgabeblack@google.com{
3513317Sgabeblack@google.com
3613317Sgabeblack@google.comextern const char SC_ID_NO_BOOL_RETURNED_[];
3713317Sgabeblack@google.comextern const char SC_ID_NO_INT_RETURNED_[];
3813317Sgabeblack@google.comextern const char SC_ID_NO_SC_LOGIC_RETURNED_[];
3913317Sgabeblack@google.comextern const char SC_ID_OPERAND_NOT_SC_LOGIC_[];
4013317Sgabeblack@google.comextern const char SC_ID_OPERAND_NOT_BOOL_[];
4113317Sgabeblack@google.comextern const char SC_ID_INSTANCE_EXISTS_[];
4213317Sgabeblack@google.comextern const char SC_ID_ILLEGAL_CHARACTERS_[];
4313317Sgabeblack@google.comextern const char SC_ID_VC6_PROCESS_HELPER_[];
4413317Sgabeblack@google.comextern const char SC_ID_VC6_MAX_PROCESSES_EXCEEDED_[];
4513317Sgabeblack@google.comextern const char SC_ID_END_MODULE_NOT_CALLED_[];
4613317Sgabeblack@google.comextern const char SC_ID_HIER_NAME_INCORRECT_[];
4713317Sgabeblack@google.comextern const char SC_ID_SET_STACK_SIZE_[];
4813317Sgabeblack@google.comextern const char SC_ID_SC_MODULE_NAME_USE_[];
4913317Sgabeblack@google.comextern const char SC_ID_SC_MODULE_NAME_REQUIRED_[];
5013317Sgabeblack@google.comextern const char SC_ID_SET_TIME_RESOLUTION_[];
5113317Sgabeblack@google.comextern const char SC_ID_SET_DEFAULT_TIME_UNIT_[];
5213317Sgabeblack@google.comextern const char SC_ID_DEFAULT_TIME_UNIT_CHANGED_[];
5313317Sgabeblack@google.comextern const char SC_ID_INCONSISTENT_API_CONFIG_[];
5413317Sgabeblack@google.comextern const char SC_ID_WAIT_NOT_ALLOWED_[];
5513317Sgabeblack@google.comextern const char SC_ID_NEXT_TRIGGER_NOT_ALLOWED_[];
5613317Sgabeblack@google.comextern const char SC_ID_IMMEDIATE_NOTIFICATION_[];
5713317Sgabeblack@google.comextern const char SC_ID_HALT_NOT_ALLOWED_[];
5813317Sgabeblack@google.comextern const char SC_ID_WATCHING_NOT_ALLOWED_[];
5913317Sgabeblack@google.comextern const char SC_ID_DONT_INITIALIZE_[];
6013317Sgabeblack@google.comextern const char SC_ID_WAIT_N_INVALID_[];
6113317Sgabeblack@google.comextern const char SC_ID_MAKE_SENSITIVE_[];
6213317Sgabeblack@google.comextern const char SC_ID_MAKE_SENSITIVE_POS_[];
6313317Sgabeblack@google.comextern const char SC_ID_MAKE_SENSITIVE_NEG_[];
6413317Sgabeblack@google.comextern const char SC_ID_INSERT_MODULE_[];
6513317Sgabeblack@google.comextern const char SC_ID_REMOVE_MODULE_[];
6613317Sgabeblack@google.comextern const char SC_ID_NOTIFY_DELAYED_[];
6713317Sgabeblack@google.comextern const char SC_ID_GEN_UNIQUE_NAME_[];
6813317Sgabeblack@google.comextern const char SC_ID_MODULE_NAME_STACK_EMPTY_[];
6913317Sgabeblack@google.comextern const char SC_ID_NAME_EXISTS_[];
7013317Sgabeblack@google.comextern const char SC_ID_IMMEDIATE_SELF_NOTIFICATION_[];
7113317Sgabeblack@google.comextern const char SC_ID_WAIT_DURING_UNWINDING_[];
7213317Sgabeblack@google.comextern const char SC_ID_CYCLE_MISSES_EVENTS_[];
7313317Sgabeblack@google.comextern const char SC_ID_RETHROW_UNWINDING_[];
7413317Sgabeblack@google.comextern const char SC_ID_PROCESS_ALREADY_UNWINDING_[];
7513317Sgabeblack@google.comextern const char SC_ID_MODULE_METHOD_AFTER_START_[];
7613317Sgabeblack@google.comextern const char SC_ID_MODULE_THREAD_AFTER_START_[];
7713317Sgabeblack@google.comextern const char SC_ID_MODULE_CTHREAD_AFTER_START_[];
7813317Sgabeblack@google.comextern const char SC_ID_SIMULATION_TIME_OVERFLOW_[];
7913317Sgabeblack@google.comextern const char SC_ID_SIMULATION_STOP_CALLED_TWICE_[];
8013317Sgabeblack@google.comextern const char SC_ID_SIMULATION_START_AFTER_STOP_[];
8113317Sgabeblack@google.comextern const char SC_ID_STOP_MODE_AFTER_START_[];
8213317Sgabeblack@google.comextern const char SC_ID_SIMULATION_START_AFTER_ERROR_[];
8313317Sgabeblack@google.comextern const char SC_ID_SIMULATION_UNCAUGHT_EXCEPTION_[];
8413317Sgabeblack@google.comextern const char SC_ID_PHASE_CALLBACKS_UNSUPPORTED_[];
8513317Sgabeblack@google.comextern const char SC_ID_PHASE_CALLBACK_NOT_IMPLEMENTED_[];
8613317Sgabeblack@google.comextern const char SC_ID_PHASE_CALLBACK_REGISTER_[];
8713317Sgabeblack@google.comextern const char SC_ID_PHASE_CALLBACK_FORBIDDEN_[];
8813317Sgabeblack@google.comextern const char SC_ID_SIMULATION_START_UNEXPECTED_[];
8913317Sgabeblack@google.comextern const char SC_ID_THROW_IT_IGNORED_[];
9013317Sgabeblack@google.comextern const char SC_ID_NOT_EXPECTING_DYNAMIC_EVENT_NOTIFY_[];
9113317Sgabeblack@google.comextern const char SC_ID_DISABLE_WILL_ORPHAN_PROCESS_[];
9213317Sgabeblack@google.comextern const char SC_ID_PROCESS_CONTROL_CORNER_CASE_[];
9313317Sgabeblack@google.comextern const char SC_ID_METHOD_TERMINATION_EVENT_[];
9413317Sgabeblack@google.comextern const char SC_ID_JOIN_ON_METHOD_HANDLE_[];
9513317Sgabeblack@google.comextern const char SC_ID_NO_PROCESS_SEMANTICS_[];
9613317Sgabeblack@google.comextern const char SC_ID_EVENT_ON_NULL_PROCESS_[];
9713317Sgabeblack@google.comextern const char SC_ID_EVENT_LIST_FAILED_[];
9813317Sgabeblack@google.comextern const char SC_ID_UNKNOWN_PROCESS_TYPE_[];
9913317Sgabeblack@google.comextern const char SC_ID_TIME_CONVERSION_FAILED_[];
10013317Sgabeblack@google.comextern const char SC_ID_NEGATIVE_SIMULATION_TIME_[];
10113317Sgabeblack@google.comextern const char SC_ID_BAD_SC_MODULE_CONSTRUCTOR_[];
10213317Sgabeblack@google.comextern const char SC_ID_EMPTY_PROCESS_HANDLE_[];
10313317Sgabeblack@google.comextern const char SC_ID_NO_SC_START_ACTIVITY_[];
10413317Sgabeblack@google.comextern const char SC_ID_KILL_PROCESS_WHILE_UNITIALIZED_[];
10513317Sgabeblack@google.comextern const char SC_ID_RESET_PROCESS_WHILE_NOT_RUNNING_[];
10613317Sgabeblack@google.comextern const char SC_ID_THROW_IT_WHILE_NOT_RUNNING_[];
10713317Sgabeblack@google.com
10813317Sgabeblack@google.com} // namespace sc_core
10913317Sgabeblack@google.com
11013317Sgabeblack@google.com#endif // __SYSTEMC_EXT_CORE_MESSAGES_HH__
111