SystemC
Recoding Infrastructure for SystemC v0.6.3 derived from Accellera SystemC 2.3.1
Accellera SystemC proof-of-concept library
|
#include "sysc/datatypes/bit/sc_lv_base.h"
#include "sysc/datatypes/fx/sc_fxval.h"
#include "sysc/datatypes/fx/scfx_params.h"
#include "sysc/datatypes/fx/sc_fxnum_observer.h"
Go to the source code of this file.
Classes | |
class | sc_dt::sc_fxnum_bitref |
class | sc_dt::sc_fxnum_fast_bitref |
class | sc_dt::sc_fxnum_subref |
class | sc_dt::sc_fxnum_fast_subref |
class | sc_dt::sc_fxnum |
class | sc_dt::sc_fxnum_fast |
Namespaces | |
sc_core | |
sc_dt | |
Macros | |
#define | DECL_ASN_OP_T(op, tp) sc_fxnum_bitref& operator op ( tp ); |
#define | DECL_ASN_OP(op) |
#define | DECL_ASN_OP_T(op, tp) sc_fxnum_fast_bitref& operator op ( tp ); |
#define | DECL_ASN_OP(op) |
#define | DECL_ASN_OP_T(tp) sc_fxnum_subref& operator = ( tp ); |
#define | DECL_ASN_OP_T_A(op, tp) sc_fxnum_subref& operator op ## = ( tp ); |
#define | DECL_ASN_OP_A(op) |
#define | DECL_REL_OP_T(op, tp) |
#define | DECL_REL_OP(op) |
#define | DECL_ASN_OP_T(tp) sc_fxnum_fast_subref& operator = ( tp ); |
#define | DECL_ASN_OP_T_A(op, tp) sc_fxnum_fast_subref& operator op ## = ( tp ); |
#define | DECL_ASN_OP_A(op) |
#define | DECL_REL_OP_T(op, tp) |
#define | DECL_REL_OP(op) |
#define | DECL_CTOR_T(tp) |
#define | DECL_BIN_OP_T(op, tp) |
#define | DECL_BIN_OP_OTHER(op) |
#define | DECL_BIN_OP(op, dummy) |
#define | DECL_BIN_FNC_T(fnc, tp) |
#define | DECL_BIN_FNC_OTHER(fnc) |
#define | DECL_BIN_FNC(fnc) |
#define | DECL_REL_OP_T(op, tp) |
#define | DECL_REL_OP_OTHER(op) |
#define | DECL_REL_OP(op) |
#define | DECL_ASN_OP_T(op, tp) sc_fxnum& operator op( tp ); |
#define | DECL_ASN_OP_OTHER(op) |
#define | DECL_ASN_OP(op) |
#define | DECL_CTOR_T(tp) |
#define | DECL_BIN_OP_T(op, tp) |
#define | DECL_BIN_OP_OTHER(op) |
#define | DECL_BIN_OP(op, dummy) |
#define | DECL_BIN_FNC_T(fnc, tp) |
#define | DECL_BIN_FNC_OTHER(fnc) |
#define | DECL_BIN_FNC(fnc) |
#define | DECL_REL_OP_T(op, tp) |
#define | DECL_REL_OP_OTHER(op) |
#define | DECL_REL_OP(op) |
#define | DECL_ASN_OP_T(op, tp) sc_fxnum_fast& operator op( tp ); |
#define | DECL_ASN_OP_OTHER(op) |
#define | DECL_ASN_OP(op) |
#define | DEFN_ASN_OP_T(tp) |
#define | DEFN_ASN_OP_T(op, tp) |
#define | DEFN_ASN_OP(op) |
#define | DEFN_REL_OP_T(op, tp) |
#define | DEFN_REL_OP(op) |
#define | DEFN_RED_FNC(fnc) |
#define | DEFN_ASN_OP_T(tp) |
#define | DEFN_ASN_OP_T(op, tp) |
#define | DEFN_ASN_OP(op) |
#define | DEFN_REL_OP_T(op, tp) |
#define | DEFN_REL_OP(op) |
#define | DEFN_RED_FNC(fnc) |
#define | DEFN_CTOR_T(tp, arg) |
#define | DEFN_CTOR_T_A(tp) DEFN_CTOR_T(tp,a) |
#define | DEFN_CTOR_T_B(tp) DEFN_CTOR_T(tp,*a.m_rep) |
#define | DEFN_CTOR_T_C(tp) DEFN_CTOR_T(tp,a.to_double()) |
#define | DEFN_CTOR_T_D(tp) DEFN_CTOR_T(tp,a.value()) |
#define | DEFN_BIN_OP_T(op, fnc, tp) |
#define | DEFN_BIN_OP_OTHER(op, fnc) |
#define | DEFN_BIN_OP(op, fnc) |
#define | DEFN_BIN_FNC_T(fnc, tp) |
#define | DEFN_BIN_FNC_OTHER(fnc) |
#define | DEFN_BIN_FNC(fnc) |
#define | DEFN_REL_OP_T(op, ret, tp) |
#define | DEFN_REL_OP_OTHER(op, ret) |
#define | DEFN_REL_OP(op, ret) |
#define | DEFN_ASN_OP_T(tp) |
#define | DEFN_ASN_OP_T(op, fnc, tp) |
#define | DEFN_ASN_OP_OTHER(op, fnc) |
#define | DEFN_ASN_OP(op, fnc) |
#define | DEFN_CTOR_T(tp, arg) |
#define | DEFN_CTOR_T_A(tp) DEFN_CTOR_T(tp,static_cast<double>( a )) |
#define | DEFN_CTOR_T_B(tp) DEFN_CTOR_T(tp,sc_fxval_fast::from_string( a )) |
#define | DEFN_CTOR_T_C(tp) DEFN_CTOR_T(tp,a.to_double()) |
#define | DEFN_BIN_OP_T(op, tp) |
#define | DEFN_BIN_OP_OTHER(op) |
#define | DEFN_BIN_OP(op, dummy) |
#define | DEFN_BIN_FNC_T(fnc, op, tp) |
#define | DEFN_BIN_FNC_OTHER(fnc, op) |
#define | DEFN_BIN_FNC(fnc, op) |
#define | DEFN_REL_OP_T(op, tp) |
#define | DEFN_REL_OP_OTHER(op) |
#define | DEFN_REL_OP(op) |
#define | DEFN_ASN_OP_T(tp) |
#define | DEFN_ASN_OP_T(op, tp) |
#define | DEFN_ASN_OP_OTHER(op) |
#define | DEFN_ASN_OP(op) |
#define | DEFN_BIN_OP_T(op, fnc, tp) |
#define | DEFN_BIN_OP(op, fnc) DEFN_BIN_OP_T(op,fnc,const sc_fxnum_fast&) |
#define | DEFN_BIN_FNC_T(fnc, tp) |
#define | DEFN_BIN_FNC(fnc) DEFN_BIN_FNC_T(fnc,const sc_fxnum_fast&) |
#define | DEFN_REL_OP_T(op, ret, tp) |
#define | DEFN_REL_OP(op, ret) DEFN_REL_OP_T(op,ret,const sc_fxnum_fast&) |
#define | DEFN_ASN_OP_T(tp) |
#define | DEFN_ASN_OP_T(op, fnc, tp) |
#define | DEFN_ASN_OP(op, fnc) |
#define | DEFN_BIN_FNC_T(fnc, op, tp) |
#define | DEFN_BIN_FNC(fnc, op) |
#define | DEFN_ASN_OP_T(tp) |
#define | DEFN_ASN_OP_T(op, tp) |
#define | DEFN_ASN_OP(op) |
Functions | |
inline::std::ostream & | sc_dt::operator<< (::std::ostream &os, const sc_fxnum_bitref &a) |
inline::std::istream & | sc_dt::operator>> (::std::istream &is, sc_fxnum_bitref &a) |
inline::std::ostream & | sc_dt::operator<< (::std::ostream &os, const sc_fxnum_fast_bitref &a) |
inline::std::istream & | sc_dt::operator>> (::std::istream &is, sc_fxnum_fast_bitref &a) |
inline::std::ostream & | sc_dt::operator<< (::std::ostream &os, const sc_fxnum_subref &a) |
inline::std::istream & | sc_dt::operator>> (::std::istream &is, sc_fxnum_subref &a) |
inline::std::ostream & | sc_dt::operator<< (::std::ostream &os, const sc_fxnum_fast_subref &a) |
inline::std::istream & | sc_dt::operator>> (::std::istream &is, sc_fxnum_fast_subref &a) |
void | sc_dt::neg (sc_fxval &c, const sc_fxnum &a) |
void | sc_dt::neg (sc_fxnum &c, const sc_fxnum &a) |
const sc_fxval | sc_dt::operator/ (const sc_fxnum &a, const sc_fxnum &b) |
const sc_fxval | sc_dt::operator/ (const sc_fxnum &a, const sc_fxval &b) |
const sc_fxval | sc_dt::operator/ (const sc_fxval &a, const sc_fxnum &b) |
const sc_fxval | sc_dt::operator<< (const sc_fxnum &a, int b) |
const sc_fxval | sc_dt::operator>> (const sc_fxnum &a, int b) |
void | sc_dt::lshift (sc_fxval &c, const sc_fxnum &a, int b) |
void | sc_dt::rshift (sc_fxval &c, const sc_fxnum &a, int b) |
void | sc_dt::lshift (sc_fxnum &c, const sc_fxnum &a, int b) |
void | sc_dt::rshift (sc_fxnum &c, const sc_fxnum &a, int b) |
inline::std::ostream & | sc_dt::operator<< (::std::ostream &os, const sc_fxnum &a) |
inline::std::istream & | sc_dt::operator>> (::std::istream &is, sc_fxnum &a) |
void | sc_dt::neg (sc_fxval_fast &c, const sc_fxnum_fast &a) |
void | sc_dt::neg (sc_fxnum_fast &c, const sc_fxnum_fast &a) |
const sc_fxval_fast | sc_dt::operator/ (const sc_fxnum_fast &a, const sc_fxnum_fast &b) |
const sc_fxval_fast | sc_dt::operator/ (const sc_fxnum_fast &a, const sc_fxval_fast &b) |
const sc_fxval_fast | sc_dt::operator/ (const sc_fxval_fast &a, const sc_fxnum_fast &b) |
const sc_fxval_fast | sc_dt::operator<< (const sc_fxnum_fast &a, int b) |
const sc_fxval_fast | sc_dt::operator>> (const sc_fxnum_fast &a, int b) |
void | sc_dt::lshift (sc_fxval_fast &c, const sc_fxnum_fast &a, int b) |
void | sc_dt::rshift (sc_fxval_fast &c, const sc_fxnum_fast &a, int b) |
void | sc_dt::lshift (sc_fxnum_fast &c, const sc_fxnum_fast &a, int b) |
void | sc_dt::rshift (sc_fxnum_fast &c, const sc_fxnum_fast &a, int b) |
inline::std::ostream & | sc_dt::operator<< (::std::ostream &os, const sc_fxnum_fast &a) |
inline::std::istream & | sc_dt::operator>> (::std::istream &is, sc_fxnum_fast &a) |
#define DECL_ASN_OP | ( | op | ) |
Definition at line 1238 of file sc_fxnum.h.
#define DECL_ASN_OP | ( | op | ) |
Definition at line 1238 of file sc_fxnum.h.
#define DECL_ASN_OP | ( | op | ) |
Definition at line 1238 of file sc_fxnum.h.
#define DECL_ASN_OP | ( | op | ) |
Definition at line 1238 of file sc_fxnum.h.
#define DECL_ASN_OP_A | ( | op | ) |
Definition at line 452 of file sc_fxnum.h.
#define DECL_ASN_OP_A | ( | op | ) |
Definition at line 452 of file sc_fxnum.h.
#define DECL_ASN_OP_OTHER | ( | op | ) |
Definition at line 1227 of file sc_fxnum.h.
#define DECL_ASN_OP_OTHER | ( | op | ) |
Definition at line 1227 of file sc_fxnum.h.
#define DECL_ASN_OP_T | ( | op, | |
tp | |||
) | sc_fxnum_bitref& operator op ( tp ); |
Definition at line 1223 of file sc_fxnum.h.
#define DECL_ASN_OP_T | ( | op, | |
tp | |||
) | sc_fxnum_fast_bitref& operator op ( tp ); |
Definition at line 1223 of file sc_fxnum.h.
#define DECL_ASN_OP_T | ( | tp | ) | sc_fxnum_subref& operator = ( tp ); |
Definition at line 1223 of file sc_fxnum.h.
#define DECL_ASN_OP_T | ( | tp | ) | sc_fxnum_fast_subref& operator = ( tp ); |
Definition at line 1223 of file sc_fxnum.h.
#define DECL_ASN_OP_T | ( | op, | |
tp | |||
) | sc_fxnum& operator op( tp ); |
Definition at line 1223 of file sc_fxnum.h.
#define DECL_ASN_OP_T | ( | op, | |
tp | |||
) | sc_fxnum_fast& operator op( tp ); |
Definition at line 1223 of file sc_fxnum.h.
#define DECL_ASN_OP_T_A | ( | op, | |
tp | |||
) | sc_fxnum_subref& operator op ## = ( tp ); |
Definition at line 449 of file sc_fxnum.h.
#define DECL_ASN_OP_T_A | ( | op, | |
tp | |||
) | sc_fxnum_fast_subref& operator op ## = ( tp ); |
Definition at line 449 of file sc_fxnum.h.
#define DECL_BIN_FNC | ( | fnc | ) |
Definition at line 1147 of file sc_fxnum.h.
#define DECL_BIN_FNC | ( | fnc | ) |
Definition at line 1147 of file sc_fxnum.h.
#define DECL_BIN_FNC_OTHER | ( | fnc | ) |
Definition at line 1136 of file sc_fxnum.h.
#define DECL_BIN_FNC_OTHER | ( | fnc | ) |
Definition at line 1136 of file sc_fxnum.h.
#define DECL_BIN_FNC_T | ( | fnc, | |
tp | |||
) |
Definition at line 1129 of file sc_fxnum.h.
#define DECL_BIN_FNC_T | ( | fnc, | |
tp | |||
) |
Definition at line 1129 of file sc_fxnum.h.
#define DECL_BIN_OP | ( | op, | |
dummy | |||
) |
Definition at line 1082 of file sc_fxnum.h.
#define DECL_BIN_OP | ( | op, | |
dummy | |||
) |
Definition at line 1082 of file sc_fxnum.h.
#define DECL_BIN_OP_OTHER | ( | op | ) |
Definition at line 1071 of file sc_fxnum.h.
#define DECL_BIN_OP_OTHER | ( | op | ) |
Definition at line 1071 of file sc_fxnum.h.
#define DECL_BIN_OP_T | ( | op, | |
tp | |||
) |
Definition at line 1066 of file sc_fxnum.h.
#define DECL_BIN_OP_T | ( | op, | |
tp | |||
) |
Definition at line 1066 of file sc_fxnum.h.
#define DECL_CTOR_T | ( | tp | ) |
Definition at line 1015 of file sc_fxnum.h.
#define DECL_CTOR_T | ( | tp | ) |
Definition at line 1015 of file sc_fxnum.h.
#define DECL_REL_OP | ( | op | ) |
Definition at line 1197 of file sc_fxnum.h.
#define DECL_REL_OP | ( | op | ) |
Definition at line 1197 of file sc_fxnum.h.
#define DECL_REL_OP | ( | op | ) |
Definition at line 1197 of file sc_fxnum.h.
#define DECL_REL_OP | ( | op | ) |
Definition at line 1197 of file sc_fxnum.h.
#define DECL_REL_OP_OTHER | ( | op | ) |
Definition at line 1186 of file sc_fxnum.h.
#define DECL_REL_OP_OTHER | ( | op | ) |
Definition at line 1186 of file sc_fxnum.h.
#define DECL_REL_OP_T | ( | op, | |
tp | |||
) |
Definition at line 1181 of file sc_fxnum.h.
#define DECL_REL_OP_T | ( | op, | |
tp | |||
) |
Definition at line 1181 of file sc_fxnum.h.
#define DECL_REL_OP_T | ( | op, | |
tp | |||
) |
Definition at line 1181 of file sc_fxnum.h.
#define DECL_REL_OP_T | ( | op, | |
tp | |||
) |
Definition at line 1181 of file sc_fxnum.h.
#define DEFN_ASN_OP | ( | op | ) |
Definition at line 5074 of file sc_fxnum.h.
#define DEFN_ASN_OP | ( | op | ) |
Definition at line 5074 of file sc_fxnum.h.
#define DEFN_ASN_OP | ( | op, | |
fnc | |||
) |
Definition at line 5074 of file sc_fxnum.h.
#define DEFN_ASN_OP | ( | op | ) |
Definition at line 5074 of file sc_fxnum.h.
#define DEFN_ASN_OP | ( | op, | |
fnc | |||
) |
Definition at line 5074 of file sc_fxnum.h.
#define DEFN_ASN_OP | ( | op | ) |
Definition at line 5074 of file sc_fxnum.h.
#define DEFN_ASN_OP_OTHER | ( | op, | |
fnc | |||
) |
Definition at line 4293 of file sc_fxnum.h.
#define DEFN_ASN_OP_OTHER | ( | op | ) |
Definition at line 4293 of file sc_fxnum.h.
#define DEFN_ASN_OP_T | ( | tp | ) |
Definition at line 5062 of file sc_fxnum.h.
#define DEFN_ASN_OP_T | ( | op, | |
tp | |||
) |
Definition at line 5062 of file sc_fxnum.h.
#define DEFN_ASN_OP_T | ( | tp | ) |
Definition at line 5062 of file sc_fxnum.h.
#define DEFN_ASN_OP_T | ( | op, | |
tp | |||
) |
Definition at line 5062 of file sc_fxnum.h.
#define DEFN_ASN_OP_T | ( | tp | ) |
Definition at line 5062 of file sc_fxnum.h.
#define DEFN_ASN_OP_T | ( | op, | |
fnc, | |||
tp | |||
) |
Definition at line 5062 of file sc_fxnum.h.
#define DEFN_ASN_OP_T | ( | tp | ) |
Definition at line 5062 of file sc_fxnum.h.
#define DEFN_ASN_OP_T | ( | op, | |
tp | |||
) |
Definition at line 5062 of file sc_fxnum.h.
#define DEFN_ASN_OP_T | ( | tp | ) |
Definition at line 5062 of file sc_fxnum.h.
#define DEFN_ASN_OP_T | ( | op, | |
fnc, | |||
tp | |||
) |
Definition at line 5062 of file sc_fxnum.h.
#define DEFN_ASN_OP_T | ( | tp | ) |
Definition at line 5062 of file sc_fxnum.h.
#define DEFN_ASN_OP_T | ( | op, | |
tp | |||
) |
Definition at line 5062 of file sc_fxnum.h.
#define DEFN_BIN_FNC | ( | fnc | ) |
Definition at line 5022 of file sc_fxnum.h.
#define DEFN_BIN_FNC | ( | fnc, | |
op | |||
) |
Definition at line 5022 of file sc_fxnum.h.
#define DEFN_BIN_FNC | ( | fnc | ) | DEFN_BIN_FNC_T(fnc,const sc_fxnum_fast&) |
Definition at line 5022 of file sc_fxnum.h.
#define DEFN_BIN_FNC | ( | fnc, | |
op | |||
) |
Definition at line 5022 of file sc_fxnum.h.
#define DEFN_BIN_FNC_OTHER | ( | fnc | ) |
Definition at line 4014 of file sc_fxnum.h.
#define DEFN_BIN_FNC_OTHER | ( | fnc, | |
op | |||
) |
Definition at line 4014 of file sc_fxnum.h.
#define DEFN_BIN_FNC_T | ( | fnc, | |
tp | |||
) |
Definition at line 5001 of file sc_fxnum.h.
#define DEFN_BIN_FNC_T | ( | fnc, | |
op, | |||
tp | |||
) |
Definition at line 5001 of file sc_fxnum.h.
#define DEFN_BIN_FNC_T | ( | fnc, | |
tp | |||
) |
Definition at line 5001 of file sc_fxnum.h.
#define DEFN_BIN_FNC_T | ( | fnc, | |
op, | |||
tp | |||
) |
Definition at line 5001 of file sc_fxnum.h.
#define DEFN_BIN_OP | ( | op, | |
fnc | |||
) |
Definition at line 4815 of file sc_fxnum.h.
#define DEFN_BIN_OP | ( | op, | |
dummy | |||
) |
Definition at line 4815 of file sc_fxnum.h.
#define DEFN_BIN_OP | ( | op, | |
fnc | |||
) | DEFN_BIN_OP_T(op,fnc,const sc_fxnum_fast&) |
Definition at line 4815 of file sc_fxnum.h.
#define DEFN_BIN_OP_OTHER | ( | op, | |
fnc | |||
) |
Definition at line 3856 of file sc_fxnum.h.
#define DEFN_BIN_OP_OTHER | ( | op | ) |
Definition at line 3856 of file sc_fxnum.h.
#define DEFN_BIN_OP_T | ( | op, | |
fnc, | |||
tp | |||
) |
Definition at line 4796 of file sc_fxnum.h.
#define DEFN_BIN_OP_T | ( | op, | |
tp | |||
) |
Definition at line 4796 of file sc_fxnum.h.
#define DEFN_BIN_OP_T | ( | op, | |
fnc, | |||
tp | |||
) |
Definition at line 4796 of file sc_fxnum.h.
#define DEFN_CTOR_T | ( | tp, | |
arg | |||
) |
Definition at line 3727 of file sc_fxnum.h.
#define DEFN_CTOR_T | ( | tp, | |
arg | |||
) |
Definition at line 3727 of file sc_fxnum.h.
#define DEFN_CTOR_T_A | ( | tp | ) | DEFN_CTOR_T(tp,a) |
Definition at line 3746 of file sc_fxnum.h.
#define DEFN_CTOR_T_A | ( | tp | ) | DEFN_CTOR_T(tp,static_cast<double>( a )) |
Definition at line 3746 of file sc_fxnum.h.
#define DEFN_CTOR_T_B | ( | tp | ) | DEFN_CTOR_T(tp,*a.m_rep) |
Definition at line 3747 of file sc_fxnum.h.
#define DEFN_CTOR_T_B | ( | tp | ) | DEFN_CTOR_T(tp,sc_fxval_fast::from_string( a )) |
Definition at line 3747 of file sc_fxnum.h.
#define DEFN_CTOR_T_C | ( | tp | ) | DEFN_CTOR_T(tp,a.to_double()) |
Definition at line 3748 of file sc_fxnum.h.
#define DEFN_CTOR_T_C | ( | tp | ) | DEFN_CTOR_T(tp,a.to_double()) |
Definition at line 3748 of file sc_fxnum.h.
#define DEFN_CTOR_T_D | ( | tp | ) | DEFN_CTOR_T(tp,a.value()) |
Definition at line 2617 of file sc_fxnum.h.
#define DEFN_RED_FNC | ( | fnc | ) |
Definition at line 2394 of file sc_fxnum.h.
#define DEFN_RED_FNC | ( | fnc | ) |
Definition at line 2394 of file sc_fxnum.h.
#define DEFN_REL_OP | ( | op | ) |
Definition at line 4889 of file sc_fxnum.h.
#define DEFN_REL_OP | ( | op | ) |
Definition at line 4889 of file sc_fxnum.h.
#define DEFN_REL_OP | ( | op, | |
ret | |||
) |
Definition at line 4889 of file sc_fxnum.h.
#define DEFN_REL_OP | ( | op | ) |
Definition at line 4889 of file sc_fxnum.h.
#define DEFN_REL_OP | ( | op, | |
ret | |||
) | DEFN_REL_OP_T(op,ret,const sc_fxnum_fast&) |
Definition at line 4889 of file sc_fxnum.h.
#define DEFN_REL_OP_OTHER | ( | op, | |
ret | |||
) |
Definition at line 4162 of file sc_fxnum.h.
#define DEFN_REL_OP_OTHER | ( | op | ) |
Definition at line 4162 of file sc_fxnum.h.
#define DEFN_REL_OP_T | ( | op, | |
tp | |||
) |
#define DEFN_REL_OP_T | ( | op, | |
tp | |||
) |
Definition at line 4867 of file sc_fxnum.h.
#define DEFN_REL_OP_T | ( | op, | |
ret, | |||
tp | |||
) |
Definition at line 4867 of file sc_fxnum.h.
#define DEFN_REL_OP_T | ( | op, | |
tp | |||
) |
Definition at line 4867 of file sc_fxnum.h.
#define DEFN_REL_OP_T | ( | op, | |
ret, | |||
tp | |||
) |
Definition at line 4867 of file sc_fxnum.h.