SystemC  2.3.1
Accellera SystemC proof-of-concept library
sc_tracing_ids.h
Go to the documentation of this file.
1 /*****************************************************************************
2 
3  The following code is derived, directly or indirectly, from the SystemC
4  source code Copyright (c) 1996-2014 by all Contributors.
5  All Rights reserved.
6 
7  The contents of this file are subject to the restrictions and limitations
8  set forth in the SystemC Open Source License (the "License");
9  You may not use this file except in compliance with such restrictions and
10  limitations. You may obtain instructions on how to receive a copy of the
11  License at http://www.accellera.org/. Software distributed by Contributors
12  under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF
13  ANY KIND, either express or implied. See the License for the specific
14  language governing rights and limitations under the License.
15 
16  *****************************************************************************/
17 
18 /*****************************************************************************
19 
20  sc_tracing_ids.h -- Report ids for the tracing code.
21 
22  Original Author: Philipp A. Hartmann, OFFIS, 2013-11-17
23 
24  CHANGE LOG AT END OF FILE
25  *****************************************************************************/
26 
27 #ifndef SC_TRACING_IDS_H
28 #define SC_TRACING_IDS_H
29 
30 // ----------------------------------------------------------------------------
31 // Report ids (tracing)
32 //
33 // Report ids in the range of 700-799.
34 // ----------------------------------------------------------------------------
35 
36 #ifndef SC_DEFINE_MESSAGE
37 #define SC_DEFINE_MESSAGE(id,unused1,unused2) \
38  namespace sc_core { extern const char id[]; }
39 #endif
40 
41 SC_DEFINE_MESSAGE( SC_ID_TRACING_FOPEN_FAILED_, 701,
42  "cannot open tracefile for writing" )
43 
44 SC_DEFINE_MESSAGE( SC_ID_TRACING_TIMESCALE_DEFAULT_, 702,
45  "default timescale unit used for tracing" )
46 SC_DEFINE_MESSAGE( SC_ID_TRACING_TIMESCALE_UNIT_, 703,
47  "tracing timescale unit set" )
48 SC_DEFINE_MESSAGE( SC_ID_TRACING_VCD_DELTA_CYCLE_, 704,
49  "VCD delta cycle tracing with pseudo timesteps (1 unit)" )
50 /* unused IDs 705-709 */
51 SC_DEFINE_MESSAGE( SC_ID_TRACING_OBJECT_IGNORED_, 710,
52  "object cannot not be traced" )
53 SC_DEFINE_MESSAGE( SC_ID_TRACING_OBJECT_NAME_FILTERED_, 711,
54  "traced object name filtered" )
55 SC_DEFINE_MESSAGE( SC_ID_TRACING_INVALID_ENUM_VALUE_, 712,
56  "traced value of enumerated type undefined" )
57 SC_DEFINE_MESSAGE( SC_ID_TRACING_VCD_DUPLICATE_TIME_, 713,
58  "multiple VCD tracing cycles with the same time detected" )
59 SC_DEFINE_MESSAGE( SC_ID_TRACING_VCD_REVERSED_TIME_, 714,
60  "VCD tracing cycle with falling time detected" )
61 /* unused IDs 715-719 */
62 SC_DEFINE_MESSAGE( SC_ID_TRACING_ALREADY_INITIALIZED_, 720,
63  "sc_trace_file already initialized" )
64 
65 
66 /*****************************************************************************
67 
68  MODIFICATION LOG - modifiers, enter your name, affiliation, date and
69  changes you are making here.
70 
71  Name, Affiliation, Date:
72  Description of Modification:
73 
74  *****************************************************************************/
75 
76 #endif // SC_TRACING_IDS_H
77 // Taf!
#define SC_DEFINE_MESSAGE(id, unused1, unused2)
sc_clock period is zero sc_clock low time is zero sc_fifo< T > cannot have more than one writer bind interface to port failed complete binding failed remove port failed insert primitive channel failed sc_signal< T > cannot have more than one driver resolved port not bound to resolved signal sc_semaphore requires an initial value
default timescale unit used for tracing VCD delta cycle tracing with pseudo timesteps(1 unit)" ) SC_DEFINE_MESSAGE( SC_ID_TRACING_OBJECT_IGNORED_