SystemC  Recoding Infrastructure for SystemC v0.6.2 derived from Accellera SystemC 2.3.1
Accellera SystemC proof-of-concept library
Public Types | Public Member Functions | Static Public Attributes | Protected Attributes | Friends | List of all members
sc_dt::sc_concatref Class Reference

#include <sysc/datatypes/misc/sc_concatref.h>

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

Public Types

enum  concat_flags { cf_none = 0, cf_xz_present = 1 }
 

Public Member Functions

void initialize (sc_value_base &left, sc_value_base &right)
 
void initialize (const sc_value_base &left, const sc_value_base &right)
 
virtual ~sc_concatref ()
 
unsigned int length () const
 
virtual int concat_length (bool *xz_present_p) const
 
virtual void concat_clear_data (bool to_ones)
 
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
 
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)
 
uint64 to_uint64 () const
 
const sc_unsignedvalue () const
 
int64 to_int64 () const
 
int to_int () const
 
unsigned int to_uint () const
 
long to_long () const
 
unsigned long to_ulong () const
 
double to_double () const
 
void to_sc_signed (sc_signed &target) const
 
void to_sc_unsigned (sc_unsigned &target) const
 
 operator uint64 () const
 
 operator const sc_unsigned & () const
 
sc_unsigned operator+ () const
 
sc_signed operator- () const
 
sc_unsigned operator~ () const
 
const std::string to_string (sc_numrep numrep=SC_DEC) const
 
const std::string to_string (sc_numrep numrep, bool w_prefix) const
 
const sc_concatrefoperator= (int v)
 
const sc_concatrefoperator= (long v)
 
const sc_concatrefoperator= (int64 v)
 
const sc_concatrefoperator= (unsigned int v)
 
const sc_concatrefoperator= (unsigned long v)
 
const sc_concatrefoperator= (uint64 v)
 
const sc_concatrefoperator= (const sc_concatref &v)
 
const sc_concatrefoperator= (const sc_signed &v)
 
const sc_concatrefoperator= (const sc_unsigned &v)
 
const sc_concatrefoperator= (const char *v_p)
 
const sc_concatrefoperator= (const sc_bv_base &v)
 
const sc_concatrefoperator= (const sc_lv_base &v)
 
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
 
void scan (::std::istream &is)
 
- Public Member Functions inherited from sc_dt::sc_generic_base< sc_concatref >
const sc_concatrefoperator-> () const
 
sc_concatrefoperator-> ()
 
- Public Member Functions inherited from sc_dt::sc_value_base
virtual ~sc_value_base ()
 

Static Public Attributes

static sc_core::sc_vpool
< sc_concatref
m_pool
 

Protected Attributes

sc_value_basem_left_p
 
sc_value_basem_right_p
 
int m_len
 
int m_len_r
 
concat_flags m_flags
 

Friends

class sc_core::sc_vpool< sc_concatref >
 

Detailed Description

Definition at line 101 of file sc_concatref.h.

Member Enumeration Documentation

Enumerator
cf_none 
cf_xz_present 

Definition at line 442 of file sc_concatref.h.

Constructor & Destructor Documentation

virtual sc_dt::sc_concatref::~sc_concatref ( )
inlinevirtual

Definition at line 135 of file sc_concatref.h.

Member Function Documentation

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

Definition at line 408 of file sc_concatref.h.

virtual void sc_dt::sc_concatref::concat_clear_data ( bool  to_ones)
inlinevirtual

Reimplemented from sc_dt::sc_value_base.

Definition at line 158 of file sc_concatref.h.

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

Reimplemented from sc_dt::sc_value_base.

Definition at line 164 of file sc_concatref.h.

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

Reimplemented from sc_dt::sc_value_base.

Definition at line 171 of file sc_concatref.h.

virtual uint64 sc_dt::sc_concatref::concat_get_uint64 ( ) const
inlinevirtual

Reimplemented from sc_dt::sc_value_base.

Definition at line 178 of file sc_concatref.h.

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

Reimplemented from sc_dt::sc_value_base.

Definition at line 151 of file sc_concatref.h.

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

Reimplemented from sc_dt::sc_value_base.

Definition at line 189 of file sc_concatref.h.

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

Reimplemented from sc_dt::sc_value_base.

Definition at line 195 of file sc_concatref.h.

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

Reimplemented from sc_dt::sc_value_base.

Definition at line 201 of file sc_concatref.h.

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

Reimplemented from sc_dt::sc_value_base.

Definition at line 207 of file sc_concatref.h.

void sc_dt::sc_concatref::initialize ( sc_value_base left,
sc_value_base right 
)
inline

Definition at line 106 of file sc_concatref.h.

void sc_dt::sc_concatref::initialize ( const sc_value_base left,
const sc_value_base right 
)
inline

Definition at line 120 of file sc_concatref.h.

unsigned int sc_dt::sc_concatref::length ( ) const
inline

Definition at line 141 of file sc_concatref.h.

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

Definition at line 411 of file sc_concatref.h.

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

Definition at line 417 of file sc_concatref.h.

sc_dt::sc_concatref::operator const sc_unsigned & ( ) const
inline

Definition at line 287 of file sc_concatref.h.

sc_dt::sc_concatref::operator uint64 ( ) const
inline

Definition at line 284 of file sc_concatref.h.

sc_unsigned sc_dt::sc_concatref::operator+ ( ) const
inline

Definition at line 292 of file sc_concatref.h.

sc_signed sc_dt::sc_concatref::operator- ( ) const
inline

Definition at line 295 of file sc_concatref.h.

const sc_concatref& sc_dt::sc_concatref::operator= ( int  v)
inline

Definition at line 313 of file sc_concatref.h.

const sc_concatref& sc_dt::sc_concatref::operator= ( long  v)
inline

Definition at line 320 of file sc_concatref.h.

const sc_concatref& sc_dt::sc_concatref::operator= ( int64  v)
inline

Definition at line 327 of file sc_concatref.h.

const sc_concatref& sc_dt::sc_concatref::operator= ( unsigned int  v)
inline

Definition at line 334 of file sc_concatref.h.

const sc_concatref& sc_dt::sc_concatref::operator= ( unsigned long  v)
inline

Definition at line 341 of file sc_concatref.h.

const sc_concatref& sc_dt::sc_concatref::operator= ( uint64  v)
inline

Definition at line 348 of file sc_concatref.h.

const sc_concatref& sc_dt::sc_concatref::operator= ( const sc_concatref v)
inline

Definition at line 355 of file sc_concatref.h.

const sc_concatref& sc_dt::sc_concatref::operator= ( const sc_signed v)
inline

Definition at line 364 of file sc_concatref.h.

const sc_concatref& sc_dt::sc_concatref::operator= ( const sc_unsigned v)
inline

Definition at line 371 of file sc_concatref.h.

const sc_concatref& sc_dt::sc_concatref::operator= ( const char *  v_p)
inline

Definition at line 378 of file sc_concatref.h.

const sc_concatref& sc_dt::sc_concatref::operator= ( const sc_bv_base v)
inline

Definition at line 387 of file sc_concatref.h.

const sc_concatref& sc_dt::sc_concatref::operator= ( const sc_lv_base v)
inline

Definition at line 396 of file sc_concatref.h.

sc_unsigned sc_dt::sc_concatref::operator~ ( ) const
inline

Definition at line 298 of file sc_concatref.h.

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

Definition at line 414 of file sc_concatref.h.

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

Definition at line 428 of file sc_concatref.h.

void sc_dt::sc_concatref::scan ( ::std::istream &  is)
inline

Definition at line 431 of file sc_concatref.h.

double sc_dt::sc_concatref::to_double ( ) const
inline

Definition at line 273 of file sc_concatref.h.

int sc_dt::sc_concatref::to_int ( ) const
inline

Definition at line 265 of file sc_concatref.h.

int64 sc_dt::sc_concatref::to_int64 ( ) const
inline

Definition at line 261 of file sc_concatref.h.

long sc_dt::sc_concatref::to_long ( ) const
inline

Definition at line 269 of file sc_concatref.h.

void sc_dt::sc_concatref::to_sc_signed ( sc_signed target) const
inline

Definition at line 276 of file sc_concatref.h.

void sc_dt::sc_concatref::to_sc_unsigned ( sc_unsigned target) const
inline

Definition at line 279 of file sc_concatref.h.

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

Definition at line 303 of file sc_concatref.h.

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

Definition at line 306 of file sc_concatref.h.

unsigned int sc_dt::sc_concatref::to_uint ( ) const
inline

Definition at line 267 of file sc_concatref.h.

uint64 sc_dt::sc_concatref::to_uint64 ( ) const
inline

Definition at line 216 of file sc_concatref.h.

unsigned long sc_dt::sc_concatref::to_ulong ( ) const
inline

Definition at line 271 of file sc_concatref.h.

const sc_unsigned& sc_dt::sc_concatref::value ( ) const
inline

Definition at line 236 of file sc_concatref.h.

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

Definition at line 423 of file sc_concatref.h.

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

Definition at line 420 of file sc_concatref.h.

Friends And Related Function Documentation

friend class sc_core::sc_vpool< sc_concatref >
friend

Definition at line 104 of file sc_concatref.h.

Member Data Documentation

concat_flags sc_dt::sc_concatref::m_flags
protected

Definition at line 452 of file sc_concatref.h.

sc_value_base* sc_dt::sc_concatref::m_left_p
protected

Definition at line 448 of file sc_concatref.h.

int sc_dt::sc_concatref::m_len
protected

Definition at line 450 of file sc_concatref.h.

int sc_dt::sc_concatref::m_len_r
protected

Definition at line 451 of file sc_concatref.h.

sc_core::sc_vpool<sc_concatref> sc_dt::sc_concatref::m_pool
static

Definition at line 439 of file sc_concatref.h.

sc_value_base* sc_dt::sc_concatref::m_right_p
protected

Definition at line 449 of file sc_concatref.h.


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