gem5  v19.0.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
_using.hh
Go to the documentation of this file.
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
9  * notice, this list of conditions and the following disclaimer in the
10  * documentation and/or other materials provided with the distribution;
11  * neither the name of the copyright holders nor the names of its
12  * contributors may be used to endorse or promote products derived from
13  * this software without specific prior written permission.
14  *
15  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
16  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
17  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
18  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
19  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
20  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
21  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26  *
27  * Authors: Gabe Black
28  */
29 
30 #ifndef __SYSTEMC_EXT_UTILS__USING_HH__
31 #define __SYSTEMC_EXT_UTILS__USING_HH__
32 
33 #include "_utils.hh"
34 
36 using sc_core::SC_INFO;
38 using sc_core::SC_ERROR;
39 using sc_core::SC_FATAL;
42 using sc_core::SC_NONE;
43 using sc_core::SC_LOW;
44 using sc_core::SC_MEDIUM;
45 using sc_core::SC_HIGH;
46 using sc_core::SC_FULL;
47 using sc_core::SC_DEBUG;
48 using sc_core::sc_report;
49 
53 using sc_core::SC_THROW;
54 using sc_core::SC_LOG;
58 using sc_core::SC_STOP;
59 using sc_core::SC_ABORT;
70 
75 using sc_core::sc_trace;
77 
79 
82 using sc_core::sc_vector;
84 
85 using sc_dt::sc_abs;
86 using sc_dt::sc_max;
87 using sc_dt::sc_min;
88 
100 
108 
117 
118 #endif //__SYSTEMC_EXT_UTILS__USING_HH__
unsigned sc_actions
const char SC_ID_WITHOUT_MESSAGE_[]
Definition: messages.cc:38
static const char * sc_release()
Definition: functions.hh:91
sc_trace_file * sc_create_vcd_trace_file(const char *name)
const std::string sc_version_prerelease
Definition: functions.cc:40
const std::string sc_copyright_string
Definition: functions.cc:43
sc_verbosity
Definition: sc_report.hh:50
const char SC_ID_ABORT_[]
Definition: messages.cc:43
const char SC_ID_STRING_TOO_LONG_[]
Definition: messages.cc:45
const std::string sc_version_string
Definition: functions.cc:42
const T sc_max(const T &a, const T &b)
Definition: functions.hh:58
void sc_write_comment(sc_trace_file *tf, const std::string &comment)
void sc_stop_here(const char *msg_type, sc_severity)
const char SC_ID_ASSERTION_FAILED_[]
Definition: messages.cc:41
const std::string sc_report_compose_message(const sc_report &)
const T sc_min(const T &a, const T &b)
Definition: functions.hh:61
const char SC_ID_VECTOR_BIND_EMPTY_[]
Definition: messages.cc:54
const unsigned int sc_version_minor
Definition: functions.cc:36
void sc_interrupt_here(const char *msg_type, sc_severity)
const char SC_ID_VECTOR_NONOBJECT_ELEMENTS_[]
Definition: messages.cc:56
const char SC_ID_NOT_IMPLEMENTED_[]
Definition: messages.cc:39
bool sc_report_close_default_log()
const char * sc_version()
Definition: functions.cc:46
std::exception sc_exception
Definition: sc_exception.hh:38
const char SC_ID_FRONT_ON_EMPTY_LIST_[]
Definition: messages.cc:46
void sc_trace(sc_trace_file *tf, const sc_in< T > &i, const std::string &name)
Definition: sc_in.hh:158
static const char * sc_copyright()
Definition: functions.hh:96
const char SC_ID_VECTOR_INIT_CALLED_TWICE_[]
Definition: messages.cc:52
const char SC_ID_OUT_OF_BOUNDS_[]
Definition: messages.cc:42
const char SC_ID_INTERNAL_ERROR_[]
Definition: messages.cc:40
const unsigned int sc_version_major
Definition: functions.cc:35
void(* sc_report_handler_proc)(const sc_report &, const sc_actions &)
const char SC_ID_REGISTER_ID_FAILED_[]
Definition: messages.cc:36
const std::string sc_version_release_date
Definition: functions.cc:39
const std::string sc_version_originator
Definition: functions.cc:38
const char SC_ID_UNKNOWN_ERROR_[]
Definition: messages.cc:37
const T sc_abs(const T &a)
Definition: functions.hh:40
const char SC_ID_BACK_ON_EMPTY_LIST_[]
Definition: messages.cc:48
const unsigned int sc_version_patch
Definition: functions.cc:37
void sc_trace_delta_cycles(sc_trace_file *, bool on=true)
void sc_close_vcd_trace_file(sc_trace_file *tf)
const char SC_ID_IEEE_1666_DEPRECATION_[]
Definition: messages.cc:50

Generated on Fri Feb 28 2020 16:27:03 for gem5 by doxygen 1.8.13