SystemC  2.3.2
Accellera SystemC proof-of-concept library
sc_tracing_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_tracing_ids.h -- Report ids for the tracing code.
23 */
33 #ifndef SC_TRACING_IDS_H
34 #define SC_TRACING_IDS_H
35 
36 #include "sysc/kernel/sc_cmnhdr.h"
37 
38 // ----------------------------------------------------------------------------
39 // Report ids (tracing)
40 //
41 // Report ids in the range of 700-799.
42 // ----------------------------------------------------------------------------
43 
44 #ifndef SC_DEFINE_MESSAGE
45 
46 #define SC_DEFINE_MESSAGE(id,unused1,unused2) \
47  namespace sc_core { extern SC_API const char id[]; }
48 #endif
49 
50 SC_DEFINE_MESSAGE( SC_ID_TRACING_FOPEN_FAILED_, 701,
51  "cannot open tracefile for writing" )
52 
53 SC_DEFINE_MESSAGE( SC_ID_TRACING_TIMESCALE_DEFAULT_, 702,
54  "default timescale unit used for tracing" )
55 SC_DEFINE_MESSAGE( SC_ID_TRACING_TIMESCALE_UNIT_, 703,
56  "tracing timescale unit set" )
57 SC_DEFINE_MESSAGE( SC_ID_TRACING_VCD_DELTA_CYCLE_, 704,
58  "VCD delta cycle tracing with pseudo timesteps (1 unit)" )
59 /* unused IDs 705-709 */
60 SC_DEFINE_MESSAGE( SC_ID_TRACING_OBJECT_IGNORED_, 710,
61  "object cannot not be traced" )
62 SC_DEFINE_MESSAGE( SC_ID_TRACING_OBJECT_NAME_FILTERED_, 711,
63  "traced object name filtered" )
64 SC_DEFINE_MESSAGE( SC_ID_TRACING_INVALID_ENUM_VALUE_, 712,
65  "traced value of enumerated type undefined" )
66 SC_DEFINE_MESSAGE( SC_ID_TRACING_VCD_TIME_RESOLUTION_, 713,
67  "current kernel time is not representable in VCD time units" )
68 SC_DEFINE_MESSAGE( SC_ID_TRACING_REVERSED_TIME_, 714,
69  "tracing cycle with duplicate or reversed time detected" )
70 /* unused IDs 715-719 */
71 SC_DEFINE_MESSAGE( SC_ID_TRACING_ALREADY_INITIALIZED_, 720,
72  "sc_trace_file already initialized" )
73 
74 
75 /*****************************************************************************
76 
77  MODIFICATION LOG - modifiers, enter your name, affiliation, date and
78  changes you are making here.
79 
80  Name, Affiliation, Date:
81  Description of Modification:
82 
83  *****************************************************************************/
84 
85 #endif // SC_TRACING_IDS_H
86 // Taf!
default timescale unit used for tracing VCD delta cycle tracing with pseudo timesteps(1 unit)" ) SC_DEFINE_MESSAGE( SC_ID_TRACING_OBJECT_IGNORED_
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
class SC_API sc_trace_file
Definition: sc_object.h:52
#define SC_DEFINE_MESSAGE(id, unused1, unused2)