gem5
v20.1.0.0
|
#include "../../utils/messages.hh"
#include "../../utils/sc_report_handler.hh"
#include "../int/sc_nbutils.hh"
#include "messages.hh"
Go to the source code of this file.
Namespaces | |
sc_dt | |
Macros | |
#define | SC_LONG_64 0 |
#define | SC_ERROR_IF_IMPL_(cnd, id, msg) |
#define | SC_ASSERT_(cnd, msg) (void(0)) |
#define | SC_ERROR_IF_(cnd, id) SC_ERROR_IF_IMPL_(cnd, id, 0) |
#define | SC_CHECK_WL_(wl) SC_ERROR_IF_((wl) <= 0, sc_core::SC_ID_INVALID_WL_) |
#define | SC_CHECK_N_BITS_(n_bits) SC_ERROR_IF_((n_bits) < 0, sc_core::SC_ID_INVALID_N_BITS_) |
#define | SC_CHECK_DIV_WL_(div_wl) SC_ERROR_IF_((div_wl) <= 0, sc_core::SC_ID_INVALID_DIV_WL_) |
#define | SC_CHECK_CTE_WL_(cte_wl) SC_ERROR_IF_((cte_wl) <= 0, sc_core::SC_ID_INVALID_CTE_WL_) |
#define | SC_CHECK_MAX_WL_(max_wl) |
#define | SC_OBSERVER_(object, observer_type, event) |
#define | SC_OBSERVER_DEFAULT_(observer_type) |
Enumerations | |
enum | sc_dt::sc_enc { sc_dt::SC_TC_, sc_dt::SC_US_ } |
enum | sc_dt::sc_q_mode { sc_dt::SC_RND, sc_dt::SC_RND_ZERO, sc_dt::SC_RND_MIN_INF, sc_dt::SC_RND_INF, sc_dt::SC_RND_CONV, sc_dt::SC_TRN, sc_dt::SC_TRN_ZERO } |
enum | sc_dt::sc_o_mode { sc_dt::SC_SAT, sc_dt::SC_SAT_ZERO, sc_dt::SC_SAT_SYM, sc_dt::SC_WRAP, sc_dt::SC_WRAP_SM } |
enum | sc_dt::sc_switch { sc_dt::SC_OFF, sc_dt::SC_ON } |
enum | sc_dt::sc_fmt { sc_dt::SC_F, sc_dt::SC_E } |
Functions | |
const std::string | sc_dt::to_string (sc_enc enc) |
inline ::std::ostream & | sc_dt::operator<< (::std::ostream &os, sc_enc enc) |
const std::string | sc_dt::to_string (sc_q_mode q_mode) |
inline ::std::ostream & | sc_dt::operator<< (::std::ostream &os, sc_q_mode q_mode) |
const std::string | sc_dt::to_string (sc_o_mode o_mode) |
inline ::std::ostream & | sc_dt::operator<< (::std::ostream &os, sc_o_mode o_mode) |
const std::string | sc_dt::to_string (sc_switch sw) |
inline ::std::ostream & | sc_dt::operator<< (::std::ostream &os, sc_switch sw) |
const std::string | sc_dt::to_string (sc_fmt fmt) |
inline ::std::ostream & | sc_dt::operator<< (::std::ostream &os, sc_fmt fmt) |
Variables | |
const int | sc_dt::SC_BUILTIN_WL_ = 32 |
const int | sc_dt::SC_BUILTIN_IWL_ = 32 |
const sc_q_mode | sc_dt::SC_BUILTIN_Q_MODE_ = SC_TRN |
const sc_o_mode | sc_dt::SC_BUILTIN_O_MODE_ = SC_WRAP |
const int | sc_dt::SC_BUILTIN_N_BITS_ = 0 |
const int | sc_dt::SC_DEFAULT_WL_ = SC_BUILTIN_WL_ |
const int | sc_dt::SC_DEFAULT_IWL_ = SC_BUILTIN_IWL_ |
const sc_q_mode | sc_dt::SC_DEFAULT_Q_MODE_ = SC_BUILTIN_Q_MODE_ |
const sc_o_mode | sc_dt::SC_DEFAULT_O_MODE_ = SC_BUILTIN_O_MODE_ |
const int | sc_dt::SC_DEFAULT_N_BITS_ = SC_BUILTIN_N_BITS_ |
const sc_switch | sc_dt::SC_BUILTIN_CAST_SWITCH_ = SC_ON |
const sc_switch | sc_dt::SC_DEFAULT_CAST_SWITCH_ = SC_BUILTIN_CAST_SWITCH_ |
const int | sc_dt::SC_BUILTIN_DIV_WL_ = 64 |
const int | sc_dt::SC_BUILTIN_CTE_WL_ = 64 |
const int | sc_dt::SC_BUILTIN_MAX_WL_ = 1024 |
const int | sc_dt::SC_DEFAULT_DIV_WL_ = SC_BUILTIN_DIV_WL_ |
const int | sc_dt::SC_DEFAULT_CTE_WL_ = SC_BUILTIN_CTE_WL_ |
const int | sc_dt::SC_DEFAULT_MAX_WL_ = SC_BUILTIN_MAX_WL_ |
#define SC_ASSERT_ | ( | cnd, | |
msg | |||
) | (void(0)) |
Definition at line 248 of file sc_fxdefs.hh.
#define SC_CHECK_CTE_WL_ | ( | cte_wl | ) | SC_ERROR_IF_((cte_wl) <= 0, sc_core::SC_ID_INVALID_CTE_WL_) |
Definition at line 261 of file sc_fxdefs.hh.
#define SC_CHECK_DIV_WL_ | ( | div_wl | ) | SC_ERROR_IF_((div_wl) <= 0, sc_core::SC_ID_INVALID_DIV_WL_) |
Definition at line 258 of file sc_fxdefs.hh.
#define SC_CHECK_MAX_WL_ | ( | max_wl | ) |
Definition at line 264 of file sc_fxdefs.hh.
#define SC_CHECK_N_BITS_ | ( | n_bits | ) | SC_ERROR_IF_((n_bits) < 0, sc_core::SC_ID_INVALID_N_BITS_) |
Definition at line 255 of file sc_fxdefs.hh.
#define SC_CHECK_WL_ | ( | wl | ) | SC_ERROR_IF_((wl) <= 0, sc_core::SC_ID_INVALID_WL_) |
Definition at line 253 of file sc_fxdefs.hh.
#define SC_ERROR_IF_ | ( | cnd, | |
id | |||
) | SC_ERROR_IF_IMPL_(cnd, id, 0) |
Definition at line 251 of file sc_fxdefs.hh.
#define SC_ERROR_IF_IMPL_ | ( | cnd, | |
id, | |||
msg | |||
) |
Definition at line 236 of file sc_fxdefs.hh.
#define SC_LONG_64 0 |
Definition at line 58 of file sc_fxdefs.hh.
#define SC_OBSERVER_ | ( | object, | |
observer_type, | |||
event | |||
) |
Definition at line 273 of file sc_fxdefs.hh.
#define SC_OBSERVER_DEFAULT_ | ( | observer_type | ) |
Definition at line 282 of file sc_fxdefs.hh.