src/sysc/utils/sc_stop_here.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002 
00003   The following code is derived, directly or indirectly, from the SystemC
00004   source code Copyright (c) 1996-2005 by all Contributors.
00005   All Rights reserved.
00006 
00007   The contents of this file are subject to the restrictions and limitations
00008   set forth in the SystemC Open Source License Version 2.4 (the "License");
00009   You may not use this file except in compliance with such restrictions and
00010   limitations. You may obtain instructions on how to receive a copy of the
00011   License at http://www.systemc.org/. Software distributed by Contributors
00012   under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF
00013   ANY KIND, either express or implied. See the License for the specific
00014   language governing rights and limitations under the License.
00015 
00016  *****************************************************************************/
00017 
00018 /*****************************************************************************
00019 
00020   sc_stop_here.h -- Function provided for debugging purposes.
00021                     This file is always compiled in debug mode, such that
00022                     setting a breakpoint at this function can help locate
00023                     the cause of a SystemC error or warning.
00024 
00025   Original Author: Martin Janssen, Synopsys, Inc., 2001-11-14
00026 
00027  *****************************************************************************/
00028 
00029 /*****************************************************************************
00030 
00031   MODIFICATION LOG - modifiers, enter your name, affiliation, date and
00032   changes you are making here.
00033 
00034       Name, Affiliation, Date:
00035   Description of Modification:
00036 
00037  *****************************************************************************/
00038 
00039 #ifndef SC_STOP_HERE_H
00040 #define SC_STOP_HERE_H
00041 
00042 
00043 #include "sysc/utils/sc_report.h"
00044 
00045 
00046 namespace sc_core {
00047 
00048 // ----------------------------------------------------------------------------
00049 //  FUNCTION : sc_interrupt_here
00050 //
00051 //  Debugging aid for interrupt warning, error, and fatal reports.
00052 // ----------------------------------------------------------------------------
00053 
00054 extern
00055 void
00056 sc_interrupt_here( int id, sc_severity severity );
00057 
00058 
00059 // ----------------------------------------------------------------------------
00060 //  FUNCTION : sc_stop_here
00061 //
00062 //  Debugging aid for warning, error, and fatal reports.
00063 // ----------------------------------------------------------------------------
00064 
00065 extern
00066 void
00067 sc_stop_here( int id, sc_severity severity );
00068 
00069 } // namespace sc_core
00070 
00071 #endif
00072 
00073 // Taf!

Generated on Wed Apr 25 13:53:28 2007 for SystemC by  doxygen 1.5.1