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

scv_messages.h

Go to the documentation of this file.
00001 /* -*- C++ -*- <this line is for emacs to recognize it as C++ code> */
00002 /*****************************************************************************
00003 
00004   The following code is derived, directly or indirectly, from the SystemC
00005   source code Copyright (c) 1996-2002 by all Contributors.
00006   All Rights reserved.
00007 
00008   The contents of this file are subject to the restrictions and limitations
00009   set forth in the SystemC Open Source License Version 2.3 (the "License");
00010   You may not use this file except in compliance with such restrictions and
00011   limitations. You may obtain instructions on how to receive a copy of the
00012   License at http://www.systemc.org/. Software distributed by Contributors
00013   under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF
00014   ANY KIND, either express or implied. See the License for the specific
00015   language governing rights and limitations under the License.
00016 
00017  *****************************************************************************/
00018 
00019 /*****************************************************************************
00020 
00021   scv_messages.h
00022 
00023   Original Authors (Cadence Design Systems, Inc):
00024   Norris Ip, Dean Shea, John Rose, Jasvinder Singh, William Paulsen,
00025   John Pierce, Rachida Kebichi, Ted Elkind, David Bailey
00026   2002-09-23
00027 
00028  *****************************************************************************/
00029 
00030 /*****************************************************************************
00031 
00032   MODIFICATION LOG - modifiers, enter your name, affiliation, date and
00033   changes you are making here.
00034 
00035       Name, Affiliation, Date:
00036   Description of Modification:
00037 
00038  *****************************************************************************/
00039 
00040 // The current maximum error code number is: 68
00041 // If you add any error messages start at 69 and change these comments.
00042 //
00043 
00044 _SCV_DEFERR(ALL_USER_MESSAGES,1,"",_scv_message::ERROR,"none")
00045 
00046 //
00047 // Generic
00048 //
00049 
00050 _SCV_DEFERR(NOT_IMPLEMENTED_YET,40,\
00051            "The \"%s\" feature is not implemented yet.",\
00052            _scv_message::ERROR,"short")
00053 
00054 _SCV_DEFERR(INTERNAL_ERROR,41,\
00055            "An internal error has occurred; please submit a bug report: %s.",\
00056            _scv_message::ERROR,"short")
00057 
00058 //
00059 // Bags
00060 //
00061 
00062 _SCV_DEFERR(BAG_ZERO_UNMARKED_OBJECTS,2,\
00063            "There are no marked objects in scv_bag '%s'.",\
00064            _scv_message::WARNING,"short")
00065 
00066 _SCV_DEFERR(BAG_ZERO_MARKED_OBJECTS,3,\
00067            "There are no unmarked objects in scv_bag '%s'.", \
00068            _scv_message::WARNING,"short")
00069 
00070 _SCV_DEFERR(BAG_INVALID_PEEK_ERASE,4,\
00071            "An object can be removed from a bag only if it was referenced by peek_next or peek_random. \nThere is no such object in scv_bag '%s'.",\
00072            _scv_message::WARNING,"short")
00073 
00074 _SCV_DEFERR(BAG_INVALID_PEEK_RETURN,5,
00075            "An object can be returned in a bag only if it was referenced by peek_next or peek_random. \nThere is no such object in scv_bag '%s'.",\
00076            _scv_message::ERROR,"short")
00077 
00078 _SCV_DEFERR(BAG_INVALID_ADD_ARGUMENT,6,\
00079            "The second argument for scv_bag::add must be a non-zero positive integer; the actual argument passed in this call was '%d'.",\
00080            _scv_message::ERROR,"none")
00081 
00082 _SCV_DEFERR(BAG_INVALID_PEEK_MARK,7,\
00083            "An object can be marked in a bag only if it was referenced by peek_next or peek_random. \nThere is no such object in scv_bag '%s'.",\
00084            _scv_message::WARNING,"short")
00085 
00086 _SCV_DEFERR(BAG_INVALID_PEEK_UNMARK,8,\
00087            "An object can be unmarked in a bag only if it was referenced by peek_next or peek_random. \nThere is no such object in scv_bag '%s'.",\
00088            _scv_message::WARNING,"short")
00089 
00090 //
00091 // Empty data structures
00092 //
00093 
00094 _SCV_DEFERR(EMPTY_BAG,9,"There is no object to peek at and return from scv_bag '%s'.",\
00095            _scv_message::ERROR,"short")
00096 
00097 _SCV_DEFERR(EMPTY_LIST,10,"%s was called on an empty %s, '%s'.",_scv_message::ERROR,"short")
00098 
00099 //
00100 // Sparse arrays
00101 //
00102 
00103 _SCV_DEFERR(SPARSE_ARRAY_ILLEGAL_INDEX,11,\
00104            "Index = %d cannot be used to index scv_sparse_array '%s'. \nThe valid range is lower = %d, upper = %d.",\
00105            _scv_message::ERROR,"short")
00106 
00107 //
00108 // Random
00109 //
00110 
00111 _SCV_DEFERR(RANDOM_NULL_ALGORITHM,12,\
00112      "Although CUSTOM is selected in '%s', the pointer to the custom algorithm is NULL.\n RAND48 will be used, instead.",\
00113      _scv_message::WARNING,"short")
00114 
00115 _SCV_DEFERR(RANDOM_OUT_OF_ORDER_SEED,13,\
00116      "The seed for '%s' was retrieved out of order from the \"%s\" seed information file. \nThe order in which the instances were stored has changed.",\
00117      _scv_message::WARNING,"none")
00118 
00119 _SCV_DEFERR(RANDOM_CANNOT_MATCH_SEED,14,\
00120      "No matching seed found for instance '%s' from the '%s' seed information file.",\
00121      _scv_message::WARNING,"none")
00122 
00123 _SCV_DEFERR(RANDOM_RETRIEVING_SEED_WITH_SAME_NAME,15,\
00124      "Identical names, '%s', found when retrieving seeds from the '%s' seed information file.\nThere might be a problem in matching the seed to \nits corresponding generator instance if the order of instantiation has changed.",\
00125      _scv_message::WARNING,"none")
00126 
00127 _SCV_DEFERR(RANDOM_STORING_SEED_WITH_SAME_NAME,16,\
00128      "Identical names, '%s', founf when storing seeds to the '%s' seed information file.\n\nThere might be a problem in matching the seed to \nits corresponding generator instance if the order of instantiation has changed.",\
00129      _scv_message::WARNING,"none")
00130 
00131 _SCV_DEFERR(RANDOM_SEED_MONITOR_NOT_OFF,17,\
00132      "The seed_monitor_on method was called a second time before closing seed file '%s' by calling seed_monitor_off.",\
00133      _scv_message::WARNING,"short")
00134 
00135 _SCV_DEFERR(RANDOM_SEED_NOT_EXHAUSTED,18,\
00136        "The seed file '%s' was not exhausted when it was closed.",\
00137        _scv_message::WARNING,"none")
00138 
00139 _SCV_DEFERR(RANDOM_CANNOT_OPEN_SEED_FILE,19,\
00140      "Seed file '%s' cannot be opened.",\
00141      _scv_message::WARNING,"none")
00142 
00143 _SCV_DEFERR(RANDOM_TYPE_NOT_SUPPORTED,68,\
00144      "Randomization for '%s' type not supported. Use disable_randomization to turn off this WARNING message.",\
00145      _scv_message::WARNING,"none")
00146 
00147 //
00148 // Constraint Solver messages
00149 //
00150 
00151 _SCV_DEFERR(CONSTRAINT_ERROR_INTERNAL,21,\
00152            "An internal error occurred; %s.", \
00153            _scv_message::ERROR,"short")
00154 
00155 _SCV_DEFERR(CONSTRAINT_WARNING_EQUAL_4_STATE,22,\
00156            "The 'X' and 'Z' values in signal '%s' will be converted to 0 to obtain a value for '%s' that will satisfy the constraints.",\
00157            _scv_message::WARNING,"none")
00158 
00159 _SCV_DEFERR(CONSTRAINT_ERROR_NOTIMPLEMENTED,23,\
00160            "The '%s' facility is not implemented yet.",\
00161            _scv_message::ERROR,"none")
00162 
00163 _SCV_DEFERR(CONSTRAINT_ERROR_OVER_CONSTRAINED,24,\
00164            "Constraints for over-constrained object '%s' will be ignored.",\
00165            _scv_message::ERROR,"none")
00166 
00167 _SCV_DEFERR(CONSTRAINT_WARNING_IGNORE_SOFT_CONSTRAINT,25,\
00168            "Soft constraints for over-constrained  object '%s' will be ignored. \n",\
00169            _scv_message::WARNING,"none")
00170 
00171 _SCV_DEFERR(CONSTRAINT_INVALID_SCAN,26,\
00172            "The scan interval for the avoid-duplicate mode of generator '%s' is invalid; \nhence, it will be ignored.",\
00173            _scv_message::ERROR,"short")
00174 
00175 _SCV_DEFERR(CONSTRAINT_INVALID_DISTANCE,27,\
00176            "The distance for the avoid-duplicate mode of generator '%s' is invalid; \nhence, it will be ignored.",\
00177            _scv_message::ERROR,"short")
00178 
00179 _SCV_DEFERR(CONSTRAINT_BAD_BAG,28,\
00180            "The distribution that was specified for '%s' has no legal value.\nThis problem was detected during %s.",\
00181            _scv_message::ERROR,"short")
00182 
00183 _SCV_DEFERR(CONSTRAINT_EXPRESSION_TYPEMISMATCHED,29,\
00184            "A binary decision diagram for expression '%s' cannot be created. \nSubexpressions that have different types cannot be compared. ",\
00185            _scv_message::ERROR,"none")
00186 
00187 _SCV_DEFERR(CONSTRAINT_INVALID_MODE,59,\
00188     "Cannot set mode to distribution for constraint object '%s'. %s. The setting will be ignored.",\
00189     _scv_message::ERROR,"short")
00190 
00191 _SCV_DEFERR(CONSTRAINT_INVALID_RANGE,67,\
00192            "The upper bound of the constraint interval for smart_ptr '%s' is less than the lower bound. ",\
00193            _scv_message::ERROR,"none")
00194 
00195 _SCV_DEFERR(CONSTRAINT_INVALID_COMBINATION_COMPLEX,60,\
00196     "Cannot set complex constraints on an object having range constraints set using keep_only/keep_out. The constraint expression on scv_smart_ptr '%s' in constraint object %s will be ignored.",\
00197     _scv_message::WARNING,"short")
00198 
00199 _SCV_DEFERR(CONSTRAINT_INVALID_COMBINATION_RANGE,61,\
00200     "Cannot set range constraints on an object having complex constraints. The constraint set using keep_only/keep_out on scv_smart_ptr '%s' in constraint object %s will be ignored.",\
00201     _scv_message::WARNING,"short")
00202 
00203 _SCV_DEFERR(CONSTRAINT_DISTRIBUTION_OVERWRITTEN,62,\
00204     "Setting complex constraint expression on scv_smart_ptr %s in constraint object '%s'. The distribution setting will be saved. You can use set_mode to use distribution instead of complex constraints.",\
00205     _scv_message::WARNING,"short")
00206 
00207 _SCV_DEFERR(CONSTRAINT_TYPE_MISMATCH,63,\
00208     "Objects must be of the same type in use_constraint. The scv_smart_ptr %s is of type %s, while scv_smart_ptr %s is of type %s. This use_constraint will be ignored.",\
00209     _scv_message::ERROR,"short")
00210 
00211 _SCV_DEFERR(CONSTRAINT_INVALID_USE_CONSTRAINT,64,\
00212     "Cannot use use_constraint on scv_smart_ptr '%s' in constraint object '%s'.",\
00213     _scv_message::ERROR,"short")
00214 
00215 _SCV_DEFERR(CONSTRAINT_DEFAULT_CONSTRAINT,65,\
00216     "Trying to set a constraint from an object with a default constraint will not have any effect. scv_smart_ptr %s in current mode has no constraint.",\
00217     _scv_message::WARNING,"short")
00218 
00219 //
00220 // Transactions
00221 //
00222 
00223 _SCV_DEFERR(TRANSACTION_RECORDING_INTERNAL,34,\
00224   "An internal error occurred in transaction recording:\n'%s'",\
00225   _scv_message::ERROR,"short")
00226 
00227 _SCV_DEFERR(TRANSACTION_RECORDING_INTERNAL_FATAL,51,\
00228         "An internal error occurred in transaction recording:\n'%s'",\
00229         _scv_message::FATAL,"short")
00230 
00231 //
00232 // Expression
00233 //
00234 
00235 _SCV_DEFERR(EXPRESSION_ILLEGAL_EXTRACTION,38,\
00236            "%s cannot be extracted from an expression.",\
00237            _scv_message::ERROR,"short")
00238 
00239 //
00240 // Introspection
00241 //
00242 
00243 _SCV_DEFERR(INTROSPECTION_INVALID_EXTENSIONS,39,\
00244     "A valid extension (scv_extensions<T>) has not been defined for your composite/enum type.",
00245     _scv_message::ERROR,"short")
00246 
00247 _SCV_DEFERR(INTROSPECTION_INVALID_INDEX,42,\
00248     "The value %d is an invalid index for %s %s.",\
00249     _scv_message::ERROR,"short")
00250 
00251 _SCV_DEFERR(INTROSPECTION_NULL_POINTER,43,\
00252     "The NULL value in pointer %s cannot be dereferenced.",\
00253     _scv_message::ERROR,"short")
00254 
00255 _SCV_DEFERR(INTROSPECTION_BAD_CALLBACK_REMOVAL,44,\
00256     "Cannot remove an invalid callback.",\
00257     _scv_message::ERROR,"short")
00258 
00259 _SCV_DEFERR(INTROSPECTION_INVALID_DYNAMIC_EXTENSIONS,45,\
00260     "Cannot access dynamic extensions (%s) from objects other than scv_smart_ptr.",\
00261     _scv_message::ERROR,"short")
00262 
00263 _SCV_DEFERR(INTROSPECTION_INVALID_EXPRESSION,46,\
00264     "Cannot generate expression from %s %s.",\
00265     _scv_message::ERROR,"short")
00266 
00267 _SCV_DEFERR(INTROSPECTION_INVALID_READ_WRITE,47,\
00268     "Cannot use %s() to perform the %s operation on %s %s.",\
00269     _scv_message::ERROR,"short")
00270 
00271 _SCV_DEFERR(INTROSPECTION_INVALID_ENUM_VALUE,48,\
00272     "Cannot obtain an enum string of type %s from integer value %d.",\
00273     _scv_message::ERROR,"short")
00274 
00275 _SCV_DEFERR(INTROSPECTION_GET_INSTANCE_USAGE,49,\
00276     "You are accessing a data object through get_instance(), which bypasses the value change callback mechanism. If you are actually changing the data object, you should also call trigger_value_change_cb() explicitly.",\
00277     _scv_message::WARNING,"short")
00278 
00279 _SCV_DEFERR(INTROSPECTION_INVALID_ENUM_STRING,50,\
00280     "Cannot assign invalid string \"%s\" to an enum.",\
00281     _scv_message::ERROR,"short")
00282 
00283 _SCV_DEFERR(INTROSPECTION_SIZE_MISMATCH_FOR_WIDE_DATA,57,\
00284     "The %s argument does not have the same width as the data; illegal call to %s",\
00285     _scv_message::ERROR,"short")
00286 
00287 _SCV_DEFERR(INTROSPECTION_EMPTY_DISTRIBUTION,58,\
00288     "Setting mode to DISTRIBUTION for '%s' without adding a scv_bag<T> OR scv_bag<pair<T, T> > object. The setting will be ignored.",\
00289     _scv_message::ERROR,"short")
00290 

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