Deleted Added
sdiff udiff text old ( 12911:1cad71dac465 ) new ( 12921:51212996643f )
full compact
1/*
2 * Copyright 2018 Google, Inc.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
6 * met: redistributions of source code must retain the above copyright
7 * notice, this list of conditions and the following disclaimer;
8 * redistributions in binary form must reproduce the above copyright

--- 16 unchanged lines hidden (view full) ---

25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 *
27 * Authors: Gabe Black
28 */
29
30#ifndef __SYSTEMC_EXT_UTIL_SC_REPORT_HANDLER_HH__
31#define __SYSTEMC_EXT_UTIL_SC_REPORT_HANDLER_HH__
32
33#include <string>
34
35#include "sc_report.hh" // for sc_severity
36
37namespace sc_core
38{
39
40typedef unsigned sc_actions;
41
42enum

--- 89 unchanged lines hidden (view full) ---

132 ::sc_core::SC_FATAL, msg_type, msg, __FILE__, __LINE__)
133
134#define sc_assert(expr) \
135 ((void)((expr) ? 0 : (SC_REPORT_FATAL("assertion failed", #expr), 0)))
136
137void sc_interrupt_here(const char *msg_type, sc_severity);
138void sc_stop_here(const char *msg_type, sc_severity);
139
140// Nonstandard
141// From Accellera, "not documented, but available".
142const std::string sc_report_compose_message(const sc_report &);
143bool sc_report_close_default_log();
144
145} // namespace sc_core
146
147#endif //__SYSTEMC_EXT_UTIL_SC_REPORT_HANDLER_HH__