|
gem5 [DEVELOP-FOR-25.0]
|
#include <sc_int_base.hh>
Public Member Functions | |
| sc_int_subref_r (const sc_int_subref_r &a) | |
| virtual | ~sc_int_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_int_subref_r () | |
| void | initialize (const sc_int_base *obj_p, int left_i, int right_i) |
Protected Attributes | |
| int | m_left |
| sc_int_base * | m_obj_p |
| int | m_right |
Private Member Functions | |
| const sc_int_subref_r & | operator= (const sc_int_subref_r &) |
Friends | |
| class | sc_int_base |
| class | sc_int_signal |
| class | sc_int_subref |
Definition at line 288 of file sc_int_base.hh.
|
inlineprotected |
Definition at line 296 of file sc_int_base.hh.
References m_left, m_obj_p, and m_right.
Referenced by sc_dt::sc_int_subref::operator=(), operator=(), sc_core::sc_int_sigref::sc_int_sigref(), sc_dt::sc_int_subref::sc_int_subref(), sc_dt::sc_int_subref::sc_int_subref(), and sc_int_subref_r().
|
inline |
Definition at line 308 of file sc_int_base.hh.
References a, m_left, m_obj_p, m_right, and sc_int_subref_r().
|
inlinevirtual |
Definition at line 314 of file sc_int_base.hh.
|
inline |
Definition at line 1073 of file sc_int_base.hh.
References a, and_reduce(), and sc_int_base.
Referenced by and_reduce(), and nand_reduce().
|
virtual |
Reimplemented from sc_dt::sc_value_base.
Definition at line 160 of file sc_int_base.cc.
References BITS_PER_DIGIT, concat_get_ctrl(), m_left, m_right, and sc_dt::mask_int.
Referenced by concat_get_ctrl().
|
virtual |
Reimplemented from sc_dt::sc_value_base.
Definition at line 200 of file sc_int_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 330 of file sc_int_base.hh.
References length().
|
inlinevirtual |
Reimplemented from sc_dt::sc_value_base.
Definition at line 321 of file sc_int_base.hh.
References length().
|
inlineprotected |
Definition at line 299 of file sc_int_base.hh.
References m_left, m_obj_p, m_right, and sc_int_base.
Referenced by sc_dt::sc_int_base::operator()(), sc_dt::sc_int_base::operator()(), sc_dt::sc_int_base::range(), and sc_dt::sc_int_base::range().
|
inline |
Definition at line 317 of file sc_int_base.hh.
References m_left, and m_right.
Referenced by concat_get_uint64(), concat_length(), sc_dt::sc_int_subref::concat_set(), sc_dt::sc_int_subref::concat_set(), sc_dt::sc_int_subref::concat_set(), sc_dt::sc_int_subref::concat_set(), sc_dt::sc_int_subref::operator=(), sc_dt::sc_int_subref::operator=(), sc_dt::sc_int_subref::operator=(), sc_dt::sc_int_subref::operator=(), sc_dt::sc_int_subref::operator=(), to_string(), and to_string().
|
inline |
Definition at line 342 of file sc_int_base.hh.
References and_reduce().
|
inline |
Definition at line 344 of file sc_int_base.hh.
References or_reduce().
|
inline |
Definition at line 1061 of file sc_int_base.hh.
References m_left, m_obj_p, m_right, and SC_INTWIDTH.
|
private |
References sc_int_subref_r().
|
inline |
Definition at line 1080 of file sc_int_base.hh.
References a, or_reduce(), and sc_int_base.
Referenced by nor_reduce(), and or_reduce().
|
inline |
Definition at line 369 of file sc_int_base.hh.
References sc_dt::SC_DEC, sc_dt::sc_io_base(), sc_io_show_base(), and to_string().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 1157 of file sc_int_base.hh.
References a, length(), and to_string().
Definition at line 1149 of file sc_int_base.hh.
References a, length(), and to_string().
Referenced by print(), to_string(), and to_string().
|
inline |
|
inline |
Definition at line 1132 of file sc_int_base.hh.
References to_uint64().
Referenced by sc_core::sc_int_sigref::concat_set(), and to_uint64().
|
inline |
|
inline |
Definition at line 352 of file sc_int_base.hh.
|
inline |
Definition at line 346 of file sc_int_base.hh.
References xor_reduce().
|
inline |
Definition at line 1087 of file sc_int_base.hh.
References a, sc_int_base, and xor_reduce().
Referenced by xnor_reduce(), and xor_reduce().
|
friend |
Definition at line 290 of file sc_int_base.hh.
References sc_int_base.
Referenced by and_reduce(), initialize(), or_reduce(), sc_int_base, and xor_reduce().
|
friend |
Definition at line 291 of file sc_int_base.hh.
References sc_int_signal.
Referenced by sc_int_signal.
|
friend |
Definition at line 292 of file sc_int_base.hh.
References sc_int_subref.
Referenced by sc_int_subref.
|
protected |
Definition at line 375 of file sc_int_base.hh.
Referenced by concat_get_ctrl(), concat_get_data(), sc_core::sc_int_sigref::initialize(), initialize(), length(), operator uint_type(), sc_core::sc_int_sigref::operator=(), sc_dt::sc_int_subref::operator=(), sc_int_subref_r(), and sc_int_subref_r().
|
protected |
Definition at line 376 of file sc_int_base.hh.
Referenced by concat_get_data(), sc_core::sc_int_sigref::initialize(), initialize(), operator uint_type(), sc_dt::sc_int_subref::operator=(), sc_int_subref_r(), and sc_int_subref_r().
|
protected |
Definition at line 377 of file sc_int_base.hh.
Referenced by concat_get_ctrl(), concat_get_data(), sc_core::sc_int_sigref::initialize(), initialize(), length(), operator uint_type(), sc_core::sc_int_sigref::operator=(), sc_dt::sc_int_subref::operator=(), sc_int_subref_r(), and sc_int_subref_r().