sc_tracing_ids.h revision 12027
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 24 Original Author: Philipp A. Hartmann, OFFIS, 2013-11-17 25 26 CHANGE LOG AT END OF FILE 27 *****************************************************************************/ 28 29#ifndef SC_TRACING_IDS_H 30#define SC_TRACING_IDS_H 31 32// ---------------------------------------------------------------------------- 33// Report ids (tracing) 34// 35// Report ids in the range of 700-799. 36// ---------------------------------------------------------------------------- 37 38#ifndef SC_DEFINE_MESSAGE 39#define SC_DEFINE_MESSAGE(id,unused1,unused2) \ 40 namespace sc_core { extern const char id[]; } 41#endif 42 43SC_DEFINE_MESSAGE( SC_ID_TRACING_FOPEN_FAILED_, 701, 44 "cannot open tracefile for writing" ) 45 46SC_DEFINE_MESSAGE( SC_ID_TRACING_TIMESCALE_DEFAULT_, 702, 47 "default timescale unit used for tracing" ) 48SC_DEFINE_MESSAGE( SC_ID_TRACING_TIMESCALE_UNIT_, 703, 49 "tracing timescale unit set" ) 50SC_DEFINE_MESSAGE( SC_ID_TRACING_VCD_DELTA_CYCLE_, 704, 51 "VCD delta cycle tracing with pseudo timesteps (1 unit)" ) 52/* unused IDs 705-709 */ 53SC_DEFINE_MESSAGE( SC_ID_TRACING_OBJECT_IGNORED_, 710, 54 "object cannot not be traced" ) 55SC_DEFINE_MESSAGE( SC_ID_TRACING_OBJECT_NAME_FILTERED_, 711, 56 "traced object name filtered" ) 57SC_DEFINE_MESSAGE( SC_ID_TRACING_INVALID_ENUM_VALUE_, 712, 58 "traced value of enumerated type undefined" ) 59SC_DEFINE_MESSAGE( SC_ID_TRACING_VCD_DUPLICATE_TIME_, 713, 60 "multiple VCD tracing cycles with the same time detected" ) 61SC_DEFINE_MESSAGE( SC_ID_TRACING_VCD_REVERSED_TIME_, 714, 62 "VCD tracing cycle with falling time detected" ) 63/* unused IDs 715-719 */ 64SC_DEFINE_MESSAGE( SC_ID_TRACING_ALREADY_INITIALIZED_, 720, 65 "sc_trace_file already initialized" ) 66 67 68/***************************************************************************** 69 70 MODIFICATION LOG - modifiers, enter your name, affiliation, date and 71 changes you are making here. 72 73 Name, Affiliation, Date: 74 Description of Modification: 75 76 *****************************************************************************/ 77 78#endif // SC_TRACING_IDS_H 79// Taf! 80