00001 /***************************************************************************** 00002 00003 The following code is derived, directly or indirectly, from the SystemC 00004 source code Copyright (c) 1996-2014 by all Contributors. 00005 All Rights reserved. 00006 00007 The contents of this file are subject to the restrictions and limitations 00008 set forth in the SystemC Open Source License (the "License"); 00009 You may not use this file except in compliance with such restrictions and 00010 limitations. You may obtain instructions on how to receive a copy of the 00011 License at http://www.accellera.org/. Software distributed by Contributors 00012 under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF 00013 ANY KIND, either express or implied. See the License for the specific 00014 language governing rights and limitations under the License. 00015 00016 *****************************************************************************/ 00017 00018 /***************************************************************************** 00019 00020 sc_utils_ids.h -- Report ids for the utils code. 00021 00022 Original Author: Martin Janssen, Synopsys, Inc., 2002-01-17 00023 00024 CHANGE LOG AT END OF FILE 00025 *****************************************************************************/ 00026 00027 #ifndef SC_UTILS_IDS_H 00028 #define SC_UTILS_IDS_H 00029 00030 // ---------------------------------------------------------------------------- 00031 // Report ids (utils) 00032 // 00033 // Report ids in the range of 800-899. 00034 // ---------------------------------------------------------------------------- 00035 00036 #ifndef SC_DEFINE_MESSAGE 00037 #define SC_DEFINE_MESSAGE(id,unused1,unused2) \ 00038 namespace sc_core { extern const char id[]; } 00039 namespace sc_core { 00040 extern const char SC_ID_REGISTER_ID_FAILED_[]; // in sc_report_handler.cpp 00041 } 00042 #endif 00043 00044 SC_DEFINE_MESSAGE(SC_ID_STRING_TOO_LONG_, 00045 801, "string is too long") 00046 SC_DEFINE_MESSAGE(SC_ID_FRONT_ON_EMPTY_LIST_, 00047 802, "attempt to take front() on an empty list") 00048 SC_DEFINE_MESSAGE(SC_ID_BACK_ON_EMPTY_LIST_, 00049 803, "attempt to take back() on an empty list") 00050 SC_DEFINE_MESSAGE(SC_ID_IEEE_1666_DEPRECATION_, 00051 804, "/IEEE_Std_1666/deprecated" ) 00052 SC_DEFINE_MESSAGE(SC_ID_VECTOR_INIT_CALLED_TWICE_, 00053 805, "sc_vector::init has already been called" ) 00054 SC_DEFINE_MESSAGE(SC_ID_VECTOR_INIT_INVALID_CONTEXT_, 00055 806, "sc_vector::init called from invalid object context" ) 00056 SC_DEFINE_MESSAGE(SC_ID_VECTOR_BIND_EMPTY_, 00057 807, "sc_vector::bind called with empty range" ) 00058 SC_DEFINE_MESSAGE(SC_ID_VECTOR_NONOBJECT_ELEMENTS_, 00059 808, "sc_vector::get_elements called for element type " 00060 "not derived from sc_object" ) 00061 00062 /***************************************************************************** 00063 00064 MODIFICATION LOG - modifiers, enter your name, affiliation, date and 00065 changes you are making here. 00066 00067 Name, Affiliation, Date: 00068 Description of Modification: 00069 00070 Alex Riesen, Synopsys, Inc., 2003-02-02 00071 ported to SystemC 2.1 exception reporting. 00072 00073 *****************************************************************************/ 00074 00075 // $Log: sc_utils_ids.h,v $ 00076 // Revision 1.5 2011/08/26 20:46:20 acg 00077 // Andy Goodrich: moved the modification log to the end of the file to 00078 // eliminate source line number skew when check-ins are done. 00079 // 00080 // Revision 1.4 2011/02/18 20:38:44 acg 00081 // Andy Goodrich: Updated Copyright notice. 00082 // 00083 // Revision 1.3 2011/02/14 17:54:25 acg 00084 // Andy Goodrich: Philipp's addition of early bind checks. 00085 // 00086 // Revision 1.2 2010/12/07 20:10:19 acg 00087 // Andy Goodrich: messages for new sc_vector class. 00088 // 00089 // Revision 1.1.1.1 2006/12/15 20:20:06 acg 00090 // SystemC 2.3 00091 // 00092 // Revision 1.6 2006/01/25 00:31:27 acg 00093 // Andy Goodrich: Changed over to use a standard message id of 00094 // SC_ID_IEEE_1666_DEPRECATION for all deprecation messages. 00095 // 00096 // Revision 1.5 2006/01/24 22:01:35 acg 00097 // Andy Goodrich: consolidated all IEEE 1666 compliance messages to use the 00098 // SC_ID_IEEE_1666_DEPRECATION_ message type. 00099 // 00100 // Revision 1.4 2006/01/24 20:53:41 acg 00101 // Andy Goodrich: added warnings indicating that use of integer ids in reports 00102 // is deprecated. Added tracing/sc_trace_ids.h to message list. 00103 // 00104 // Revision 1.3 2006/01/13 18:53:11 acg 00105 // Andy Goodrich: Added $Log command so that CVS comments are reproduced in 00106 // the source. 00107 // 00108 00109 #endif 00110 00111 // Taf!