|
gem5 [DEVELOP-FOR-25.0]
|
#include <sc_uint_base.hh>
Public Member Functions | |
| sc_uint_subref_r (const sc_uint_subref_r &init) | |
| virtual | ~sc_uint_subref_r () |
| int | length () const |
| virtual int | concat_length (bool *xz_present_p) const |
| virtual bool | concat_get_ctrl (sc_digit *dst_p, int low_i) const |
| virtual bool | concat_get_data (sc_digit *dst_p, int low_i) const |
| virtual uint64 | concat_get_uint64 () const |
| bool | and_reduce () const |
| bool | nand_reduce () const |
| bool | or_reduce () const |
| bool | nor_reduce () const |
| bool | xor_reduce () const |
| bool | xnor_reduce () const |
| operator uint_type () const | |
| uint_type | value () 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 |
| double | to_double () const |
| const std::string | to_string (sc_numrep numrep=SC_DEC) const |
| const std::string | to_string (sc_numrep numrep, bool w_prefix) const |
| void | print (::std::ostream &os=::std::cout) const |
Public Member Functions inherited from sc_dt::sc_value_base | |
| virtual | ~sc_value_base () |
Protected Member Functions | |
| sc_uint_subref_r () | |
| void | initialize (const sc_uint_base *obj_p, int left_i, int right_i) |
Protected Attributes | |
| int | m_left |
| sc_uint_base * | m_obj_p |
| int | m_right |
Private Member Functions | |
| sc_uint_subref_r & | operator= (const sc_uint_subref_r &) |
Friends | |
| class | sc_uint_base |
| class | sc_uint_subref |
Definition at line 275 of file sc_uint_base.hh.
|
inline |
Definition at line 282 of file sc_uint_base.hh.
References m_left, m_obj_p, m_right, and sc_uint_subref_r().
Referenced by sc_dt::sc_uint_subref::operator=(), operator=(), sc_core::sc_uint_sigref::sc_uint_sigref(), sc_dt::sc_uint_subref::sc_uint_subref(), sc_dt::sc_uint_subref::sc_uint_subref(), and sc_uint_subref_r().
|
inlineprotected |
Definition at line 288 of file sc_uint_base.hh.
|
inlinevirtual |
Definition at line 301 of file sc_uint_base.hh.
|
inline |
Definition at line 984 of file sc_uint_base.hh.
References a, and_reduce(), and sc_uint_base.
Referenced by and_reduce(), and nand_reduce().
|
virtual |
Reimplemented from sc_dt::sc_value_base.
Definition at line 163 of file sc_uint_base.cc.
References BITS_PER_DIGIT, concat_get_ctrl(), m_left, m_right, and sc_dt::UINT_ZERO.
Referenced by concat_get_ctrl().
|
virtual |
Reimplemented from sc_dt::sc_value_base.
Definition at line 185 of file sc_uint_base.cc.
References BITS_PER_DIGIT, concat_get_data(), DIGIT_MASK, m_left, m_obj_p, m_right, sc_dt::mask_int, and sc_dt::UINT_ZERO.
Referenced by concat_get_data().
|
inlinevirtual |
Reimplemented from sc_dt::sc_value_base.
Definition at line 317 of file sc_uint_base.hh.
|
inlinevirtual |
Reimplemented from sc_dt::sc_value_base.
Definition at line 308 of file sc_uint_base.hh.
References length().
|
inlineprotected |
Definition at line 292 of file sc_uint_base.hh.
References m_left, m_obj_p, m_right, and sc_uint_base.
Referenced by sc_dt::sc_uint_base::operator()(), sc_dt::sc_uint_base::operator()(), sc_dt::sc_uint_base::range(), and sc_dt::sc_uint_base::range().
|
inline |
Definition at line 304 of file sc_uint_base.hh.
References m_left, and m_right.
Referenced by concat_length(), sc_dt::sc_uint_subref::concat_set(), sc_dt::sc_uint_subref::concat_set(), sc_dt::sc_uint_subref::concat_set(), sc_dt::sc_uint_subref::concat_set(), sc_dt::sc_uint_subref::operator=(), sc_dt::sc_uint_subref::operator=(), sc_dt::sc_uint_subref::operator=(), sc_dt::sc_uint_subref::operator=(), and sc_dt::sc_uint_subref::operator=().
|
inline |
Definition at line 324 of file sc_uint_base.hh.
References and_reduce().
|
inline |
Definition at line 326 of file sc_uint_base.hh.
References or_reduce().
|
inline |
Definition at line 974 of file sc_uint_base.hh.
References m_left, m_obj_p, m_right, SC_INTWIDTH, and sc_dt::UINT_ZERO.
|
private |
References sc_uint_subref_r().
|
inline |
Definition at line 990 of file sc_uint_base.hh.
References a, or_reduce(), and sc_uint_base.
Referenced by nor_reduce(), and or_reduce().
|
inline |
Definition at line 350 of file sc_uint_base.hh.
References sc_dt::SC_DEC, sc_dt::sc_io_base(), sc_io_show_base(), and to_string().
|
inline |
Definition at line 1040 of file sc_uint_base.hh.
References a, sc_uint_base, and to_double().
Referenced by to_double().
|
inline |
Definition at line 1004 of file sc_uint_base.hh.
References a, sc_uint_base, and to_int().
Referenced by to_int().
|
inline |
Definition at line 1028 of file sc_uint_base.hh.
References a, sc_uint_base, and to_int64().
Referenced by to_int64().
|
inline |
Definition at line 1016 of file sc_uint_base.hh.
References a, sc_uint_base, and to_long().
Referenced by to_long().
|
inline |
Definition at line 1055 of file sc_uint_base.hh.
References a, sc_uint_base, and to_string().
Definition at line 1048 of file sc_uint_base.hh.
References a, sc_uint_base, and to_string().
Referenced by print(), to_string(), and to_string().
|
inline |
Definition at line 1010 of file sc_uint_base.hh.
References a, sc_uint_base, and to_uint().
Referenced by to_uint().
|
inline |
Definition at line 1034 of file sc_uint_base.hh.
References a, sc_uint_base, and to_uint64().
Referenced by sc_core::sc_uint_sigref::concat_set(), and to_uint64().
|
inline |
Definition at line 1022 of file sc_uint_base.hh.
References a, sc_uint_base, and to_ulong().
Referenced by to_ulong().
|
inline |
Definition at line 334 of file sc_uint_base.hh.
|
inline |
Definition at line 328 of file sc_uint_base.hh.
References xor_reduce().
|
inline |
Definition at line 996 of file sc_uint_base.hh.
References a, sc_uint_base, and xor_reduce().
Referenced by xnor_reduce(), and xor_reduce().
|
friend |
Definition at line 277 of file sc_uint_base.hh.
References sc_uint_base.
Referenced by and_reduce(), initialize(), or_reduce(), sc_uint_base, to_double(), to_int(), to_int64(), to_long(), to_string(), to_string(), to_uint(), to_uint64(), to_ulong(), and xor_reduce().
|
friend |
Definition at line 278 of file sc_uint_base.hh.
References sc_uint_subref.
Referenced by sc_uint_subref.
|
protected |
Definition at line 356 of file sc_uint_base.hh.
Referenced by concat_get_ctrl(), concat_get_data(), sc_core::sc_uint_sigref::initialize(), initialize(), length(), operator uint_type(), sc_core::sc_uint_sigref::operator=(), sc_dt::sc_uint_subref::operator=(), sc_uint_subref_r(), and sc_uint_subref_r().
|
protected |
Definition at line 357 of file sc_uint_base.hh.
Referenced by concat_get_data(), sc_core::sc_uint_sigref::initialize(), initialize(), operator uint_type(), sc_dt::sc_uint_subref::operator=(), sc_uint_subref_r(), and sc_uint_subref_r().
|
protected |
Definition at line 358 of file sc_uint_base.hh.
Referenced by concat_get_ctrl(), concat_get_data(), sc_core::sc_uint_sigref::initialize(), initialize(), length(), operator uint_type(), sc_core::sc_uint_sigref::operator=(), sc_dt::sc_uint_subref::operator=(), sc_uint_subref_r(), and sc_uint_subref_r().