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_int_ids.h -- Report ids for the datatypes/int 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_int_ids.h,v $ 39// Revision 1.2 2011/02/18 20:19:15 acg 40// Andy Goodrich: updating Copyright notice. 41// 42// Revision 1.1.1.1 2006/12/15 20:20:05 acg 43// SystemC 2.3 44// 45// Revision 1.3 2006/01/13 18:49:31 acg 46// Added $Log command so that CVS check in comments are reproduced in the 47// source. 48// 49 50#ifndef SC_INT_IDS_H 51#define SC_INT_IDS_H 52 53 54#include "sysc/utils/sc_report.h" 55 56 57// ---------------------------------------------------------------------------- 58// Report ids (datatypes/int) 59// 60// Report ids in the range of 400-499. 61// ---------------------------------------------------------------------------- 62 63#ifndef SC_DEFINE_MESSAGE 64#define SC_DEFINE_MESSAGE(id,unused1,unused2) \ 65 namespace sc_core { extern const char id[]; } 66extern const char SC_ID_REGISTER_ID_FAILED_[]; // in sc_report_handler.cpp 67#endif 68 69 70SC_DEFINE_MESSAGE( SC_ID_INIT_FAILED_, 400, "initialization failed" ) 71SC_DEFINE_MESSAGE( SC_ID_ASSIGNMENT_FAILED_, 401, "assignment failed" ) 72SC_DEFINE_MESSAGE( SC_ID_OPERATION_FAILED_, 402, "operation failed" ) 73SC_DEFINE_MESSAGE( SC_ID_CONVERSION_FAILED_, 403, "conversion failed" ) 74 75 76 77 78#endif 79 80// Taf! 81