00001 /***************************************************************************** 00002 00003 The following code is derived, directly or indirectly, from the SystemC 00004 source code Copyright (c) 1996-2006 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 Version 2.4 (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.systemc.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 *****************************************************************************/ 00025 00026 /***************************************************************************** 00027 00028 MODIFICATION LOG - modifiers, enter your name, affiliation, date and 00029 changes you are making here. 00030 00031 Name, Affiliation, Date: 00032 Description of Modification: 00033 00034 Alex Riesen, Synopsys, Inc., 2003-02-02 00035 ported to SystemC 2.1 exception reporting. 00036 00037 *****************************************************************************/ 00038 00039 // $Log: sc_utils_ids.h,v $ 00040 // Revision 1.1.1.1 2006/12/15 20:31:39 acg 00041 // SystemC 2.2 00042 // 00043 // Revision 1.6 2006/01/25 00:31:27 acg 00044 // Andy Goodrich: Changed over to use a standard message id of 00045 // SC_ID_IEEE_1666_DEPRECATION for all deprecation messages. 00046 // 00047 // Revision 1.5 2006/01/24 22:01:35 acg 00048 // Andy Goodrich: consolidated all IEEE 1666 compliance messages to use the 00049 // SC_ID_IEEE_1666_DEPRECATION_ message type. 00050 // 00051 // Revision 1.4 2006/01/24 20:53:41 acg 00052 // Andy Goodrich: added warnings indicating that use of integer ids in reports 00053 // is deprecated. Added tracing/sc_trace_ids.h to message list. 00054 // 00055 // Revision 1.3 2006/01/13 18:53:11 acg 00056 // Andy Goodrich: Added $Log command so that CVS comments are reproduced in 00057 // the source. 00058 // 00059 00060 #ifndef SC_UTILS_IDS_H 00061 #define SC_UTILS_IDS_H 00062 00063 // ---------------------------------------------------------------------------- 00064 // Report ids (utils) 00065 // 00066 // Report ids in the range of 800-899. 00067 // ---------------------------------------------------------------------------- 00068 00069 #ifndef SC_DEFINE_MESSAGE 00070 #define SC_DEFINE_MESSAGE(id,unused1,unused2) \ 00071 namespace sc_core { extern const char id[]; } 00072 namespace sc_core { 00073 extern const char SC_ID_REGISTER_ID_FAILED_[]; // in sc_report_handler.cpp 00074 } 00075 #endif 00076 00077 SC_DEFINE_MESSAGE(SC_ID_STRING_TOO_LONG_, 00078 801, "string is too long") 00079 SC_DEFINE_MESSAGE(SC_ID_FRONT_ON_EMPTY_LIST_, 00080 802, "attempt to take front() on an empty list") 00081 SC_DEFINE_MESSAGE(SC_ID_BACK_ON_EMPTY_LIST_, 00082 803, "attempt to take back() on an empty list") 00083 SC_DEFINE_MESSAGE(SC_ID_IEEE_1666_DEPRECATION_, 00084 804, "/IEEE_Std_1666/deprecated" ) 00085 00086 00087 #endif 00088 00089 // Taf!