SystemC
3.0.0
Accellera SystemC proof-of-concept library
sysc
utils
sc_stop_here.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_stop_here.h -- Function provided for debugging purposes.
23
This file is always compiled in debug mode, such that
24
setting a breakpoint at this function can help locate
25
the cause of a SystemC error or warning.
26
27
Original Author: Martin Janssen, Synopsys, Inc., 2001-11-14
28
29
CHANGE LOG AT END OF FILE
30
*****************************************************************************/
31
32
// $Log: sc_stop_here.h,v $
33
// Revision 1.3 2011/08/26 20:46:19 acg
34
// Andy Goodrich: moved the modification log to the end of the file to
35
// eliminate source line number skew when check-ins are done.
36
//
37
#ifndef SC_STOP_HERE_H
38
#define SC_STOP_HERE_H
39
40
41
#include "
sysc/utils/sc_report.h
"
42
43
44
namespace
sc_core
{
45
46
// ----------------------------------------------------------------------------
47
// FUNCTION : sc_interrupt_here
48
//
49
// Debugging aid for interrupt warning, error, and fatal reports.
50
// ----------------------------------------------------------------------------
51
52
extern
53
SC_API
void
54
sc_interrupt_here
(
const
char
*
id
,
sc_severity
severity );
55
56
57
// ----------------------------------------------------------------------------
58
// FUNCTION : sc_stop_here
59
//
60
// Debugging aid for warning, error, and fatal reports.
61
// ----------------------------------------------------------------------------
62
63
extern
64
SC_API
void
65
sc_stop_here
(
const
char
*
id
,
sc_severity
severity );
66
67
}
// namespace sc_core
68
69
#endif
70
71
// Revision 1.2 2011/02/18 20:38:44 acg
72
// Andy Goodrich: Updated Copyright notice.
73
//
74
// Revision 1.1.1.1 2006/12/15 20:20:06 acg
75
// SystemC 2.3
76
//
77
// Revision 1.3 2006/01/13 18:53:11 acg
78
// Andy Goodrich: Added $Log command so that CVS comments are reproduced in
79
// the source.
80
//
81
82
// Taf!
SC_API
#define SC_API
Definition:
sc_cmnhdr.h:148
sc_report.h
sc_core
Definition:
sc_buffer.h:36
sc_core::sc_severity
sc_severity
Definition:
sc_report.h:54
sc_core::sc_stop_here
SC_API void sc_stop_here(const char *id, sc_severity severity)
sc_core::sc_interrupt_here
SC_API void sc_interrupt_here(const char *id, sc_severity severity)
Generated on Fri Aug 16 2024 16:36:34 for SystemC by
1.9.4