SystemC 3.0.0
Accellera SystemC proof-of-concept library
sc_communication_ids.h
Go to the documentation of this file.
1/*****************************************************************************
2
3 Licensed to Accellera Systems Initiative Inc. (Accellera) under one or
4 more contributor license agreements. See the NOTICE file distributed
5 with this work for additional information regarding copyright ownership.
6 Accellera licenses this file to you under the Apache License, Version 2.0
7 (the "License"); you may not use this file except in compliance with the
8 License. You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15 implied. See the License for the specific language governing
16 permissions and limitations under the License.
17
18 *****************************************************************************/
19
20/*****************************************************************************
21
22 sc_communication_ids.h -- Report ids for the communication code.
23
24 Original Author: Martin Janssen, Synopsys, Inc., 2002-01-17
25
26 CHANGE LOG IS AT THE END OF THE FILE
27 *****************************************************************************/
28
29#ifndef SC_COMMUNICATION_IDS_H
30#define SC_COMMUNICATION_IDS_H
31
32
34
35
36// ----------------------------------------------------------------------------
37// Report ids (communication)
38//
39// Report ids in the range of 100-199.
40// ----------------------------------------------------------------------------
41
42#ifndef SC_DEFINE_MESSAGE
43#define SC_DEFINE_MESSAGE(id,unused1,unused2) \
44 namespace sc_core { extern SC_API const char id[]; }
45namespace sc_core {
46 extern SC_API const char SC_ID_REGISTER_ID_FAILED_[]; // in sc_report_handler.cpp
47} // namespace sc_core
48#endif
49
51 "port specified outside of module" )
53 "sc_clock period is zero" )
55 "sc_clock high time is zero" )
57 "sc_clock low time is zero" )
59 "sc_fifo<T> cannot have more than one reader" )
61 "sc_fifo<T> cannot have more than one writer" )
63 "sc_fifo<T> must have a size of at least 1" )
65 "bind interface to port failed" )
67 "bind parent port to port failed" )
69 "complete binding failed" )
71 "insert port failed" )
73 "remove port failed" )
75 "get interface failed" )
77 "insert primitive channel failed" )
79 "remove primitive channel failed" )
81 "sc_signal<T> cannot have more than one driver" )
83 "channel doesn't have a default event" )
85 "resolved port not bound to resolved signal" )
87 "find event failed" )
89 "sc_semaphore requires an initial value >= 0" )
91 "sc_export instance has no interface" )
93 "insert sc_export failed" )
95 "sc_export specified outside of module" )
97 "remove sc_export failed, sc_export not registered" )
99 "sc_export instance not bound to interface at end of construction" )
101 "attempt to write the value of an sc_clock instance" )
103 "sc_export instance already bound" )
105 "attempted specalized signal operation on non-specialized signal" )
107 "attempted to bind sc_clock instance to sc_inout or sc_out" )
109 "insert sc_stub failed" )
110
111/*
112$Log: sc_communication_ids.h,v $
113Revision 1.5 2011/08/26 20:45:39 acg
114 Andy Goodrich: moved the modification log to the end of the file to
115 eliminate source line number skew when check-ins are done.
116
117Revision 1.4 2011/04/19 02:36:26 acg
118 Philipp A. Hartmann: new aysnc_update and mutex support.
119
120Revision 1.3 2011/02/18 20:23:45 acg
121 Andy Goodrich: Copyright update.
122
123Revision 1.2 2011/02/14 17:50:16 acg
124 Andy Goodrich: testing for sc_port and sc_export instantiations during
125 end of elaboration and issuing appropriate error messages.
126
127Revision 1.1.1.1 2006/12/15 20:20:04 acg
128SystemC 2.3
129
130Revision 1.5 2006/01/25 00:31:11 acg
131 Andy Goodrich: Changed over to use a standard message id of
132 SC_ID_IEEE_1666_DEPRECATION for all deprecation messages.
133
134Revision 1.4 2006/01/24 20:46:31 acg
135Andy Goodrich: changes to eliminate use of deprecated features. For instance,
136using notify(SC_ZERO_TIME) in place of notify_delayed().
137
138Revision 1.3 2006/01/18 21:42:26 acg
139Andy Goodrich: Changes for check writer support, and tightening up sc_clock
140port usage.
141
142Revision 1.2 2006/01/03 23:18:26 acg
143Changed copyright to include 2006.
144
145Revision 1.1.1.1 2005/12/19 23:16:43 acg
146First check in of SystemC 2.1 into its own archive.
147
148Revision 1.12 2005/04/03 22:52:51 acg
149Namespace changes.
150
151Revision 1.11 2005/03/21 22:31:32 acg
152Changes to sc_core namespace.
153
154Revision 1.10 2004/10/28 00:21:48 acg
155Added check that sc_export instances are not bound twice.
156
157Revision 1.9 2004/09/27 21:02:54 acg
158Andy Goodrich - Forte Design Systems, Inc.
159 - Added a $Log comment so that CVS checkin comments will appear in
160 checked out source.
161
162*/
163
164#endif
165
166// Taf!
#define SC_API
Definition: sc_cmnhdr.h:148
#define SC_DEFINE_MESSAGE(id, unused1, unused2)
const char SC_ID_FIND_EVENT_[]
const char SC_ID_ATTEMPT_TO_BIND_CLOCK_TO_OUTPUT_[]
const char SC_ID_INSERT_PORT_[]
const char SC_ID_MORE_THAN_ONE_SIGNAL_DRIVER_[]
const char SC_ID_BIND_IF_TO_PORT_[]
const char SC_ID_EXPORT_OUTSIDE_MODULE_[]
const char SC_ID_INSERT_EXPORT_[]
const char SC_ID_NO_DEFAULT_EVENT_[]
const char SC_ID_SC_EXPORT_ALREADY_BOUND_[]
const char SC_ID_SC_EXPORT_HAS_NO_INTERFACE_[]
const char SC_ID_REMOVE_PORT_[]
const char SC_ID_INVALID_SEMAPHORE_VALUE_[]
const char SC_ID_MORE_THAN_ONE_FIFO_WRITER_[]
const char SC_ID_INSERT_STUB_[]
const char SC_ID_BIND_PORT_TO_PORT_[]
const char SC_ID_ATTEMPT_TO_WRITE_TO_CLOCK_[]
const char SC_ID_RESOLVED_PORT_NOT_BOUND_[]
const char SC_ID_MORE_THAN_ONE_FIFO_READER_[]
const char SC_ID_INSERT_PRIM_CHANNEL_[]
const char SC_ID_CLOCK_LOW_TIME_ZERO_[]
const char SC_ID_SC_EXPORT_NOT_REGISTERED_[]
const char SC_ID_INVALID_FIFO_SIZE_[]
const char SC_ID_PORT_OUTSIDE_MODULE_[]
const char SC_ID_COMPLETE_BINDING_[]
SC_API const char SC_ID_REGISTER_ID_FAILED_[]
Definition: sc_bit_ids.h:72
const char SC_ID_REMOVE_PRIM_CHANNEL_[]
const char SC_ID_CLOCK_HIGH_TIME_ZERO_[]
const char SC_ID_SC_EXPORT_NOT_BOUND_AFTER_CONSTRUCTION_[]
const char SC_ID_CLOCK_PERIOD_ZERO_[]
const char SC_ID_OPERATION_ON_NON_SPECIALIZED_SIGNAL_[]
const char SC_ID_GET_IF_[]
sc_core::sc_signal_in_if< T > & value(const T &val)
Definition: sc_stub.h:217