|
gem5
v22.1.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 operator=().
|
explicit |
Definition at line 97 of file sc_bit.cc.
References sc_dt::sc_deprecated_sc_bit().
|
staticprivate |
Definition at line 79 of file sc_bit.cc.
References gem5::VegaISA::c, 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 gem5::ArmISA::i, sc_core::sc_abort(), sc_core::SC_ID_VALUE_NOT_VALID_, and SC_REPORT_ERROR.
|
inline |
|
inline |
Definition at line 179 of file sc_bit.hh.
References gem5::ArmISA::b, and m_val.
Definition at line 156 of file sc_bit.hh.
References gem5::ArmISA::b, and m_val.
Definition at line 104 of file sc_bit.cc.
References gem5::ArmISA::b, and sc_bit().
Definition at line 193 of file sc_bit.hh.
References gem5::ArmISA::b, and m_val.
Definition at line 186 of file sc_bit.hh.
References gem5::ArmISA::b, and m_val.
|
inline |
Definition at line 245 of file sc_bit.hh.
References gem5::X86ISA::os, and to_bool().
| void sc_dt::sc_bit::scan | ( | ::std::istream & | is = ::std::cin | ) |
Definition at line 111 of file sc_bit.cc.
References gem5::ArmISA::b, and gem5::MipsISA::is.
|
inline |
|
inline |
|
inlinestaticprivate |
Definition at line 111 of file sc_bit.hh.
References gem5::ArmISA::b.
|
inlinestaticprivate |
Definition at line 95 of file sc_bit.hh.
References gem5::VegaISA::c, and invalid_value().
|
inlinestaticprivate |
Definition at line 104 of file sc_bit.hh.
References gem5::ArmISA::i, and invalid_value().
|
private |
Definition at line 249 of file sc_bit.hh.
Referenced by b_not(), operator bool(), operator!(), operator&=(), operator=(), operator^=(), operator|=(), to_bool(), and to_char().