gem5 v24.0.0.0
Loading...
Searching...
No Matches
_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
41using sc_core::SC_LOW;
47
52using sc_core::SC_LOG;
68
75
77
82
83using sc_dt::sc_abs;
84using sc_dt::sc_max;
85using sc_dt::sc_min;
86
98
106
115
116#endif //__SYSTEMC_EXT_UTILS__USING_HH__
static const char * sc_release()
Definition functions.hh:89
const char SC_ID_ABORT_[]
Definition messages.cc:41
const char SC_ID_BACK_ON_EMPTY_LIST_[]
Definition messages.cc:46
@ SC_DEFAULT_WARNING_ACTIONS
const unsigned int sc_version_major
Definition functions.cc:33
const char SC_ID_STRING_TOO_LONG_[]
Definition messages.cc:43
sc_trace_file * sc_create_vcd_trace_file(const char *name)
const char SC_ID_VECTOR_NONOBJECT_ELEMENTS_[]
Definition messages.cc:54
const char SC_ID_WITHOUT_MESSAGE_[]
Definition messages.cc:36
const char SC_ID_NOT_IMPLEMENTED_[]
Definition messages.cc:37
bool sc_report_close_default_log()
@ SC_MEDIUM
Definition sc_report.hh:52
void sc_interrupt_here(const char *msg_type, sc_severity)
const char * sc_version()
Definition functions.cc:44
const char SC_ID_INTERNAL_ERROR_[]
Definition messages.cc:38
const std::string sc_version_release_date
Definition functions.cc:37
unsigned sc_actions
std::exception sc_exception
void sc_trace_delta_cycles(sc_trace_file *, bool on=true)
const std::string sc_version_prerelease
Definition functions.cc:38
const std::string sc_report_compose_message(const sc_report &)
const std::string sc_version_originator
Definition functions.cc:36
const char SC_ID_OUT_OF_BOUNDS_[]
Definition messages.cc:40
@ SC_MAX_SEVERITY
Definition sc_report.hh:45
@ SC_WARNING
Definition sc_report.hh:42
void sc_close_vcd_trace_file(sc_trace_file *tf)
const char SC_ID_REGISTER_ID_FAILED_[]
Definition messages.cc:34
const char SC_ID_IEEE_1666_DEPRECATION_[]
Definition messages.cc:48
const char SC_ID_VECTOR_INIT_CALLED_TWICE_[]
Definition messages.cc:50
const unsigned int sc_version_minor
Definition functions.cc:34
void sc_trace(sc_trace_file *tf, const sc_in< T > &i, const std::string &name)
Definition sc_in.hh:156
void sc_write_comment(sc_trace_file *tf, const std::string &comment)
const char SC_ID_FRONT_ON_EMPTY_LIST_[]
Definition messages.cc:44
void sc_stop_here(const char *msg_type, sc_severity)
const unsigned int sc_version_patch
Definition functions.cc:35
const char SC_ID_ASSERTION_FAILED_[]
Definition messages.cc:39
const std::string sc_version_string
Definition functions.cc:40
const char SC_ID_VECTOR_BIND_EMPTY_[]
Definition messages.cc:52
const char SC_ID_UNKNOWN_ERROR_[]
Definition messages.cc:35
static const char * sc_copyright()
Definition functions.hh:94
const std::string sc_copyright_string
Definition functions.cc:41
void(* sc_report_handler_proc)(const sc_report &, const sc_actions &)
const T sc_min(const T &a, const T &b)
Definition functions.hh:59
const T sc_abs(const T &a)
Definition functions.hh:38
const T sc_max(const T &a, const T &b)
Definition functions.hh:56

Generated on Tue Jun 18 2024 16:24:06 for gem5 by doxygen 1.11.0