SystemC 3.0.0
Accellera SystemC proof-of-concept library
sc_fx_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_fx_ids.h -- Report ids for the datatypes/fx code.
23
24 Original Author: Martin Janssen, Synopsys, Inc., 2002-01-17
25
26 *****************************************************************************/
27
28/*****************************************************************************
29
30 MODIFICATION LOG - modifiers, enter your name, affiliation, date and
31 changes you are making here.
32
33 Name, Affiliation, Date:
34 Description of Modification:
35
36 *****************************************************************************/
37
38// $Log: sc_fx_ids.h,v $
39// Revision 1.1.1.1 2006/12/15 20:20:04 acg
40// SystemC 2.3
41//
42// Revision 1.3 2006/01/13 18:53:57 acg
43// Andy Goodrich: added $Log command so that CVS comments are reproduced in
44// the source.
45//
46
47#ifndef SC_FX_IDS_H
48#define SC_FX_IDS_H
49
50
52
53
54// ----------------------------------------------------------------------------
55// Report ids (datatypes/fx)
56//
57// Report ids in the range of 300-399.
58// ----------------------------------------------------------------------------
59
60#ifndef SC_DEFINE_MESSAGE
61#define SC_DEFINE_MESSAGE(id,unused1,unused2) \
62 namespace sc_core { extern SC_API const char id[]; }
63namespace sc_core {
64 extern SC_API const char SC_ID_REGISTER_ID_FAILED_[]; // in sc_report_handler.cpp
65}
66#endif
67
68
70 "total wordlength <= 0 is not valid" )
72 "number of bits < 0 is not valid" )
74 "division wordlength <= 0 is not valid" )
76 "constant wordlength <= 0 is not valid" )
78 "maximum wordlength <= 0 and != -1 is not valid" )
80 "invalid fixed-point value" )
82 "invalid overflow mode" )
84 "index out of range" )
86 "context begin failed" )
88 "context end failed" )
90 "SC_WRAP_SM not defined for unsigned numbers" )
91
92
93
94#endif
95
96// Taf!
#define SC_DEFINE_MESSAGE(id, unused1, unused2)
Definition: sc_fx_ids.h:61
#define SC_API
Definition: sc_cmnhdr.h:148
const char SC_ID_INVALID_O_MODE_[]
const char SC_ID_INVALID_WL_[]
const char SC_ID_CONTEXT_BEGIN_FAILED_[]
const char SC_ID_CONTEXT_END_FAILED_[]
const char SC_ID_INVALID_MAX_WL_[]
const char SC_ID_WRAP_SM_NOT_DEFINED_[]
SC_API const char SC_ID_REGISTER_ID_FAILED_[]
Definition: sc_bit_ids.h:72
const char SC_ID_INVALID_CTE_WL_[]
const char SC_ID_INVALID_FX_VALUE_[]
const char SC_ID_INVALID_N_BITS_[]
const char SC_ID_OUT_OF_RANGE_[]
const char SC_ID_INVALID_DIV_WL_[]
@ SC_WRAP_SM
Definition: sc_fxdefs.h:125
sc_core::sc_signal_in_if< T > & value(const T &val)
Definition: sc_stub.h:217