|
gem5 [DEVELOP-FOR-25.0]
|
#include <sc_signed.hh>
Public Member Functions | |
| virtual | ~sc_signed_subref_r () |
| sc_signed_subref_r (const sc_signed_subref_r &a) | |
| int | length () const |
| operator sc_unsigned () 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 |
| virtual int | concat_length (bool *xz_present_p) const |
| virtual uint64 | concat_get_uint64 () 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 |
| bool | and_reduce () const |
| bool | nand_reduce () const |
| bool | or_reduce () const |
| bool | nor_reduce () const |
| bool | xor_reduce () const |
| bool | xnor_reduce () 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_signed_subref_r () | |
| void | initialize (const sc_signed *obj_p, int left_, int right_) |
Protected Attributes | |
| int | m_left |
| sc_signed * | m_obj_p |
| int | m_right |
Private Member Functions | |
| const sc_signed_subref_r & | operator= (const sc_signed_subref_r &) |
Friends | |
| class | sc_signed |
| class | sc_signed_signal |
| class | sc_unsigned |
Definition at line 814 of file sc_signed.hh.
|
inlineprotected |
Definition at line 822 of file sc_signed.hh.
References m_left, m_obj_p, and m_right.
Referenced by operator=(), sc_core::sc_signed_sigref::sc_signed_sigref(), sc_dt::sc_signed_subref::sc_signed_subref(), sc_dt::sc_signed_subref::sc_signed_subref(), and sc_signed_subref_r().
|
inlinevirtual |
Definition at line 835 of file sc_signed.hh.
|
inline |
Definition at line 838 of file sc_signed.hh.
References a, m_left, m_obj_p, m_right, and sc_signed_subref_r().
|
inline |
Definition at line 2376 of file sc_signed.hh.
References m_left, m_obj_p, m_right, sc_signed, and sc_dt::sc_signed::test().
|
virtual |
Reimplemented from sc_dt::sc_value_base.
Definition at line 57 of file sc_signed.cc.
|
virtual |
Reimplemented from sc_dt::sc_value_base.
Definition at line 65 of file sc_signed.cc.
|
virtual |
Reimplemented from sc_dt::sc_value_base.
Definition at line 49 of file sc_signed.cc.
|
inlinevirtual |
Reimplemented from sc_dt::sc_value_base.
Definition at line 868 of file sc_signed.hh.
|
inlineprotected |
Definition at line 826 of file sc_signed.hh.
References m_left, m_obj_p, m_right, and sc_signed.
Referenced by sc_dt::sc_signed::operator()(), sc_dt::sc_signed::operator()(), sc_dt::sc_signed::range(), and sc_dt::sc_signed::range().
|
inline |
Definition at line 845 of file sc_signed.hh.
References m_left, and m_right.
Referenced by sc_core::sc_signed_sigref::operator=(), sc_dt::sc_signed_subref::operator=(), and sc_dt::sc_signed_subref::operator=().
|
inline |
Definition at line 2386 of file sc_signed.hh.
References sc_signed_subref_r::and_reduce().
|
inline |
Definition at line 2402 of file sc_signed.hh.
References sc_signed_subref_r::or_reduce().
| sc_dt::sc_signed_subref_r::operator sc_unsigned | ( | ) | const |
Definition at line 73 of file sc_signed.cc.
|
private |
References sc_signed_subref_r().
|
inline |
Definition at line 2392 of file sc_signed.hh.
References m_left, m_obj_p, m_right, sc_signed, and sc_dt::sc_signed::test().
|
inline |
Definition at line 888 of file sc_signed.hh.
References sc_dt::SC_DEC, sc_dt::sc_io_base(), sc_io_show_base(), and to_string().
| double sc_dt::sc_signed_subref_r::to_double | ( | ) | const |
Definition at line 123 of file sc_signed.cc.
| int sc_dt::sc_signed_subref_r::to_int | ( | ) | const |
Definition at line 81 of file sc_signed.cc.
| int64 sc_dt::sc_signed_subref_r::to_int64 | ( | ) | const |
Definition at line 109 of file sc_signed.cc.
| long sc_dt::sc_signed_subref_r::to_long | ( | ) | const |
Definition at line 95 of file sc_signed.cc.
| const std::string sc_dt::sc_signed_subref_r::to_string | ( | sc_numrep | numrep, |
| bool | w_prefix ) const |
Definition at line 140 of file sc_signed.cc.
Definition at line 132 of file sc_signed.cc.
Referenced by print().
| unsigned int sc_dt::sc_signed_subref_r::to_uint | ( | ) | const |
Definition at line 88 of file sc_signed.cc.
| uint64 sc_dt::sc_signed_subref_r::to_uint64 | ( | ) | const |
Definition at line 116 of file sc_signed.cc.
| unsigned long sc_dt::sc_signed_subref_r::to_ulong | ( | ) | const |
Definition at line 102 of file sc_signed.cc.
|
inline |
Definition at line 2419 of file sc_signed.hh.
References sc_signed_subref_r::xor_reduce().
|
inline |
Definition at line 2408 of file sc_signed.hh.
References m_left, m_obj_p, m_right, sc_signed, and sc_dt::sc_signed::test().
|
friend |
Definition at line 816 of file sc_signed.hh.
References sc_signed.
Referenced by and_reduce(), sc_core::sc_signed_sigref::concat_set(), initialize(), or_reduce(), sc_signed, and xor_reduce().
|
friend |
Definition at line 817 of file sc_signed.hh.
References sc_signed_signal.
Referenced by sc_signed_signal.
|
friend |
Definition at line 818 of file sc_signed.hh.
References sc_unsigned.
Referenced by sc_core::sc_signed_sigref::concat_set(), sc_core::sc_signed_sigref::concat_set(), sc_dt::sc_signed_subref::operator=(), and sc_unsigned.
|
protected |
Definition at line 894 of file sc_signed.hh.
Referenced by and_reduce(), concat_length(), sc_core::sc_signed_sigref::concat_set(), sc_core::sc_signed_sigref::concat_set(), sc_core::sc_signed_sigref::concat_set(), sc_core::sc_signed_sigref::concat_set(), sc_core::sc_signed_sigref::concat_set(), sc_core::sc_signed_sigref::initialize(), initialize(), length(), sc_core::sc_signed_sigref::operator=(), sc_core::sc_signed_sigref::operator=(), sc_core::sc_signed_sigref::operator=(), sc_core::sc_signed_sigref::operator=(), or_reduce(), sc_signed_subref_r(), sc_signed_subref_r(), and xor_reduce().
|
protected |
Definition at line 895 of file sc_signed.hh.
Referenced by and_reduce(), sc_core::sc_signed_sigref::initialize(), initialize(), or_reduce(), sc_signed_subref_r(), sc_signed_subref_r(), and xor_reduce().
|
protected |
Definition at line 896 of file sc_signed.hh.
Referenced by and_reduce(), concat_length(), sc_core::sc_signed_sigref::concat_set(), sc_core::sc_signed_sigref::concat_set(), sc_core::sc_signed_sigref::concat_set(), sc_core::sc_signed_sigref::concat_set(), sc_core::sc_signed_sigref::concat_set(), sc_core::sc_signed_sigref::initialize(), initialize(), length(), sc_core::sc_signed_sigref::operator=(), sc_core::sc_signed_sigref::operator=(), sc_core::sc_signed_sigref::operator=(), sc_core::sc_signed_sigref::operator=(), or_reduce(), sc_signed_subref_r(), sc_signed_subref_r(), and xor_reduce().