Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

sc_fx_ids.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002 
00003   The following code is derived, directly or indirectly, from the SystemC
00004   source code Copyright (c) 1996-2004 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.3 (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_fx_ids.h -- Report ids for the datatypes/fx 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 #ifndef SC_FX_IDS_H
00037 #define SC_FX_IDS_H
00038 
00039 
00040 #include "systemc/utils/sc_report.h"
00041 
00042 
00043 // ----------------------------------------------------------------------------
00044 //  Report ids (datatypes/fx)
00045 //
00046 //  Report ids in the range of 300-399.
00047 // ----------------------------------------------------------------------------
00048 
00049 #ifndef SC_DEFINE_MESSAGE
00050 #define SC_DEFINE_MESSAGE(id,unused1,unused2) extern const char id[];    
00051 extern const char SC_ID_REGISTER_ID_FAILED_[]; // in sc_report_handler.cpp
00052 #endif
00053 
00054 
00055 SC_DEFINE_MESSAGE( SC_ID_INVALID_WL_, 300,
00056   "total wordlength <= 0 is not valid" )
00057 SC_DEFINE_MESSAGE( SC_ID_INVALID_N_BITS_, 301,
00058   "number of bits < 0 is not valid" )
00059 SC_DEFINE_MESSAGE( SC_ID_INVALID_DIV_WL_, 302,
00060   "division wordlength <= 0 is not valid" )
00061 SC_DEFINE_MESSAGE( SC_ID_INVALID_CTE_WL_, 303,
00062   "constant wordlength <= 0 is not valid" )
00063 SC_DEFINE_MESSAGE( SC_ID_INVALID_MAX_WL_, 304,
00064   "maximum wordlength <= 0 and != -1 is not valid" )
00065 SC_DEFINE_MESSAGE( SC_ID_INVALID_FX_VALUE_, 305,
00066     "invalid fixed-point value" )
00067 SC_DEFINE_MESSAGE( SC_ID_INVALID_O_MODE_, 306,
00068   "invalid overflow mode" )
00069 SC_DEFINE_MESSAGE( SC_ID_OUT_OF_RANGE_, 307,
00070   "index out of range" )
00071 SC_DEFINE_MESSAGE( SC_ID_CONTEXT_BEGIN_FAILED_, 308,
00072   "context begin failed" )  
00073 SC_DEFINE_MESSAGE( SC_ID_CONTEXT_END_FAILED_, 309, 
00074   "context end failed" )
00075 SC_DEFINE_MESSAGE( SC_ID_WRAP_SM_NOT_DEFINED_, 310, 
00076   "SC_WRAP_SM not defined for unsigned numbers" )
00077 
00078 
00079 
00080 #endif
00081 
00082 // Taf!

Generated on Fri Jan 14 08:29:01 2005 for SystemC2.1beta11(excludingMSLib)(IncludingSCV)\nProvidedby:www.openverificationfoundation.org by doxygen1.2.18