sc_dt::sc_lv_base Class Reference

#include <sysc/datatypes/bit/sc_lv_base.h>

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

List of all members.

Public Types

typedef sc_proxy< sc_lv_basebase_type

Public Member Functions

 sc_lv_base (int length_=sc_length_param().len())
 sc_lv_base (const sc_logic &a, int length_=sc_length_param().len())
 sc_lv_base (const char *a)
 sc_lv_base (const char *a, int length_)
template<class X >
 sc_lv_base (const sc_proxy< X > &a)
 sc_lv_base (const sc_lv_base &a)
virtual ~sc_lv_base ()
template<class X >
sc_lv_baseoperator= (const sc_proxy< X > &a)
sc_lv_baseoperator= (const sc_lv_base &a)
sc_lv_baseoperator= (const char *a)
sc_lv_baseoperator= (const bool *a)
sc_lv_baseoperator= (const sc_logic *a)
sc_lv_baseoperator= (const sc_unsigned &a)
sc_lv_baseoperator= (const sc_signed &a)
sc_lv_baseoperator= (const sc_uint_base &a)
sc_lv_baseoperator= (const sc_int_base &a)
sc_lv_baseoperator= (unsigned long a)
sc_lv_baseoperator= (long a)
sc_lv_baseoperator= (unsigned int a)
sc_lv_baseoperator= (int a)
sc_lv_baseoperator= (uint64 a)
sc_lv_baseoperator= (int64 a)
int length () const
int size () const
sc_logic_value_t get_bit (int i) const
void set_bit (int i, sc_logic_value_t value)
sc_digit get_word (int wi) const
void set_word (int wi, sc_digit w)
sc_digit get_cword (int wi) const
void set_cword (int wi, sc_digit w)
void clean_tail ()
bool is_01 () const

Protected Attributes

int m_len
int m_size
sc_digitm_data
sc_digitm_ctrl

Friends

class sc_bv_base

Detailed Description

Definition at line 85 of file sc_lv_base.h.


Member Typedef Documentation

Definition at line 99 of file sc_lv_base.h.


Constructor & Destructor Documentation

sc_dt::sc_lv_base::sc_lv_base ( int  length_ = sc_length_param().len()  )  [inline, explicit]

Definition at line 104 of file sc_lv_base.h.

sc_dt::sc_lv_base::sc_lv_base ( const sc_logic a,
int  length_ = sc_length_param().len() 
) [inline, explicit]

Definition at line 108 of file sc_lv_base.h.

sc_dt::sc_lv_base::sc_lv_base ( const char *  a  ) 
sc_dt::sc_lv_base::sc_lv_base ( const char *  a,
int  length_ 
)
template<class X >
sc_dt::sc_lv_base::sc_lv_base ( const sc_proxy< X > &  a  )  [inline]

Definition at line 118 of file sc_lv_base.h.

sc_dt::sc_lv_base::sc_lv_base ( const sc_lv_base a  ) 
virtual sc_dt::sc_lv_base::~sc_lv_base (  )  [inline, virtual]

Definition at line 147 of file sc_lv_base.h.


Member Function Documentation

void sc_dt::sc_lv_base::clean_tail (  )  [inline]

Definition at line 340 of file sc_lv_base.h.

sc_logic_value_t sc_dt::sc_lv_base::get_bit ( int  i  )  const [inline]

Definition at line 316 of file sc_lv_base.h.

sc_digit sc_dt::sc_lv_base::get_cword ( int  wi  )  const [inline]

Definition at line 264 of file sc_lv_base.h.

sc_digit sc_dt::sc_lv_base::get_word ( int  wi  )  const [inline]

Definition at line 253 of file sc_lv_base.h.

bool sc_dt::sc_lv_base::is_01 (  )  const
int sc_dt::sc_lv_base::length (  )  const [inline]

Definition at line 244 of file sc_lv_base.h.

sc_lv_base& sc_dt::sc_lv_base::operator= ( int64  a  )  [inline]

Reimplemented in sc_dt::sc_lv< W >.

Definition at line 195 of file sc_lv_base.h.

sc_lv_base& sc_dt::sc_lv_base::operator= ( uint64  a  )  [inline]

Reimplemented in sc_dt::sc_lv< W >.

Definition at line 192 of file sc_lv_base.h.

sc_lv_base& sc_dt::sc_lv_base::operator= ( int  a  )  [inline]

Reimplemented in sc_dt::sc_lv< W >.

Definition at line 189 of file sc_lv_base.h.

sc_lv_base& sc_dt::sc_lv_base::operator= ( unsigned int  a  )  [inline]

Reimplemented in sc_dt::sc_lv< W >.

Definition at line 186 of file sc_lv_base.h.

sc_lv_base& sc_dt::sc_lv_base::operator= ( long  a  )  [inline]

Reimplemented in sc_dt::sc_lv< W >.

Definition at line 183 of file sc_lv_base.h.

sc_lv_base& sc_dt::sc_lv_base::operator= ( unsigned long  a  )  [inline]

Reimplemented in sc_dt::sc_lv< W >.

Definition at line 180 of file sc_lv_base.h.

sc_lv_base& sc_dt::sc_lv_base::operator= ( const sc_int_base a  )  [inline]

Reimplemented in sc_dt::sc_lv< W >.

Definition at line 177 of file sc_lv_base.h.

sc_lv_base& sc_dt::sc_lv_base::operator= ( const sc_uint_base a  )  [inline]

Reimplemented in sc_dt::sc_lv< W >.

Definition at line 174 of file sc_lv_base.h.

sc_lv_base& sc_dt::sc_lv_base::operator= ( const sc_signed a  )  [inline]

Reimplemented in sc_dt::sc_lv< W >.

Definition at line 171 of file sc_lv_base.h.

sc_lv_base& sc_dt::sc_lv_base::operator= ( const sc_unsigned a  )  [inline]

Reimplemented in sc_dt::sc_lv< W >.

Definition at line 168 of file sc_lv_base.h.

sc_lv_base& sc_dt::sc_lv_base::operator= ( const sc_logic a  )  [inline]

Reimplemented in sc_dt::sc_lv< W >.

Definition at line 165 of file sc_lv_base.h.

sc_lv_base& sc_dt::sc_lv_base::operator= ( const bool *  a  )  [inline]

Reimplemented in sc_dt::sc_lv< W >.

Definition at line 162 of file sc_lv_base.h.

sc_lv_base& sc_dt::sc_lv_base::operator= ( const char *  a  ) 

Reimplemented in sc_dt::sc_lv< W >.

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

Reimplemented in sc_dt::sc_lv< W >.

Definition at line 157 of file sc_lv_base.h.

template<class X >
sc_lv_base& sc_dt::sc_lv_base::operator= ( const sc_proxy< X > &  a  )  [inline]

Reimplemented in sc_dt::sc_lv< W >.

Definition at line 154 of file sc_lv_base.h.

void sc_dt::sc_lv_base::set_bit ( int  i,
sc_logic_value_t  value 
) [inline]

Definition at line 326 of file sc_lv_base.h.

void sc_dt::sc_lv_base::set_cword ( int  wi,
sc_digit  w 
) [inline]

Definition at line 267 of file sc_lv_base.h.

void sc_dt::sc_lv_base::set_word ( int  wi,
sc_digit  w 
) [inline]

Definition at line 260 of file sc_lv_base.h.

int sc_dt::sc_lv_base::size (  )  const [inline]

Definition at line 247 of file sc_lv_base.h.


Friends And Related Function Documentation

friend class sc_bv_base [friend]

Definition at line 88 of file sc_lv_base.h.


Member Data Documentation

Definition at line 282 of file sc_lv_base.h.

Definition at line 281 of file sc_lv_base.h.

int sc_dt::sc_lv_base::m_len [protected]

Definition at line 279 of file sc_lv_base.h.

int sc_dt::sc_lv_base::m_size [protected]

Definition at line 280 of file sc_lv_base.h.


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

Generated on 12 Jun 2018 for SystemC by  doxygen 1.6.1