gem5 v24.0.0.0
Loading...
Searching...
No Matches
sc_core::sc_int_sigref Class Reference

#include <scx_signal_int.h>

Inheritance diagram for sc_core::sc_int_sigref:
sc_dt::sc_int_subref_r sc_dt::sc_value_base

Public Member Functions

 sc_int_sigref ()
 
virtual ~sc_int_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_int_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_int_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_int_subref_r
 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 ()
 

Static Public Attributes

static sc_vpool< sc_int_sigrefm_pool
 

Protected Attributes

sc_int_part_ifm_if_p
 
- Protected Attributes inherited from sc_dt::sc_int_subref_r
int m_left
 
sc_int_basem_obj_p
 
int m_right
 

Private Member Functions

 sc_int_sigref (const sc_int_sigref &a)
 

Additional Inherited Members

- Protected Member Functions inherited from sc_dt::sc_int_subref_r
 sc_int_subref_r ()
 
void initialize (const sc_int_base *obj_p, int left_i, int right_i)
 

Detailed Description

Definition at line 229 of file scx_signal_int.h.

Constructor & Destructor Documentation

◆ sc_int_sigref() [1/2]

sc_core::sc_int_sigref::sc_int_sigref ( )
inline

Definition at line 232 of file scx_signal_int.h.

◆ ~sc_int_sigref()

virtual sc_core::sc_int_sigref::~sc_int_sigref ( )
inlinevirtual

Definition at line 233 of file scx_signal_int.h.

◆ sc_int_sigref() [2/2]

sc_core::sc_int_sigref::sc_int_sigref ( const sc_int_sigref & a)
private

Member Function Documentation

◆ concat_set() [1/5]

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

◆ concat_set() [2/5]

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

Reimplemented from sc_dt::sc_value_base.

Definition at line 1593 of file scx_signal_int.h.

References sc_dt::sc_signed::length().

◆ concat_set() [3/5]

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

Reimplemented from sc_dt::sc_value_base.

Definition at line 1611 of file scx_signal_int.h.

References sc_dt::sc_unsigned::length().

◆ concat_set() [4/5]

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

Reimplemented from sc_dt::sc_value_base.

Definition at line 1587 of file scx_signal_int.h.

◆ concat_set() [5/5]

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

Reimplemented from sc_dt::sc_value_base.

Definition at line 1620 of file scx_signal_int.h.

◆ initialize()

◆ operator=() [1/14]

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

Definition at line 1478 of file scx_signal_int.h.

◆ operator=() [2/14]

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

◆ operator=() [3/14]

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

Definition at line 1513 of file scx_signal_int.h.

◆ operator=() [4/14]

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

◆ operator=() [5/14]

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

Definition at line 1518 of file scx_signal_int.h.

◆ operator=() [6/14]

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

Definition at line 1523 of file scx_signal_int.h.

◆ operator=() [7/14]

void sc_core::sc_int_sigref::operator= ( const sc_int_sigref & v)
inline

Definition at line 1507 of file scx_signal_int.h.

◆ operator=() [8/14]

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

◆ operator=() [9/14]

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

Definition at line 1487 of file scx_signal_int.h.

◆ operator=() [10/14]

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

Definition at line 1492 of file scx_signal_int.h.

◆ operator=() [11/14]

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

Definition at line 1482 of file scx_signal_int.h.

◆ operator=() [12/14]

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

◆ operator=() [13/14]

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

Definition at line 1497 of file scx_signal_int.h.

◆ operator=() [14/14]

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

Definition at line 1502 of file scx_signal_int.h.

Member Data Documentation

◆ m_if_p

sc_int_part_if* sc_core::sc_int_sigref::m_if_p
protected

Definition at line 264 of file scx_signal_int.h.

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

◆ m_pool


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

Generated on Tue Jun 18 2024 16:24:55 for gem5 by doxygen 1.11.0