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_int_ids.h -- Report ids for the datatypes/int 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 *****************************************************************************/ 00035 00036 // $Log: sc_int_ids.h,v $ 00037 // Revision 1.2 2011/02/18 20:19:15 acg 00038 // Andy Goodrich: updating Copyright notice. 00039 // 00040 // Revision 1.1.1.1 2006/12/15 20:20:05 acg 00041 // SystemC 2.3 00042 // 00043 // Revision 1.3 2006/01/13 18:49:31 acg 00044 // Added $Log command so that CVS check in comments are reproduced in the 00045 // source. 00046 // 00047 00048 #ifndef SC_INT_IDS_H 00049 #define SC_INT_IDS_H 00050 00051 00052 #include "sysc/utils/sc_report.h" 00053 00054 00055 // ---------------------------------------------------------------------------- 00056 // Report ids (datatypes/int) 00057 // 00058 // Report ids in the range of 400-499. 00059 // ---------------------------------------------------------------------------- 00060 00061 #ifndef SC_DEFINE_MESSAGE 00062 #define SC_DEFINE_MESSAGE(id,unused1,unused2) \ 00063 namespace sc_core { extern const char id[]; } 00064 extern const char SC_ID_REGISTER_ID_FAILED_[]; // in sc_report_handler.cpp 00065 #endif 00066 00067 00068 SC_DEFINE_MESSAGE( SC_ID_INIT_FAILED_, 400, "initialization failed" ) 00069 SC_DEFINE_MESSAGE( SC_ID_ASSIGNMENT_FAILED_, 401, "assignment failed" ) 00070 SC_DEFINE_MESSAGE( SC_ID_OPERATION_FAILED_, 402, "operation failed" ) 00071 SC_DEFINE_MESSAGE( SC_ID_CONVERSION_FAILED_, 403, "conversion failed" ) 00072 00073 00074 00075 00076 #endif 00077 00078 // Taf!