gem5  v20.1.0.0
Public Member Functions | Static Public Attributes | Protected Attributes | Private Member Functions | List of all members
sc_core::sc_signed_sigref Class Reference

#include <scx_signal_signed.h>

Inheritance diagram for sc_core::sc_signed_sigref:
sc_dt::sc_signed_subref_r sc_dt::sc_value_base

Public Member Functions

 sc_signed_sigref ()
 
virtual ~sc_signed_sigref ()
 
virtual void concat_set (sc_dt::int64 src, int low_i)
 
virtual void concat_set (const sc_dt::sc_signed &src, int low_i)
 
virtual void concat_set (const sc_dt::sc_unsigned &src, int low_i)
 
virtual void concat_set (const sc_dt::sc_lv_base &src, int low_i)
 
virtual void concat_set (sc_dt::uint64 src, int low_i)
 
void initialize (sc_signed_part_if *if_p, int left_, int right_)
 
void operator= (sc_dt::uint64 v)
 
void operator= (const char *v)
 
void operator= (unsigned long v)
 
void operator= (long v)
 
void operator= (unsigned int v)
 
void operator= (int v)
 
void operator= (sc_dt::int64 v)
 
void operator= (double v)
 
void operator= (const sc_signed_sigref &v)
 
template<typename T >
void operator= (const sc_dt::sc_generic_base< T > &v)
 
void operator= (const sc_dt::sc_signed &v)
 
void operator= (const sc_dt::sc_unsigned &v)
 
void operator= (const sc_dt::sc_bv_base &v)
 
void operator= (const sc_dt::sc_lv_base &v)
 
- Public Member Functions inherited from sc_dt::sc_signed_subref_r
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 ()
 

Static Public Attributes

static sc_vpool< sc_signed_sigrefm_pool
 

Protected Attributes

sc_signed_part_ifm_if_p
 
- Protected Attributes inherited from sc_dt::sc_signed_subref_r
int m_left
 
sc_signedm_obj_p
 
int m_right
 

Private Member Functions

 sc_signed_sigref (const sc_signed_sigref &a)
 

Additional Inherited Members

- Protected Member Functions inherited from sc_dt::sc_signed_subref_r
 sc_signed_subref_r ()
 
void initialize (const sc_signed *obj_p, int left_, int right_)
 

Detailed Description

Definition at line 279 of file scx_signal_signed.h.

Constructor & Destructor Documentation

◆ sc_signed_sigref() [1/2]

sc_core::sc_signed_sigref::sc_signed_sigref ( )
inline

Definition at line 282 of file scx_signal_signed.h.

◆ ~sc_signed_sigref()

virtual sc_core::sc_signed_sigref::~sc_signed_sigref ( )
inlinevirtual

Definition at line 283 of file scx_signal_signed.h.

◆ sc_signed_sigref() [2/2]

sc_core::sc_signed_sigref::sc_signed_sigref ( const sc_signed_sigref a)
private

Member Function Documentation

◆ concat_set() [1/5]

void sc_core::sc_signed_sigref::concat_set ( const sc_dt::sc_lv_base src,
int  low_i 
)
virtual

◆ concat_set() [2/5]

void sc_core::sc_signed_sigref::concat_set ( const sc_dt::sc_signed src,
int  low_i 
)
virtual

◆ concat_set() [3/5]

void sc_core::sc_signed_sigref::concat_set ( const sc_dt::sc_unsigned src,
int  low_i 
)
virtual

◆ concat_set() [4/5]

void sc_core::sc_signed_sigref::concat_set ( sc_dt::int64  src,
int  low_i 
)
virtual

◆ concat_set() [5/5]

void sc_core::sc_signed_sigref::concat_set ( sc_dt::uint64  src,
int  low_i 
)
virtual

◆ initialize()

void sc_core::sc_signed_sigref::initialize ( sc_signed_part_if if_p,
int  left_,
int  right_ 
)
inline

◆ operator=() [1/14]

void sc_core::sc_signed_sigref::operator= ( const char *  v)
inline

Definition at line 1663 of file scx_signal_signed.h.

References sc_dt::sc_signed_subref_r::length(), and ArmISA::v.

◆ operator=() [2/14]

void sc_core::sc_signed_sigref::operator= ( const sc_dt::sc_bv_base v)
inline

◆ operator=() [3/14]

template<typename T >
void sc_core::sc_signed_sigref::operator= ( const sc_dt::sc_generic_base< T > &  v)
inline

◆ operator=() [4/14]

void sc_core::sc_signed_sigref::operator= ( const sc_dt::sc_lv_base v)
inline

◆ operator=() [5/14]

void sc_core::sc_signed_sigref::operator= ( const sc_dt::sc_signed v)
inline

◆ operator=() [6/14]

void sc_core::sc_signed_sigref::operator= ( const sc_dt::sc_unsigned v)
inline

◆ operator=() [7/14]

void sc_core::sc_signed_sigref::operator= ( const sc_signed_sigref v)
inline

Definition at line 1711 of file scx_signal_signed.h.

References ArmISA::v.

◆ operator=() [8/14]

void sc_core::sc_signed_sigref::operator= ( double  v)
inline

◆ operator=() [9/14]

void sc_core::sc_signed_sigref::operator= ( int  v)
inline

Definition at line 1673 of file scx_signal_signed.h.

References ArmISA::v.

◆ operator=() [10/14]

void sc_core::sc_signed_sigref::operator= ( long  v)
inline

Definition at line 1678 of file scx_signal_signed.h.

References ArmISA::v.

◆ operator=() [11/14]

void sc_core::sc_signed_sigref::operator= ( sc_dt::int64  v)
inline

Definition at line 1668 of file scx_signal_signed.h.

References ArmISA::v.

◆ operator=() [12/14]

void sc_core::sc_signed_sigref::operator= ( sc_dt::uint64  v)
inline

◆ operator=() [13/14]

void sc_core::sc_signed_sigref::operator= ( unsigned int  v)
inline

Definition at line 1683 of file scx_signal_signed.h.

References ArmISA::v.

◆ operator=() [14/14]

void sc_core::sc_signed_sigref::operator= ( unsigned long  v)
inline

Definition at line 1688 of file scx_signal_signed.h.

References ArmISA::v.

Member Data Documentation

◆ m_if_p

sc_signed_part_if* sc_core::sc_signed_sigref::m_if_p
protected

Definition at line 314 of file scx_signal_signed.h.

Referenced by concat_set(), initialize(), and operator=().

◆ m_pool

sc_vpool< sc_signed_sigref > sc_core::sc_signed_sigref::m_pool
static

The documentation for this class was generated from the following file:

Generated on Wed Sep 30 2020 14:03:09 for gem5 by doxygen 1.8.17