sc_dt::sc_concatref Class Reference

#include <sc_concatref.h>

Inheritance diagram for sc_dt::sc_concatref:

sc_dt::sc_generic_base< T > sc_dt::sc_value_base List of all members.

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 (unsigned long *dst_p, int low_i) const
virtual bool concat_get_data (unsigned long *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_unsigned 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)

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

Private Member Functions

 sc_concatref (const sc_concatref &)
 sc_concatref ()

Friends

class sc_core::sc_vpool< sc_concatref >

Member Enumeration Documentation

enum sc_dt::sc_concatref::concat_flags

Enumerator:
cf_none 
cf_xz_present 


Constructor & Destructor Documentation

virtual sc_dt::sc_concatref::~sc_concatref (  )  [inline, virtual]

sc_dt::sc_concatref::sc_concatref ( const sc_concatref  )  [private]

sc_dt::sc_concatref::sc_concatref (  )  [inline, private]


Member Function Documentation

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

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

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

virtual int sc_dt::sc_concatref::concat_length ( bool *  xz_present_p  )  const [inline, virtual]

Reimplemented from sc_dt::sc_value_base.

virtual void sc_dt::sc_concatref::concat_clear_data ( bool  to_ones  )  [inline, virtual]

Reimplemented from sc_dt::sc_value_base.

virtual bool sc_dt::sc_concatref::concat_get_ctrl ( unsigned long *  dst_p,
int  low_i 
) const [inline, virtual]

Reimplemented from sc_dt::sc_value_base.

virtual bool sc_dt::sc_concatref::concat_get_data ( unsigned long *  dst_p,
int  low_i 
) const [inline, virtual]

Reimplemented from sc_dt::sc_value_base.

virtual uint64 sc_dt::sc_concatref::concat_get_uint64 (  )  const [inline, virtual]

Reimplemented from sc_dt::sc_value_base.

virtual void sc_dt::sc_concatref::concat_set ( int64  src,
int  low_i 
) [inline, virtual]

Reimplemented from sc_dt::sc_value_base.

virtual void sc_dt::sc_concatref::concat_set ( const sc_signed src,
int  low_i 
) [inline, virtual]

Reimplemented from sc_dt::sc_value_base.

virtual void sc_dt::sc_concatref::concat_set ( const sc_unsigned src,
int  low_i 
) [inline, virtual]

Reimplemented from sc_dt::sc_value_base.

virtual void sc_dt::sc_concatref::concat_set ( uint64  src,
int  low_i 
) [inline, virtual]

Reimplemented from sc_dt::sc_value_base.

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

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

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

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

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

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

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

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

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

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

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

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

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

sc_unsigned sc_dt::sc_concatref::operator- (  )  const [inline]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


Friends And Related Function Documentation

friend class sc_core::sc_vpool< sc_concatref > [friend]


Member Data Documentation

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

sc_value_base* sc_dt::sc_concatref::m_left_p [protected]

sc_value_base* sc_dt::sc_concatref::m_right_p [protected]

int sc_dt::sc_concatref::m_len [protected]

int sc_dt::sc_concatref::m_len_r [protected]

concat_flags sc_dt::sc_concatref::m_flags [protected]


The documentation for this class was generated from the following files:
Generated by
Matthieu Moy <Matthieu.Moy@st.com>
Back to Pinapa Home Page