gem5
v20.0.0.2
|
#include <sc_signed.hh>
Public Member Functions | |
sc_signed_subref (const sc_signed_subref &a) | |
const sc_signed_subref & | operator= (const sc_signed_subref_r &a) |
const sc_signed_subref & | operator= (const sc_signed_subref &a) |
const sc_signed_subref & | operator= (const sc_signed &a) |
const sc_signed_subref & | operator= (const sc_unsigned_subref_r &a) |
const sc_signed_subref & | operator= (const sc_unsigned &a) |
template<class T > | |
const sc_signed_subref & | operator= (const sc_generic_base< T > &a) |
const sc_signed_subref & | operator= (const char *a) |
const sc_signed_subref & | operator= (unsigned long a) |
const sc_signed_subref & | operator= (long a) |
const sc_signed_subref & | operator= (unsigned int a) |
const sc_signed_subref & | operator= (int a) |
const sc_signed_subref & | operator= (uint64 a) |
const sc_signed_subref & | operator= (int64 a) |
const sc_signed_subref & | operator= (double a) |
const sc_signed_subref & | operator= (const sc_int_base &a) |
const sc_signed_subref & | operator= (const sc_uint_base &a) |
virtual void | concat_set (int64 src, int low_i) |
virtual void | concat_set (const sc_signed &src, int low_i) |
virtual void | concat_set (const sc_unsigned &src, int low_i) |
virtual void | concat_set (uint64 src, int low_i) |
void | scan (::std::istream &is=::std::cin) |
![]() | |
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 |
![]() | |
virtual | ~sc_value_base () |
Static Protected Attributes | |
static sc_core::sc_vpool< sc_signed_subref > | m_pool |
Private Member Functions | |
sc_signed_subref () | |
Friends | |
class | sc_signed |
class | sc_core::sc_vpool< sc_signed_subref > |
Additional Inherited Members | |
![]() | |
sc_signed_subref_r () | |
void | initialize (const sc_signed *obj_p, int left_, int right_) |
![]() | |
int | m_left |
sc_signed * | m_obj_p |
int | m_right |
Definition at line 912 of file sc_signed.hh.
|
inlineprivate |
Definition at line 918 of file sc_signed.hh.
|
inline |
Definition at line 922 of file sc_signed.hh.
References ArmISA::a.
|
virtual |
Reimplemented from sc_dt::sc_value_base.
Definition at line 311 of file sc_signed.cc.
|
virtual |
Reimplemented from sc_dt::sc_value_base.
Definition at line 333 of file sc_signed.cc.
|
virtual |
Reimplemented from sc_dt::sc_value_base.
Definition at line 355 of file sc_signed.cc.
|
virtual |
Reimplemented from sc_dt::sc_value_base.
Definition at line 376 of file sc_signed.cc.
const sc_signed_subref & sc_dt::sc_signed_subref::operator= | ( | const sc_signed_subref_r & | a | ) |
Definition at line 157 of file sc_signed.cc.
const sc_signed_subref & sc_dt::sc_signed_subref::operator= | ( | const sc_signed_subref & | a | ) |
Definition at line 163 of file sc_signed.cc.
const sc_signed_subref & sc_dt::sc_signed_subref::operator= | ( | const sc_signed & | a | ) |
Definition at line 172 of file sc_signed.cc.
const sc_signed_subref & sc_dt::sc_signed_subref::operator= | ( | const sc_unsigned_subref_r & | a | ) |
Definition at line 186 of file sc_signed.cc.
const sc_signed_subref & sc_dt::sc_signed_subref::operator= | ( | const sc_unsigned & | a | ) |
Definition at line 192 of file sc_signed.cc.
References SC_POS.
|
inline |
Definition at line 934 of file sc_signed.hh.
References length.
|
inline |
Definition at line 2441 of file sc_signed.hh.
References PowerISA::aa, and length.
const sc_signed_subref & sc_dt::sc_signed_subref::operator= | ( | unsigned long | a | ) |
Definition at line 205 of file sc_signed.cc.
References DIGIT_MASK, and ArmISA::mask.
const sc_signed_subref & sc_dt::sc_signed_subref::operator= | ( | long | a | ) |
Definition at line 215 of file sc_signed.cc.
References BITS_PER_DIGIT, DIGIT_MASK, and ArmISA::mask.
|
inline |
Definition at line 945 of file sc_signed.hh.
|
inline |
Definition at line 951 of file sc_signed.hh.
References MipsISA::is.
const sc_signed_subref & sc_dt::sc_signed_subref::operator= | ( | uint64 | a | ) |
Definition at line 226 of file sc_signed.cc.
const sc_signed_subref & sc_dt::sc_signed_subref::operator= | ( | int64 | a | ) |
Definition at line 236 of file sc_signed.cc.
const sc_signed_subref & sc_dt::sc_signed_subref::operator= | ( | double | a | ) |
Definition at line 247 of file sc_signed.cc.
References BITS_PER_DIGIT, DIGIT_MASK, and ArmISA::mask.
const sc_signed_subref & sc_dt::sc_signed_subref::operator= | ( | const sc_int_base & | a | ) |
Definition at line 296 of file sc_signed.cc.
const sc_signed_subref & sc_dt::sc_signed_subref::operator= | ( | const sc_uint_base & | a | ) |
Definition at line 302 of file sc_signed.cc.
void sc_dt::sc_signed_subref::scan | ( | ::std::istream & | is = ::std::cin | ) |
Definition at line 398 of file sc_signed.cc.
References BITS_PER_DIGIT, and DIGIT_MASK.
Referenced by sc_dt::operator>>().
|
friend |
Definition at line 915 of file sc_signed.hh.
|
friend |
Definition at line 914 of file sc_signed.hh.
|
staticprotected |
Definition at line 972 of file sc_signed.hh.
Referenced by sc_dt::sc_signed::operator()(), and sc_dt::sc_signed::range().