28#ifndef __SYSTEMC_EXT_UTIL_FUNCTIONS_HH__
29#define __SYSTEMC_EXT_UTIL_FUNCTIONS_HH__
56const T
sc_max(
const T &
a,
const T &
b) {
return ((
a >=
b) ?
a :
b); }
59const T
sc_min(
const T &
a,
const T &
b) {
return ((
a <=
b) ?
a :
b); }
66#define IEEE_1666_SYSTEMC 201101L
68#define SC_VERSION_MAJOR 0
69#define SC_VERSION_MINOR 1
70#define SC_VERSION_PATCH 0
71#define SC_VERSION_ORIGINATOR "gem5"
72#define SC_VERSION_RELEASE_DATE "NA"
73#define SC_VERSION_PRERELEASE "beta"
74#define SC_IS_PRERELEASE true
75#define SC_VERSION "0.1.0_beta-gem5"
76#define SC_COPYRIGHT "Copyright 2018 Google, Inc."
88static inline const char *
91 return sc_version_string.c_str();
93static inline const char *
96 return sc_copyright_string.c_str();
static const char * sc_release()
const unsigned int sc_version_major
const char * sc_version()
const std::string sc_version_release_date
const std::string sc_version_prerelease
const bool sc_is_prerelease
const std::string sc_version_originator
const unsigned int sc_version_minor
const unsigned int sc_version_patch
const std::string sc_version_string
static const char * sc_copyright()
const std::string sc_copyright_string
const T sc_min(const T &a, const T &b)
const T sc_abs(const T &a)
const T sc_max(const T &a, const T &b)