gem5  v20.1.0.0
_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 
28 #ifndef __SYSTEMC_EXT_UTILS__USING_HH__
29 #define __SYSTEMC_EXT_UTILS__USING_HH__
30 
31 #include "_utils.hh"
32 
34 using sc_core::SC_INFO;
36 using sc_core::SC_ERROR;
37 using sc_core::SC_FATAL;
40 using sc_core::SC_NONE;
41 using sc_core::SC_LOW;
42 using sc_core::SC_MEDIUM;
43 using sc_core::SC_HIGH;
44 using sc_core::SC_FULL;
45 using sc_core::SC_DEBUG;
46 using sc_core::sc_report;
47 
51 using sc_core::SC_THROW;
52 using sc_core::SC_LOG;
56 using sc_core::SC_STOP;
57 using sc_core::SC_ABORT;
68 
73 using sc_core::sc_trace;
75 
77 
80 using sc_core::sc_vector;
82 
83 using sc_dt::sc_abs;
84 using sc_dt::sc_max;
85 using sc_dt::sc_min;
86 
98 
106 
115 
116 #endif //__SYSTEMC_EXT_UTILS__USING_HH__
sc_core::SC_INFO
@ SC_INFO
Definition: sc_report.hh:41
sc_core::SC_DEFAULT_ERROR_ACTIONS
@ SC_DEFAULT_ERROR_ACTIONS
Definition: sc_report_handler.hh:58
sc_core::SC_ID_STRING_TOO_LONG_
const char SC_ID_STRING_TOO_LONG_[]
Definition: messages.cc:43
sc_core::SC_ID_VECTOR_NONOBJECT_ELEMENTS_
const char SC_ID_VECTOR_NONOBJECT_ELEMENTS_[]
Definition: messages.cc:54
sc_core::SC_ID_IEEE_1666_DEPRECATION_
const char SC_ID_IEEE_1666_DEPRECATION_[]
Definition: messages.cc:48
sc_core::SC_ID_REGISTER_ID_FAILED_
const char SC_ID_REGISTER_ID_FAILED_[]
Definition: messages.cc:34
sc_core::sc_actions
unsigned sc_actions
Definition: sc_report_handler.hh:39
sc_core::SC_WARNING
@ SC_WARNING
Definition: sc_report.hh:42
sc_core::SC_THROW
@ SC_THROW
Definition: sc_report_handler.hh:45
sc_core::sc_severity
sc_severity
Definition: sc_report.hh:39
sc_core::sc_release
static const char * sc_release()
Definition: functions.hh:89
sc_core::SC_ID_WITHOUT_MESSAGE_
const char SC_ID_WITHOUT_MESSAGE_[]
Definition: messages.cc:36
sc_core::sc_report_compose_message
const std::string sc_report_compose_message(const sc_report &)
Definition: sc_report_handler.cc:370
sc_core::SC_UNSPECIFIED
@ SC_UNSPECIFIED
Definition: sc_report_handler.hh:43
sc_core::SC_ID_BACK_ON_EMPTY_LIST_
const char SC_ID_BACK_ON_EMPTY_LIST_[]
Definition: messages.cc:46
sc_core::SC_FULL
@ SC_FULL
Definition: sc_report.hh:54
sc_core::SC_MAX_SEVERITY
@ SC_MAX_SEVERITY
Definition: sc_report.hh:45
sc_core::sc_report_close_default_log
bool sc_report_close_default_log()
Definition: sc_report_handler.cc:403
sc_core::SC_LOW
@ SC_LOW
Definition: sc_report.hh:51
sc_core::sc_trace_file
Definition: sc_trace_file.hh:61
sc_core::sc_vector
Definition: sc_vector.hh:157
sc_core::SC_ID_VECTOR_INIT_CALLED_TWICE_
const char SC_ID_VECTOR_INIT_CALLED_TWICE_[]
Definition: messages.cc:50
sc_core::sc_copyright
static const char * sc_copyright()
Definition: functions.hh:94
sc_core::sc_exception
std::exception sc_exception
Definition: sc_exception.hh:36
sc_core::SC_ID_UNKNOWN_ERROR_
const char SC_ID_UNKNOWN_ERROR_[]
Definition: messages.cc:35
sc_core::sc_close_vcd_trace_file
void sc_close_vcd_trace_file(sc_trace_file *tf)
Definition: sc_trace_file.cc:61
sc_core::sc_version_patch
const unsigned int sc_version_patch
Definition: functions.cc:35
sc_core::sc_version_release_date
const std::string sc_version_release_date
Definition: functions.cc:37
sc_core::sc_report_handler
Definition: sc_report_handler.hh:64
sc_core::sc_version_originator
const std::string sc_version_originator
Definition: functions.cc:36
sc_dt::sc_abs
const T sc_abs(const T &a)
Definition: functions.hh:38
sc_core::SC_ID_FRONT_ON_EMPTY_LIST_
const char SC_ID_FRONT_ON_EMPTY_LIST_[]
Definition: messages.cc:44
sc_core::SC_DEFAULT_INFO_ACTIONS
@ SC_DEFAULT_INFO_ACTIONS
Definition: sc_report_handler.hh:56
sc_core::sc_version
const char * sc_version()
Definition: functions.cc:44
sc_core::SC_LOG
@ SC_LOG
Definition: sc_report_handler.hh:46
sc_core::SC_ID_ASSERTION_FAILED_
const char SC_ID_ASSERTION_FAILED_[]
Definition: messages.cc:39
sc_core::sc_trace
void sc_trace(sc_trace_file *tf, const sc_in< T > &i, const std::string &name)
Definition: sc_in.hh:156
sc_core::SC_ABORT
@ SC_ABORT
Definition: sc_report_handler.hh:51
sc_core::SC_DISPLAY
@ SC_DISPLAY
Definition: sc_report_handler.hh:47
sc_dt::sc_min
const T sc_min(const T &a, const T &b)
Definition: functions.hh:59
sc_core::SC_STOP
@ SC_STOP
Definition: sc_report_handler.hh:50
sc_core::SC_ID_INTERNAL_ERROR_
const char SC_ID_INTERNAL_ERROR_[]
Definition: messages.cc:38
sc_core::SC_INTERRUPT
@ SC_INTERRUPT
Definition: sc_report_handler.hh:49
sc_core::sc_report
Definition: sc_report.hh:60
sc_core::sc_stop_here
void sc_stop_here(const char *msg_type, sc_severity)
Definition: sc_report_handler.cc:364
sc_core::sc_version_minor
const unsigned int sc_version_minor
Definition: functions.cc:34
sc_core::sc_vector_assembly
Definition: sc_vector.hh:154
sc_core::SC_DEFAULT_FATAL_ACTIONS
@ SC_DEFAULT_FATAL_ACTIONS
Definition: sc_report_handler.hh:59
sc_core::sc_report_handler_proc
void(* sc_report_handler_proc)(const sc_report &, const sc_actions &)
Definition: sc_report_handler.hh:62
sc_dt::sc_max
const T sc_max(const T &a, const T &b)
Definition: functions.hh:56
sc_core::sc_write_comment
void sc_write_comment(sc_trace_file *tf, const std::string &comment)
Definition: sc_trace_file.cc:69
sc_core::SC_MEDIUM
@ SC_MEDIUM
Definition: sc_report.hh:52
sc_core::SC_ID_VECTOR_BIND_EMPTY_
const char SC_ID_VECTOR_BIND_EMPTY_[]
Definition: messages.cc:52
sc_core::SC_FATAL
@ SC_FATAL
Definition: sc_report.hh:44
sc_core::sc_interrupt_here
void sc_interrupt_here(const char *msg_type, sc_severity)
Definition: sc_report_handler.cc:358
sc_core::sc_version_string
const std::string sc_version_string
Definition: functions.cc:40
_utils.hh
sc_core::SC_NONE
@ SC_NONE
Definition: sc_report.hh:50
sc_core::sc_verbosity
sc_verbosity
Definition: sc_report.hh:48
sc_core::SC_DEBUG
@ SC_DEBUG
Definition: sc_report.hh:55
sc_core::sc_version_major
const unsigned int sc_version_major
Definition: functions.cc:33
sc_core::sc_copyright_string
const std::string sc_copyright_string
Definition: functions.cc:41
sc_core::SC_ID_OUT_OF_BOUNDS_
const char SC_ID_OUT_OF_BOUNDS_[]
Definition: messages.cc:40
sc_core::SC_HIGH
@ SC_HIGH
Definition: sc_report.hh:53
sc_core::SC_ID_ABORT_
const char SC_ID_ABORT_[]
Definition: messages.cc:41
sc_core::SC_ERROR
@ SC_ERROR
Definition: sc_report.hh:43
sc_core::sc_trace_delta_cycles
void sc_trace_delta_cycles(sc_trace_file *, bool on=true)
Definition: sc_trace_file.cc:457
sc_core::sc_version_prerelease
const std::string sc_version_prerelease
Definition: functions.cc:38
sc_core::SC_DEFAULT_WARNING_ACTIONS
@ SC_DEFAULT_WARNING_ACTIONS
Definition: sc_report_handler.hh:57
sc_core::sc_vector_iter
Definition: sc_vector.hh:262
sc_core::SC_CACHE_REPORT
@ SC_CACHE_REPORT
Definition: sc_report_handler.hh:48
sc_core::SC_ID_NOT_IMPLEMENTED_
const char SC_ID_NOT_IMPLEMENTED_[]
Definition: messages.cc:37
sc_core::sc_vector_base
Definition: sc_vector.hh:163
sc_core::sc_create_vcd_trace_file
sc_trace_file * sc_create_vcd_trace_file(const char *name)
Definition: sc_trace_file.cc:53
sc_core::SC_DO_NOTHING
@ SC_DO_NOTHING
Definition: sc_report_handler.hh:44

Generated on Wed Sep 30 2020 14:02:15 for gem5 by doxygen 1.8.17