SystemC 3.0.0
Accellera SystemC proof-of-concept library
Public Member Functions | Friends | List of all members
sc_dt::sc_signed_subref Class Reference

#include <sysc/datatypes/int/sc_signed.h>

Inheritance diagram for sc_dt::sc_signed_subref:
Inheritance graph
[legend]
Collaboration diagram for sc_dt::sc_signed_subref:
Collaboration graph
[legend]

Public Member Functions

 sc_signed_subref (const sc_signed_subref &a)
 
const sc_signed_subrefoperator= (const sc_signed_subref_r &a)
 
const sc_signed_subrefoperator= (const sc_signed_subref &a)
 
const sc_signed_subrefoperator= (const sc_signed &a)
 
const sc_signed_subrefoperator= (const sc_unsigned_subref_r &a)
 
const sc_signed_subrefoperator= (const sc_unsigned &a)
 
template<class T >
const sc_signed_subrefoperator= (const sc_generic_base< T > &a)
 
const sc_signed_subrefoperator= (const char *a)
 
const sc_signed_subrefoperator= (unsigned long a)
 
const sc_signed_subrefoperator= (long a)
 
const sc_signed_subrefoperator= (unsigned int a)
 
const sc_signed_subrefoperator= (int a)
 
const sc_signed_subrefoperator= (uint64 a)
 
const sc_signed_subrefoperator= (int64 a)
 
const sc_signed_subrefoperator= (double a)
 
const sc_signed_subrefoperator= (const sc_int_base &a)
 
const sc_signed_subrefoperator= (const sc_uint_base &a)
 
const sc_signed_subrefoperator= (const sc_bv_base &)
 
const sc_signed_subrefoperator= (const sc_lv_base &)
 
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)
 
- 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
 
double to_double () 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
 
const std::string to_string (sc_numrep numrep=SC_DEC) const
 
const std::string to_string (sc_numrep numrep, bool w_prefix) const
 
sc_unsigned operator<< (int v) const
 
sc_unsigned operator<< (const sc_signed &v) const
 
sc_unsigned operator<< (const sc_unsigned &v) const
 
sc_unsigned operator>> (int v) const
 
sc_unsigned operator>> (const sc_signed &v) const
 
sc_unsigned operator>> (const sc_unsigned &v) 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 ()
 

Friends

class sc_signed
 
class sc_core::sc_vpool< sc_signed_subref >
 

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_)
 
uint64 to_uint64_reversed () const
 
- Protected Attributes inherited from sc_dt::sc_signed_subref_r
int m_left
 
sc_signedm_obj_p
 
int m_right
 

Detailed Description

Definition at line 470 of file sc_signed.h.

Constructor & Destructor Documentation

◆ sc_signed_subref()

sc_dt::sc_signed_subref::sc_signed_subref ( const sc_signed_subref a)
inline

Definition at line 486 of file sc_signed.h.

Member Function Documentation

◆ concat_set() [1/4]

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

Reimplemented from sc_dt::sc_value_base.

◆ concat_set() [2/4]

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

Reimplemented from sc_dt::sc_value_base.

◆ concat_set() [3/4]

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

Reimplemented from sc_dt::sc_value_base.

◆ concat_set() [4/4]

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

Reimplemented from sc_dt::sc_value_base.

◆ operator=() [1/18]

const sc_signed_subref & sc_dt::sc_signed_subref::operator= ( const char *  a)
inline

Definition at line 1338 of file sc_signed.h.

◆ operator=() [2/18]

const sc_signed_subref & sc_dt::sc_signed_subref::operator= ( const sc_bv_base )

◆ operator=() [3/18]

template<class T >
const sc_signed_subref & sc_dt::sc_signed_subref::operator= ( const sc_generic_base< T > &  a)
inline

Definition at line 501 of file sc_signed.h.

◆ operator=() [4/18]

const sc_signed_subref & sc_dt::sc_signed_subref::operator= ( const sc_int_base a)

◆ operator=() [5/18]

const sc_signed_subref & sc_dt::sc_signed_subref::operator= ( const sc_lv_base )

◆ operator=() [6/18]

const sc_signed_subref & sc_dt::sc_signed_subref::operator= ( const sc_signed a)

◆ operator=() [7/18]

const sc_signed_subref & sc_dt::sc_signed_subref::operator= ( const sc_signed_subref a)

◆ operator=() [8/18]

const sc_signed_subref & sc_dt::sc_signed_subref::operator= ( const sc_signed_subref_r a)

◆ operator=() [9/18]

const sc_signed_subref & sc_dt::sc_signed_subref::operator= ( const sc_uint_base a)

◆ operator=() [10/18]

const sc_signed_subref & sc_dt::sc_signed_subref::operator= ( const sc_unsigned a)

◆ operator=() [11/18]

const sc_signed_subref & sc_dt::sc_signed_subref::operator= ( const sc_unsigned_subref_r a)

◆ operator=() [12/18]

const sc_signed_subref & sc_dt::sc_signed_subref::operator= ( double  a)

◆ operator=() [13/18]

const sc_signed_subref & sc_dt::sc_signed_subref::operator= ( int  a)
inline

Definition at line 514 of file sc_signed.h.

◆ operator=() [14/18]

const sc_signed_subref & sc_dt::sc_signed_subref::operator= ( int64  a)

◆ operator=() [15/18]

const sc_signed_subref & sc_dt::sc_signed_subref::operator= ( long  a)

◆ operator=() [16/18]

const sc_signed_subref & sc_dt::sc_signed_subref::operator= ( uint64  a)

◆ operator=() [17/18]

const sc_signed_subref & sc_dt::sc_signed_subref::operator= ( unsigned int  a)
inline

Definition at line 511 of file sc_signed.h.

◆ operator=() [18/18]

const sc_signed_subref & sc_dt::sc_signed_subref::operator= ( unsigned long  a)

◆ scan()

void sc_dt::sc_signed_subref::scan ( ::std::istream &  is = ::std::cin)

Friends And Related Function Documentation

◆ sc_core::sc_vpool< sc_signed_subref >

friend class sc_core::sc_vpool< sc_signed_subref >
friend

Definition at line 473 of file sc_signed.h.

◆ sc_signed

friend class sc_signed
friend

Definition at line 473 of file sc_signed.h.


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