gem5
v19.0.0.0
|
#include <sc_bit.hh>
Public Member Functions | |
sc_bit () | |
sc_bit (const sc_logic &a) | |
sc_bit (const sc_bit &a) | |
~sc_bit () | |
sc_bit & | operator= (const sc_bit &b) |
sc_bit & | operator= (const sc_logic &b) |
sc_bit & | operator&= (const sc_bit &b) |
sc_bit & | operator|= (const sc_bit &b) |
sc_bit & | operator^= (const sc_bit &b) |
operator bool () const | |
bool | operator! () const |
bool | to_bool () const |
char | to_char () const |
sc_bit & | b_not () |
void | print (::std::ostream &os=::std::cout) const |
void | scan (::std::istream &=::std::cin) |
Static Private Member Functions | |
static void | invalid_value (char) |
static void | invalid_value (int) |
static bool | to_value (char c) |
static bool | to_value (int i) |
static bool | to_value (bool b) |
Private Attributes | |
bool | m_val |
Friends | |
bool | operator== (const sc_bit &a, const sc_bit &b) |
bool | operator!= (const sc_bit &a, const sc_bit &b) |
const sc_bit | operator~ (const sc_bit &a) |
const sc_bit | operator| (const sc_bit &a, const sc_bit &b) |
const sc_bit | operator& (const sc_bit &a, const sc_bit &b) |
const sc_bit | operator^ (const sc_bit &a, const sc_bit &b) |
|
inline |
Definition at line 127 of file sc_bit.hh.
References sc_dt::sc_deprecated_sc_bit().
Referenced by sc_dt::operator&(), operator=(), sc_dt::operator^(), sc_dt::operator|(), and sc_dt::operator~().
|
explicit |
Definition at line 97 of file sc_bit.cc.
References sc_dt::sc_deprecated_sc_bit().
|
inline |
|
staticprivate |
Definition at line 79 of file sc_bit.cc.
References sc_core::sc_abort(), sc_core::SC_ID_VALUE_NOT_VALID_, and SC_REPORT_ERROR.
Referenced by to_value().
|
staticprivate |
Definition at line 88 of file sc_bit.cc.
References sc_core::sc_abort(), sc_core::SC_ID_VALUE_NOT_VALID_, and SC_REPORT_ERROR.
|
inline |
|
inline |
Definition at line 193 of file sc_bit.hh.
References DEFN_ASN_OP, and m_val.
|
inline |
Definition at line 245 of file sc_bit.hh.
References X86ISA::os, scan(), and to_bool().
Referenced by sc_dt::operator<<().
void sc_dt::sc_bit::scan | ( | ::std::istream & | is = ::std::cin | ) |
Definition at line 111 of file sc_bit.cc.
References ArmISA::b.
Referenced by sc_dt::operator>>(), and print().
|
inline |
|
inline |
Definition at line 218 of file sc_bit.hh.
References ArmISA::a, ArmISA::b, m_val, operator!=, operator==, and operator~.
|
inlinestaticprivate |
Definition at line 95 of file sc_bit.hh.
References invalid_value().
|
inlinestaticprivate |
Definition at line 104 of file sc_bit.hh.
References invalid_value().
|
inlinestaticprivate |
|
private |
Definition at line 249 of file sc_bit.hh.
Referenced by b_not(), operator bool(), operator!(), sc_dt::operator!=(), sc_dt::operator&(), operator&=(), operator=(), sc_dt::operator==(), sc_dt::operator^(), operator^=(), sc_dt::operator|(), operator|=(), to_bool(), and to_char().