gem5
v20.1.0.0
|
#include <sc_fxnum.hh>
Public Member Functions | |
sc_fxnum_subref (const sc_fxnum_subref &) | |
~sc_fxnum_subref () | |
bool | and_reduce () const |
bool | nand_reduce () const |
bool | or_reduce () const |
bool | nor_reduce () const |
bool | xor_reduce () const |
bool | xnor_reduce () const |
int | length () const |
int | to_int () const |
unsigned int | to_uint () const |
long | to_long () const |
unsigned long | to_ulong () const |
int64 | to_int64 () const |
uint64 | to_uint64 () const |
const std::string | to_string () const |
const std::string | to_string (sc_numrep) const |
const std::string | to_string (sc_numrep, bool) const |
operator sc_bv_base () const | |
void | print (::std::ostream &=::std::cout) const |
void | scan (::std::istream &=::std::cin) |
void | dump (::std::ostream &=::std::cout) const |
Private Member Functions | |
bool | get () const |
bool | set () |
sc_fxnum_subref (sc_fxnum &, int, int) | |
sc_fxnum_subref () | |
Private Attributes | |
sc_fxnum & | m_num |
int | m_from |
int | m_to |
sc_bv_base & | m_bv |
Friends | |
class | sc_fxnum |
class | sc_fxnum_fast_subref |
Definition at line 213 of file sc_fxnum.hh.
|
inlineprivate |
Definition at line 1592 of file sc_fxnum.hh.
|
inline |
Definition at line 1598 of file sc_fxnum.hh.
|
inline |
Definition at line 1604 of file sc_fxnum.hh.
References m_bv.
|
private |
bool sc_dt::sc_fxnum_subref::and_reduce | ( | ) | const |
void sc_dt::sc_fxnum_subref::dump | ( | ::std::ostream & | os = ::std::cout | ) | const |
Definition at line 191 of file sc_fxnum.cc.
References sc_dt::sc_fxnum_fast_subref::get(), sc_dt::sc_fxnum_fast_subref::m_bv, X86ISA::os, and sc_dt::sc_proxy< X >::print().
|
private |
Definition at line 164 of file sc_fxnum.cc.
Referenced by sc_dt::sc_fxnum_fast_bitref::dump(), to_int(), to_int64(), to_long(), to_string(), to_uint(), to_uint64(), and to_ulong().
|
inline |
Definition at line 1770 of file sc_fxnum.hh.
References sc_dt::sc_bv_base::length(), and m_bv.
bool sc_dt::sc_fxnum_subref::nand_reduce | ( | ) | const |
bool sc_dt::sc_fxnum_subref::nor_reduce | ( | ) | const |
|
inline |
Definition at line 1848 of file sc_fxnum.hh.
References SC_FXNUM_OBSERVER_READ_.
bool sc_dt::sc_fxnum_subref::or_reduce | ( | ) | const |
void sc_dt::sc_fxnum_subref::print | ( | ::std::ostream & | os = ::std::cout | ) | const |
Definition at line 177 of file sc_fxnum.cc.
References sc_dt::sc_fxnum_fast::get_slice(), sc_dt::sc_fxnum_fast_subref::m_bv, sc_dt::sc_fxnum_fast_subref::m_from, sc_dt::sc_fxnum_fast_subref::m_num, and sc_dt::sc_fxnum_fast_subref::m_to.
void sc_dt::sc_fxnum_subref::scan | ( | ::std::istream & | is = ::std::cin | ) |
Definition at line 184 of file sc_fxnum.cc.
References sc_dt::sc_fxnum_fast_subref::m_bv, sc_dt::sc_fxnum_fast_subref::m_from, sc_dt::sc_fxnum_fast_subref::m_num, sc_dt::sc_fxnum_fast_subref::m_to, and sc_dt::sc_fxnum_fast::set_slice().
|
private |
Definition at line 170 of file sc_fxnum.cc.
|
inline |
Definition at line 1777 of file sc_fxnum.hh.
References get(), m_bv, m_num, SC_FXNUM_OBSERVER_READ_, and sc_dt::sc_proxy< X >::to_int().
|
inline |
Definition at line 1785 of file sc_fxnum.hh.
References get(), m_bv, m_num, SC_FXNUM_OBSERVER_READ_, and sc_dt::sc_proxy< X >::to_int64().
|
inline |
Definition at line 1809 of file sc_fxnum.hh.
References get(), m_bv, m_num, SC_FXNUM_OBSERVER_READ_, and sc_dt::sc_proxy< X >::to_long().
|
inline |
Definition at line 1826 of file sc_fxnum.hh.
References get(), m_bv, and sc_dt::sc_proxy< X >::to_string().
|
inline |
Definition at line 1833 of file sc_fxnum.hh.
References get(), m_bv, and sc_dt::sc_proxy< X >::to_string().
|
inline |
Definition at line 1840 of file sc_fxnum.hh.
References get(), m_bv, and sc_dt::sc_proxy< X >::to_string().
|
inline |
Definition at line 1793 of file sc_fxnum.hh.
References get(), m_bv, m_num, SC_FXNUM_OBSERVER_READ_, and sc_dt::sc_proxy< X >::to_uint().
|
inline |
Definition at line 1801 of file sc_fxnum.hh.
References get(), m_bv, m_num, SC_FXNUM_OBSERVER_READ_, and sc_dt::sc_proxy< X >::to_uint64().
|
inline |
Definition at line 1817 of file sc_fxnum.hh.
References get(), m_bv, m_num, SC_FXNUM_OBSERVER_READ_, and sc_dt::sc_proxy< X >::to_ulong().
bool sc_dt::sc_fxnum_subref::xnor_reduce | ( | ) | const |
bool sc_dt::sc_fxnum_subref::xor_reduce | ( | ) | const |
|
friend |
Definition at line 215 of file sc_fxnum.hh.
|
friend |
Definition at line 216 of file sc_fxnum.hh.
|
private |
Definition at line 334 of file sc_fxnum.hh.
Referenced by sc_dt::sc_fxnum_fast_bitref::dump(), length(), sc_dt::sc_fxnum_fast_bitref::scan(), to_int(), to_int64(), to_long(), to_string(), to_uint(), to_uint64(), to_ulong(), and ~sc_fxnum_subref().
|
private |
Definition at line 331 of file sc_fxnum.hh.
Referenced by sc_dt::sc_fxnum_fast_bitref::scan().
|
private |
Definition at line 330 of file sc_fxnum.hh.
Referenced by sc_dt::sc_fxnum_fast_bitref::scan(), to_int(), to_int64(), to_long(), to_uint(), to_uint64(), and to_ulong().
|
private |
Definition at line 332 of file sc_fxnum.hh.
Referenced by sc_dt::sc_fxnum_fast_bitref::scan().