gem5  v20.1.0.0
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Friends | List of all members
sc_dt::sc_signed_subref_r Class Reference

#include <sc_signed.hh>

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

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_signedm_obj_p
 
int m_right
 

Private Member Functions

const sc_signed_subref_roperator= (const sc_signed_subref_r &)
 

Friends

class sc_signed
 
class sc_signed_signal
 
class sc_unsigned
 

Detailed Description

Definition at line 814 of file sc_signed.hh.

Constructor & Destructor Documentation

◆ sc_signed_subref_r() [1/2]

sc_dt::sc_signed_subref_r::sc_signed_subref_r ( )
inlineprotected

Definition at line 822 of file sc_signed.hh.

◆ ~sc_signed_subref_r()

virtual sc_dt::sc_signed_subref_r::~sc_signed_subref_r ( )
inlinevirtual

Definition at line 835 of file sc_signed.hh.

◆ sc_signed_subref_r() [2/2]

sc_dt::sc_signed_subref_r::sc_signed_subref_r ( const sc_signed_subref_r a)
inline

Definition at line 838 of file sc_signed.hh.

Member Function Documentation

◆ and_reduce()

bool sc_dt::sc_signed_subref_r::and_reduce ( ) const
inline

Definition at line 2376 of file sc_signed.hh.

References ArmISA::i, and sc_dt::sc_signed::test().

◆ concat_get_ctrl()

virtual bool sc_dt::sc_signed_subref_r::concat_get_ctrl ( sc_digit dst_p,
int  low_i 
) const
virtual

Reimplemented from sc_dt::sc_value_base.

◆ concat_get_data()

virtual bool sc_dt::sc_signed_subref_r::concat_get_data ( sc_digit dst_p,
int  low_i 
) const
virtual

Reimplemented from sc_dt::sc_value_base.

◆ concat_get_uint64()

virtual uint64 sc_dt::sc_signed_subref_r::concat_get_uint64 ( ) const
virtual

Reimplemented from sc_dt::sc_value_base.

◆ concat_length()

virtual int sc_dt::sc_signed_subref_r::concat_length ( bool *  xz_present_p) const
inlinevirtual

Reimplemented from sc_dt::sc_value_base.

Definition at line 868 of file sc_signed.hh.

◆ initialize()

void sc_dt::sc_signed_subref_r::initialize ( const sc_signed obj_p,
int  left_,
int  right_ 
)
inlineprotected

Definition at line 826 of file sc_signed.hh.

Referenced by sc_dt::sc_signed::operator()(), and sc_dt::sc_signed::range().

◆ length()

int sc_dt::sc_signed_subref_r::length ( ) const
inline

Definition at line 845 of file sc_signed.hh.

Referenced by sc_core::sc_signed_sigref::operator=().

◆ nand_reduce()

bool sc_dt::sc_signed_subref_r::nand_reduce ( ) const
inline

Definition at line 2386 of file sc_signed.hh.

References sc_dt::and_reduce().

◆ nor_reduce()

bool sc_dt::sc_signed_subref_r::nor_reduce ( ) const
inline

Definition at line 2402 of file sc_signed.hh.

References sc_dt::or_reduce().

◆ operator sc_unsigned()

sc_dt::sc_signed_subref_r::operator sc_unsigned ( ) const

◆ operator=()

const sc_signed_subref_r& sc_dt::sc_signed_subref_r::operator= ( const sc_signed_subref_r )
private

◆ or_reduce()

bool sc_dt::sc_signed_subref_r::or_reduce ( ) const
inline

Definition at line 2392 of file sc_signed.hh.

References ArmISA::i, and sc_dt::sc_signed::test().

◆ print()

void sc_dt::sc_signed_subref_r::print ( ::std::ostream &  os = ::std::cout) const
inline

◆ to_double()

double sc_dt::sc_signed_subref_r::to_double ( ) const

◆ to_int()

int sc_dt::sc_signed_subref_r::to_int ( ) const

◆ to_int64()

int64 sc_dt::sc_signed_subref_r::to_int64 ( ) const

◆ to_long()

long sc_dt::sc_signed_subref_r::to_long ( ) const

◆ to_string() [1/2]

const std::string sc_dt::sc_signed_subref_r::to_string ( sc_numrep  numrep,
bool  w_prefix 
) const

◆ to_string() [2/2]

const std::string sc_dt::sc_signed_subref_r::to_string ( sc_numrep  numrep = SC_DEC) const

◆ to_uint()

unsigned int sc_dt::sc_signed_subref_r::to_uint ( ) const

◆ to_uint64()

uint64 sc_dt::sc_signed_subref_r::to_uint64 ( ) const

◆ to_ulong()

unsigned long sc_dt::sc_signed_subref_r::to_ulong ( ) const

◆ xnor_reduce()

bool sc_dt::sc_signed_subref_r::xnor_reduce ( ) const
inline

Definition at line 2419 of file sc_signed.hh.

References sc_dt::xor_reduce().

◆ xor_reduce()

bool sc_dt::sc_signed_subref_r::xor_reduce ( ) const
inline

Definition at line 2408 of file sc_signed.hh.

References ArmISA::i, and sc_dt::sc_signed::test().

Friends And Related Function Documentation

◆ sc_signed

friend class sc_signed
friend

Definition at line 816 of file sc_signed.hh.

◆ sc_signed_signal

friend class sc_signed_signal
friend

Definition at line 817 of file sc_signed.hh.

◆ sc_unsigned

friend class sc_unsigned
friend

Definition at line 818 of file sc_signed.hh.

Member Data Documentation

◆ m_left

int sc_dt::sc_signed_subref_r::m_left
protected

◆ m_obj_p

sc_signed* sc_dt::sc_signed_subref_r::m_obj_p
protected

Definition at line 895 of file sc_signed.hh.

Referenced by sc_core::sc_signed_sigref::initialize().

◆ m_right

int sc_dt::sc_signed_subref_r::m_right
protected

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

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