00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054 #ifndef SC_COMMUNICATION_IDS_H
00055 #define SC_COMMUNICATION_IDS_H
00056
00057
00058 #include "sysc/utils/sc_report.h"
00059
00060
00061
00062
00063
00064
00065
00066
00067 #ifndef SC_DEFINE_MESSAGE
00068 #define SC_DEFINE_MESSAGE(id,unused1,unused2) \
00069 namespace sc_core { extern const char id[]; }
00070 namespace sc_core {
00071 extern const char SC_ID_REGISTER_ID_FAILED_[];
00072 }
00073 #endif
00074
00075 SC_DEFINE_MESSAGE( SC_ID_PORT_OUTSIDE_MODULE_, 100,
00076 "port specified outside of module" )
00077 SC_DEFINE_MESSAGE( SC_ID_CLOCK_PERIOD_ZERO_, 101,
00078 "sc_clock period is zero" )
00079 SC_DEFINE_MESSAGE( SC_ID_CLOCK_HIGH_TIME_ZERO_, 102,
00080 "sc_clock high time is zero" )
00081 SC_DEFINE_MESSAGE( SC_ID_CLOCK_LOW_TIME_ZERO_, 103,
00082 "sc_clock low time is zero" )
00083 SC_DEFINE_MESSAGE( SC_ID_MORE_THAN_ONE_FIFO_READER_, 104,
00084 "sc_fifo<T> cannot have more than one reader" )
00085 SC_DEFINE_MESSAGE( SC_ID_MORE_THAN_ONE_FIFO_WRITER_, 105,
00086 "sc_fifo<T> cannot have more than one writer" )
00087 SC_DEFINE_MESSAGE( SC_ID_INVALID_FIFO_SIZE_, 106,
00088 "sc_fifo<T> must have a size of at least 1" )
00089 SC_DEFINE_MESSAGE( SC_ID_BIND_IF_TO_PORT_, 107,
00090 "bind interface to port failed" )
00091 SC_DEFINE_MESSAGE( SC_ID_BIND_PORT_TO_PORT_, 108,
00092 "bind parent port to port failed" )
00093 SC_DEFINE_MESSAGE( SC_ID_COMPLETE_BINDING_, 109,
00094 "complete binding failed" )
00095 SC_DEFINE_MESSAGE( SC_ID_INSERT_PORT_, 110,
00096 "insert port failed" )
00097 SC_DEFINE_MESSAGE( SC_ID_REMOVE_PORT_, 111,
00098 "remove port failed" )
00099 SC_DEFINE_MESSAGE( SC_ID_GET_IF_, 112,
00100 "get interface failed" )
00101 SC_DEFINE_MESSAGE( SC_ID_INSERT_PRIM_CHANNEL_, 113,
00102 "insert primitive channel failed" )
00103 SC_DEFINE_MESSAGE( SC_ID_REMOVE_PRIM_CHANNEL_, 114,
00104 "remove primitive channel failed" )
00105 SC_DEFINE_MESSAGE( SC_ID_MORE_THAN_ONE_SIGNAL_DRIVER_, 115,
00106 "sc_signal<T> cannot have more than one driver" )
00107 SC_DEFINE_MESSAGE( SC_ID_NO_DEFAULT_EVENT_, 116,
00108 "channel doesn't have a default event" )
00109 SC_DEFINE_MESSAGE( SC_ID_RESOLVED_PORT_NOT_BOUND_, 117,
00110 "resolved port not bound to resolved signal" )
00111 SC_DEFINE_MESSAGE( SC_ID_FIND_EVENT_, 118,
00112 "find event failed" )
00113 SC_DEFINE_MESSAGE( SC_ID_INVALID_SEMAPHORE_VALUE_, 119,
00114 "sc_semaphore requires an initial value >= 0" )
00115 SC_DEFINE_MESSAGE( SC_ID_SC_EXPORT_HAS_NO_INTERFACE_, 120,
00116 "sc_export instance has no interface" )
00117 SC_DEFINE_MESSAGE( SC_ID_SC_EXPORT_AFTER_START_, 121,
00118 "insert sc_export failed, sc_export instance after simulation has started" )
00119 SC_DEFINE_MESSAGE( SC_ID_SC_EXPORT_ALREADY_REGISTERED_, 122,
00120 "insert sc_export failed, sc_export already inserted" )
00121 SC_DEFINE_MESSAGE( SC_ID_SC_EXPORT_NOT_REGISTERED_, 123,
00122 "remove sc_export failed, sc_export not registered" )
00123 SC_DEFINE_MESSAGE( SC_ID_SC_EXPORT_NOT_BOUND_AFTER_CONSTRUCTION_, 124,
00124 "sc_export instance not bound to interface at end of construction" )
00125 SC_DEFINE_MESSAGE( SC_ID_ATTEMPT_TO_WRITE_TO_CLOCK_, 125,
00126 "attempt to write the value of an sc_clock instance" )
00127 SC_DEFINE_MESSAGE( SC_ID_SC_EXPORT_ALREADY_BOUND_, 126,
00128 "sc_export instance already bound" )
00129 SC_DEFINE_MESSAGE( SC_ID_OPERATION_ON_NON_SPECIALIZED_SIGNAL_, 127,
00130 "attempted specalized signal operation on non-specialized signal" )
00131
00132 #endif
00133
00134