SystemC  2.3.2
Accellera SystemC proof-of-concept library
sc_dt::sc_bv< W > Class Template Reference

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

Inheritance diagram for sc_dt::sc_bv< W >:
Collaboration diagram for sc_dt::sc_bv< W >:

Public Types

typedef sc_proxy< sc_bv_basebase_type
 
typedef base_type::value_type value_type
 
typedef sc_proxy_traits< sc_bv_base >::traits_type traits_type
 
typedef traits_type::bit_type bit_type
 

Public Member Functions

 sc_bv ()
 
 sc_bv (bool init_value)
 
 sc_bv (char init_value)
 
 sc_bv (const char *a)
 
 sc_bv (const bool *a)
 
 sc_bv (const sc_logic *a)
 
 sc_bv (const sc_unsigned &a)
 
 sc_bv (const sc_signed &a)
 
 sc_bv (const sc_uint_base &a)
 
 sc_bv (const sc_int_base &a)
 
 sc_bv (unsigned long a)
 
 sc_bv (long a)
 
 sc_bv (unsigned int a)
 
 sc_bv (int a)
 
 sc_bv (uint64 a)
 
 sc_bv (int64 a)
 
template<class X >
 sc_bv (const sc_proxy< X > &a)
 
 sc_bv (const sc_bv< W > &a)
 
template<class X >
sc_bv< W > & operator= (const sc_proxy< X > &a)
 
sc_bv< W > & operator= (const sc_bv< W > &a)
 
sc_bv< W > & operator= (const char *a)
 
sc_bv< W > & operator= (const bool *a)
 
sc_bv< W > & operator= (const sc_logic *a)
 
sc_bv< W > & operator= (const sc_unsigned &a)
 
sc_bv< W > & operator= (const sc_signed &a)
 
sc_bv< W > & operator= (const sc_uint_base &a)
 
sc_bv< W > & operator= (const sc_int_base &a)
 
sc_bv< W > & operator= (unsigned long a)
 
sc_bv< W > & operator= (long a)
 
sc_bv< W > & operator= (unsigned int a)
 
sc_bv< W > & operator= (int a)
 
sc_bv< W > & operator= (uint64 a)
 
sc_bv< W > & operator= (int64 a)
 
int length () const
 
int size () const
 
value_type get_bit (int i) const
 
void set_bit (int i, value_type value)
 
sc_digit get_word (int i) const
 
void set_word (int i, sc_digit w)
 
sc_digit get_cword (int) const
 
void set_cword (int i, sc_digit w)
 
void clean_tail ()
 
bool is_01 () const
 
sc_bv_baseback_cast ()
 
const sc_bv_baseback_cast () const
 
sc_bv_baseassign_ (const sc_proxy< Y > &a)
 
sc_bv_baseassign_ (const char *a)
 
sc_bv_baseassign_ (const bool *a)
 
sc_bv_baseassign_ (const sc_logic *a)
 
sc_bv_baseassign_ (const sc_unsigned &a)
 
sc_bv_baseassign_ (const sc_signed &a)
 
sc_bv_baseassign_ (const sc_uint_base &a)
 
sc_bv_baseassign_ (const sc_int_base &a)
 
sc_bv_baseassign_ (unsigned int a)
 
sc_bv_baseassign_ (int a)
 
sc_bv_baseassign_ (unsigned long a)
 
sc_bv_baseassign_ (long a)
 
sc_bv_baseassign_ (uint64 a)
 
sc_bv_baseassign_ (int64 a)
 
sc_bv_baseb_not ()
 
const sc_lv_base operator~ () const
 
sc_bv_baseoperator &= (const char *b)
 
sc_bv_baseoperator &= (const bool *b)
 
sc_bv_baseoperator &= (const sc_logic *b)
 
sc_bv_baseoperator &= (const sc_unsigned &b)
 
sc_bv_baseoperator &= (const sc_signed &b)
 
sc_bv_baseoperator &= (const sc_uint_base &b)
 
sc_bv_baseoperator &= (const sc_int_base &b)
 
sc_bv_baseoperator &= (unsigned long b)
 
sc_bv_baseoperator &= (long b)
 
sc_bv_baseoperator &= (unsigned int b)
 
sc_bv_baseoperator &= (int b)
 
sc_bv_baseoperator &= (uint64 b)
 
sc_bv_baseoperator &= (int64 b)
 
const sc_lv_base operator & (const char *b) const
 
const sc_lv_base operator & (const bool *b) const
 
const sc_lv_base operator & (const sc_logic *b) const
 
const sc_lv_base operator & (const sc_unsigned &b) const
 
const sc_lv_base operator & (const sc_signed &b) const
 
const sc_lv_base operator & (const sc_uint_base &b) const
 
const sc_lv_base operator & (const sc_int_base &b) const
 
const sc_lv_base operator & (unsigned long b) const
 
const sc_lv_base operator & (long b) const
 
const sc_lv_base operator & (unsigned int b) const
 
const sc_lv_base operator & (int b) const
 
const sc_lv_base operator & (uint64 b) const
 
const sc_lv_base operator & (int64 b) const
 
sc_bv_baseoperator|= (const char *b)
 
sc_bv_baseoperator|= (const bool *b)
 
sc_bv_baseoperator|= (const sc_logic *b)
 
sc_bv_baseoperator|= (const sc_unsigned &b)
 
sc_bv_baseoperator|= (const sc_signed &b)
 
sc_bv_baseoperator|= (const sc_uint_base &b)
 
sc_bv_baseoperator|= (const sc_int_base &b)
 
sc_bv_baseoperator|= (unsigned long b)
 
sc_bv_baseoperator|= (long b)
 
sc_bv_baseoperator|= (unsigned int b)
 
sc_bv_baseoperator|= (int b)
 
sc_bv_baseoperator|= (uint64 b)
 
sc_bv_baseoperator|= (int64 b)
 
const sc_lv_base operator| (const char *b) const
 
const sc_lv_base operator| (const bool *b) const
 
const sc_lv_base operator| (const sc_logic *b) const
 
const sc_lv_base operator| (const sc_unsigned &b) const
 
const sc_lv_base operator| (const sc_signed &b) const
 
const sc_lv_base operator| (const sc_uint_base &b) const
 
const sc_lv_base operator| (const sc_int_base &b) const
 
const sc_lv_base operator| (unsigned long b) const
 
const sc_lv_base operator| (long b) const
 
const sc_lv_base operator| (unsigned int b) const
 
const sc_lv_base operator| (int b) const
 
const sc_lv_base operator| (uint64 b) const
 
const sc_lv_base operator| (int64 b) const
 
sc_bv_baseoperator^= (const char *b)
 
sc_bv_baseoperator^= (const bool *b)
 
sc_bv_baseoperator^= (const sc_logic *b)
 
sc_bv_baseoperator^= (const sc_unsigned &b)
 
sc_bv_baseoperator^= (const sc_signed &b)
 
sc_bv_baseoperator^= (const sc_uint_base &b)
 
sc_bv_baseoperator^= (const sc_int_base &b)
 
sc_bv_baseoperator^= (unsigned long b)
 
sc_bv_baseoperator^= (long b)
 
sc_bv_baseoperator^= (unsigned int b)
 
sc_bv_baseoperator^= (int b)
 
sc_bv_baseoperator^= (uint64 b)
 
sc_bv_baseoperator^= (int64 b)
 
const sc_lv_base operator^ (const char *b) const
 
const sc_lv_base operator^ (const bool *b) const
 
const sc_lv_base operator^ (const sc_logic *b) const
 
const sc_lv_base operator^ (const sc_unsigned &b) const
 
const sc_lv_base operator^ (const sc_signed &b) const
 
const sc_lv_base operator^ (const sc_uint_base &b) const
 
const sc_lv_base operator^ (const sc_int_base &b) const
 
const sc_lv_base operator^ (unsigned long b) const
 
const sc_lv_base operator^ (long b) const
 
const sc_lv_base operator^ (unsigned int b) const
 
const sc_lv_base operator^ (int b) const
 
const sc_lv_base operator^ (uint64 b) const
 
const sc_lv_base operator^ (int64 b) const
 
sc_bv_baseoperator<<= (int n)
 
const sc_lv_base operator<< (int n) const
 
sc_bv_baseoperator>>= (int n)
 
const sc_lv_base operator>> (int n) const
 
sc_bv_baselrotate (int n)
 
sc_bv_baserrotate (int n)
 
sc_bv_basereverse ()
 
sc_bitref< sc_bv_baseoperator[] (int i)
 
sc_bitref_r< sc_bv_baseoperator[] (int i) const
 
sc_bitref< sc_bv_basebit (int i)
 
sc_bitref_r< sc_bv_basebit (int i) const
 
sc_subref< sc_bv_baseoperator() (int hi, int lo)
 
sc_subref_r< sc_bv_baseoperator() (int hi, int lo) const
 
sc_subref< sc_bv_baserange (int hi, int lo)
 
sc_subref_r< sc_bv_baserange (int hi, int lo) const
 
value_type and_reduce () const
 
value_type nand_reduce () const
 
value_type or_reduce () const
 
value_type nor_reduce () const
 
value_type xor_reduce () const
 
value_type xnor_reduce () const
 
bool operator== (const char *b) const
 
bool operator== (const bool *b) const
 
bool operator== (const sc_logic *b) const
 
bool operator== (const sc_unsigned &b) const
 
bool operator== (const sc_signed &b) const
 
bool operator== (const sc_uint_base &b) const
 
bool operator== (const sc_int_base &b) const
 
bool operator== (unsigned long b) const
 
bool operator== (long b) const
 
bool operator== (unsigned int b) const
 
bool operator== (int b) const
 
bool operator== (uint64 b) const
 
bool operator== (int64 b) const
 
const std::string to_string () const
 
const std::string to_string (sc_numrep) const
 
const std::string to_string (sc_numrep, bool) const
 
int64 to_int64 () const
 
uint64 to_uint64 () const
 
int to_int () const
 
unsigned int to_uint () const
 
long to_long () const
 
unsigned long to_ulong () const
 
void print (::std::ostream &os=::std::cout) const
 
void scan (::std::istream &is=::std::cin)
 

Protected Member Functions

void check_bounds (int n) const
 
void check_wbounds (int n) const
 
sc_digit to_anything_unsigned () const
 
int64 to_anything_signed () const
 

Protected Attributes

int m_len
 
int m_size
 
sc_digitm_data
 

Detailed Description

template<int W>
class sc_dt::sc_bv< W >

Definition at line 62 of file sc_bv.h.

Member Typedef Documentation

◆ base_type

Definition at line 94 of file sc_bv_base.h.

◆ bit_type

typedef traits_type::bit_type sc_dt::sc_proxy< sc_bv_base >::bit_type
inherited

Definition at line 203 of file sc_proxy.h.

◆ traits_type

Definition at line 202 of file sc_proxy.h.

◆ value_type

Definition at line 95 of file sc_bv_base.h.

Constructor & Destructor Documentation

◆ sc_bv() [1/18]

template<int W>
sc_dt::sc_bv< W >::sc_bv ( )
inline

Definition at line 79 of file sc_bv.h.

◆ sc_bv() [2/18]

template<int W>
sc_dt::sc_bv< W >::sc_bv ( bool  init_value)
inlineexplicit

Definition at line 83 of file sc_bv.h.

◆ sc_bv() [3/18]

template<int W>
sc_dt::sc_bv< W >::sc_bv ( char  init_value)
inlineexplicit

Definition at line 87 of file sc_bv.h.

◆ sc_bv() [4/18]

template<int W>
sc_dt::sc_bv< W >::sc_bv ( const char *  a)
inline

Definition at line 91 of file sc_bv.h.

◆ sc_bv() [5/18]

template<int W>
sc_dt::sc_bv< W >::sc_bv ( const bool *  a)
inline

Definition at line 95 of file sc_bv.h.

◆ sc_bv() [6/18]

template<int W>
sc_dt::sc_bv< W >::sc_bv ( const sc_logic a)
inline

Definition at line 99 of file sc_bv.h.

◆ sc_bv() [7/18]

template<int W>
sc_dt::sc_bv< W >::sc_bv ( const sc_unsigned a)
inline

Definition at line 103 of file sc_bv.h.

◆ sc_bv() [8/18]

template<int W>
sc_dt::sc_bv< W >::sc_bv ( const sc_signed a)
inline

Definition at line 107 of file sc_bv.h.

◆ sc_bv() [9/18]

template<int W>
sc_dt::sc_bv< W >::sc_bv ( const sc_uint_base a)
inline

Definition at line 111 of file sc_bv.h.

◆ sc_bv() [10/18]

template<int W>
sc_dt::sc_bv< W >::sc_bv ( const sc_int_base a)
inline

Definition at line 115 of file sc_bv.h.

◆ sc_bv() [11/18]

template<int W>
sc_dt::sc_bv< W >::sc_bv ( unsigned long  a)
inline

Definition at line 119 of file sc_bv.h.

◆ sc_bv() [12/18]

template<int W>
sc_dt::sc_bv< W >::sc_bv ( long  a)
inline

Definition at line 123 of file sc_bv.h.

◆ sc_bv() [13/18]

template<int W>
sc_dt::sc_bv< W >::sc_bv ( unsigned int  a)
inline

Definition at line 127 of file sc_bv.h.

◆ sc_bv() [14/18]

template<int W>
sc_dt::sc_bv< W >::sc_bv ( int  a)
inline

Definition at line 131 of file sc_bv.h.

◆ sc_bv() [15/18]

template<int W>
sc_dt::sc_bv< W >::sc_bv ( uint64  a)
inline

Definition at line 135 of file sc_bv.h.

◆ sc_bv() [16/18]

template<int W>
sc_dt::sc_bv< W >::sc_bv ( int64  a)
inline

Definition at line 139 of file sc_bv.h.

◆ sc_bv() [17/18]

template<int W>
template<class X >
sc_dt::sc_bv< W >::sc_bv ( const sc_proxy< X > &  a)
inline

Definition at line 144 of file sc_bv.h.

◆ sc_bv() [18/18]

template<int W>
sc_dt::sc_bv< W >::sc_bv ( const sc_bv< W > &  a)
inline

Definition at line 148 of file sc_bv.h.

Member Function Documentation

◆ and_reduce()

sc_proxy< sc_bv_base >::value_type sc_dt::sc_proxy< sc_bv_base >::and_reduce ( ) const
inlineinherited

Definition at line 1287 of file sc_proxy.h.

◆ assign_() [1/14]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::assign_ ( const sc_proxy< Y > &  a)
inlineinherited

Definition at line 223 of file sc_proxy.h.

◆ assign_() [2/14]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::assign_ ( const char *  a)
inlineinherited

Definition at line 866 of file sc_proxy.h.

◆ assign_() [3/14]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::assign_ ( const bool *  a)
inlineinherited

Definition at line 890 of file sc_proxy.h.

◆ assign_() [4/14]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::assign_ ( const sc_logic a)
inlineinherited

Definition at line 904 of file sc_proxy.h.

◆ assign_() [5/14]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::assign_ ( const sc_unsigned a)
inlineinherited

Definition at line 230 of file sc_proxy.h.

◆ assign_() [6/14]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::assign_ ( const sc_signed a)
inlineinherited

Definition at line 233 of file sc_proxy.h.

◆ assign_() [7/14]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::assign_ ( const sc_uint_base a)
inlineinherited

Definition at line 236 of file sc_proxy.h.

◆ assign_() [8/14]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::assign_ ( const sc_int_base a)
inlineinherited

Definition at line 239 of file sc_proxy.h.

◆ assign_() [9/14]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::assign_ ( unsigned int  a)
inlineinherited

Definition at line 918 of file sc_proxy.h.

◆ assign_() [10/14]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::assign_ ( int  a)
inlineinherited

Definition at line 931 of file sc_proxy.h.

◆ assign_() [11/14]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::assign_ ( unsigned long  a)
inlineinherited

Definition at line 982 of file sc_proxy.h.

◆ assign_() [12/14]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::assign_ ( long  a)
inlineinherited

Definition at line 995 of file sc_proxy.h.

◆ assign_() [13/14]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::assign_ ( uint64  a)
inlineinherited

Definition at line 1008 of file sc_proxy.h.

◆ assign_() [14/14]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::assign_ ( int64  a)
inlineinherited

Definition at line 1026 of file sc_proxy.h.

◆ b_not()

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::b_not ( )
inlineinherited

Definition at line 1049 of file sc_proxy.h.

◆ back_cast() [1/2]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::back_cast ( )
inlineinherited

Definition at line 213 of file sc_proxy.h.

◆ back_cast() [2/2]

const sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::back_cast ( ) const
inlineinherited

Definition at line 216 of file sc_proxy.h.

◆ bit() [1/2]

sc_bitref<sc_bv_base > sc_dt::sc_proxy< sc_bv_base >::bit ( int  i)
inlineinherited

Definition at line 425 of file sc_proxy.h.

◆ bit() [2/2]

sc_bitref_r<sc_bv_base > sc_dt::sc_proxy< sc_bv_base >::bit ( int  i) const
inlineinherited

Definition at line 428 of file sc_proxy.h.

◆ check_bounds()

void sc_dt::sc_proxy< sc_bv_base >::check_bounds ( int  n) const
inlineprotectedinherited

Definition at line 1429 of file sc_proxy.h.

◆ check_wbounds()

void sc_dt::sc_proxy< sc_bv_base >::check_wbounds ( int  n) const
inlineprotectedinherited

Definition at line 1440 of file sc_proxy.h.

◆ clean_tail()

void sc_dt::sc_bv_base::clean_tail ( )
inlineinherited

Definition at line 296 of file sc_bv_base.h.

◆ get_bit()

sc_bv_base::value_type sc_dt::sc_bv_base::get_bit ( int  i) const
inlineinherited

Definition at line 265 of file sc_bv_base.h.

◆ get_cword()

sc_digit sc_dt::sc_bv_base::get_cword ( int  ) const
inlineinherited

Definition at line 212 of file sc_bv_base.h.

◆ get_word()

sc_digit sc_dt::sc_bv_base::get_word ( int  i) const
inlineinherited

Definition at line 206 of file sc_bv_base.h.

◆ is_01()

bool sc_dt::sc_bv_base::is_01 ( ) const
inlineinherited

Definition at line 222 of file sc_bv_base.h.

◆ length()

int sc_dt::sc_bv_base::length ( ) const
inlineinherited

Definition at line 197 of file sc_bv_base.h.

◆ lrotate()

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::lrotate ( int  n)
inlineinherited

Definition at line 673 of file sc_lv_base.h.

◆ nand_reduce()

value_type sc_dt::sc_proxy< sc_bv_base >::nand_reduce ( ) const
inlineinherited

Definition at line 451 of file sc_proxy.h.

◆ nor_reduce()

value_type sc_dt::sc_proxy< sc_bv_base >::nor_reduce ( ) const
inlineinherited

Definition at line 456 of file sc_proxy.h.

◆ operator &() [1/13]

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator & ( const char *  b) const
inherited

◆ operator &() [2/13]

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator & ( const bool *  b) const
inherited

◆ operator &() [3/13]

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator & ( const sc_logic b) const
inherited

◆ operator &() [4/13]

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator & ( const sc_unsigned b) const
inherited

◆ operator &() [5/13]

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator & ( const sc_signed b) const
inherited

◆ operator &() [6/13]

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator & ( const sc_uint_base b) const
inherited

◆ operator &() [7/13]

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator & ( const sc_int_base b) const
inherited

◆ operator &() [8/13]

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator & ( unsigned long  b) const
inherited

◆ operator &() [9/13]

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator & ( long  b) const
inherited

◆ operator &() [10/13]

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator & ( unsigned int  b) const
inherited

◆ operator &() [11/13]

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator & ( int  b) const
inherited

◆ operator &() [12/13]

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator & ( uint64  b) const
inherited

◆ operator &() [13/13]

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator & ( int64  b) const
inherited

◆ operator &=() [1/13]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator &= ( const char *  b)
inherited

◆ operator &=() [2/13]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator &= ( const bool *  b)
inherited

◆ operator &=() [3/13]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator &= ( const sc_logic b)
inherited

◆ operator &=() [4/13]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator &= ( const sc_unsigned b)
inherited

◆ operator &=() [5/13]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator &= ( const sc_signed b)
inherited

◆ operator &=() [6/13]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator &= ( const sc_uint_base b)
inlineinherited

Definition at line 270 of file sc_proxy.h.

◆ operator &=() [7/13]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator &= ( const sc_int_base b)
inlineinherited

Definition at line 273 of file sc_proxy.h.

◆ operator &=() [8/13]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator &= ( unsigned long  b)
inherited

◆ operator &=() [9/13]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator &= ( long  b)
inherited

◆ operator &=() [10/13]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator &= ( unsigned int  b)
inlineinherited

Definition at line 279 of file sc_proxy.h.

◆ operator &=() [11/13]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator &= ( int  b)
inlineinherited

Definition at line 282 of file sc_proxy.h.

◆ operator &=() [12/13]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator &= ( uint64  b)
inherited

◆ operator &=() [13/13]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator &= ( int64  b)
inherited

◆ operator()() [1/2]

sc_subref<sc_bv_base > sc_dt::sc_proxy< sc_bv_base >::operator() ( int  hi,
int  lo 
)
inlineinherited

Definition at line 434 of file sc_proxy.h.

◆ operator()() [2/2]

sc_subref_r<sc_bv_base > sc_dt::sc_proxy< sc_bv_base >::operator() ( int  hi,
int  lo 
) const
inlineinherited

Definition at line 437 of file sc_proxy.h.

◆ operator<<()

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator<< ( int  n) const
inlineinherited

Definition at line 648 of file sc_lv_base.h.

◆ operator<<=()

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator<<= ( int  n)
inlineinherited

Definition at line 1140 of file sc_proxy.h.

◆ operator=() [1/15]

template<int W>
template<class X >
sc_bv<W>& sc_dt::sc_bv< W >::operator= ( const sc_proxy< X > &  a)
inline

Definition at line 156 of file sc_bv.h.

◆ operator=() [2/15]

template<int W>
sc_bv<W>& sc_dt::sc_bv< W >::operator= ( const sc_bv< W > &  a)
inline

Definition at line 159 of file sc_bv.h.

◆ operator=() [3/15]

template<int W>
sc_bv<W>& sc_dt::sc_bv< W >::operator= ( const char *  a)
inline

Definition at line 162 of file sc_bv.h.

◆ operator=() [4/15]

template<int W>
sc_bv<W>& sc_dt::sc_bv< W >::operator= ( const bool *  a)
inline

Definition at line 165 of file sc_bv.h.

◆ operator=() [5/15]

template<int W>
sc_bv<W>& sc_dt::sc_bv< W >::operator= ( const sc_logic a)
inline

Definition at line 168 of file sc_bv.h.

◆ operator=() [6/15]

template<int W>
sc_bv<W>& sc_dt::sc_bv< W >::operator= ( const sc_unsigned a)
inline

Definition at line 171 of file sc_bv.h.

◆ operator=() [7/15]

template<int W>
sc_bv<W>& sc_dt::sc_bv< W >::operator= ( const sc_signed a)
inline

Definition at line 174 of file sc_bv.h.

◆ operator=() [8/15]

template<int W>
sc_bv<W>& sc_dt::sc_bv< W >::operator= ( const sc_uint_base a)
inline

Definition at line 177 of file sc_bv.h.

◆ operator=() [9/15]

template<int W>
sc_bv<W>& sc_dt::sc_bv< W >::operator= ( const sc_int_base a)
inline

Definition at line 180 of file sc_bv.h.

◆ operator=() [10/15]

template<int W>
sc_bv<W>& sc_dt::sc_bv< W >::operator= ( unsigned long  a)
inline

Definition at line 183 of file sc_bv.h.

◆ operator=() [11/15]

template<int W>
sc_bv<W>& sc_dt::sc_bv< W >::operator= ( long  a)
inline

Definition at line 186 of file sc_bv.h.

◆ operator=() [12/15]

template<int W>
sc_bv<W>& sc_dt::sc_bv< W >::operator= ( unsigned int  a)
inline

Definition at line 189 of file sc_bv.h.

◆ operator=() [13/15]

template<int W>
sc_bv<W>& sc_dt::sc_bv< W >::operator= ( int  a)
inline

Definition at line 192 of file sc_bv.h.

◆ operator=() [14/15]

template<int W>
sc_bv<W>& sc_dt::sc_bv< W >::operator= ( uint64  a)
inline

Definition at line 195 of file sc_bv.h.

◆ operator=() [15/15]

template<int W>
sc_bv<W>& sc_dt::sc_bv< W >::operator= ( int64  a)
inline

Definition at line 198 of file sc_bv.h.

◆ operator==() [1/13]

bool sc_dt::sc_proxy< sc_bv_base >::operator== ( const char *  b) const
inherited

◆ operator==() [2/13]

bool sc_dt::sc_proxy< sc_bv_base >::operator== ( const bool *  b) const
inherited

◆ operator==() [3/13]

bool sc_dt::sc_proxy< sc_bv_base >::operator== ( const sc_logic b) const
inherited

◆ operator==() [4/13]

bool sc_dt::sc_proxy< sc_bv_base >::operator== ( const sc_unsigned b) const
inherited

◆ operator==() [5/13]

bool sc_dt::sc_proxy< sc_bv_base >::operator== ( const sc_signed b) const
inherited

◆ operator==() [6/13]

bool sc_dt::sc_proxy< sc_bv_base >::operator== ( const sc_uint_base b) const
inherited

◆ operator==() [7/13]

bool sc_dt::sc_proxy< sc_bv_base >::operator== ( const sc_int_base b) const
inherited

◆ operator==() [8/13]

bool sc_dt::sc_proxy< sc_bv_base >::operator== ( unsigned long  b) const
inherited

◆ operator==() [9/13]

bool sc_dt::sc_proxy< sc_bv_base >::operator== ( long  b) const
inherited

◆ operator==() [10/13]

bool sc_dt::sc_proxy< sc_bv_base >::operator== ( unsigned int  b) const
inherited

◆ operator==() [11/13]

bool sc_dt::sc_proxy< sc_bv_base >::operator== ( int  b) const
inherited

◆ operator==() [12/13]

bool sc_dt::sc_proxy< sc_bv_base >::operator== ( uint64  b) const
inherited

◆ operator==() [13/13]

bool sc_dt::sc_proxy< sc_bv_base >::operator== ( int64  b) const
inherited

◆ operator>>()

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator>> ( int  n) const
inlineinherited

Definition at line 661 of file sc_lv_base.h.

◆ operator>>=()

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator>>= ( int  n)
inlineinherited

Definition at line 1194 of file sc_proxy.h.

◆ operator[]() [1/2]

sc_bitref<sc_bv_base > sc_dt::sc_proxy< sc_bv_base >::operator[] ( int  i)
inlineinherited

Definition at line 419 of file sc_proxy.h.

◆ operator[]() [2/2]

sc_bitref_r<sc_bv_base > sc_dt::sc_proxy< sc_bv_base >::operator[] ( int  i) const
inlineinherited

Definition at line 422 of file sc_proxy.h.

◆ operator^() [1/13]

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator^ ( const char *  b) const
inherited

◆ operator^() [2/13]

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator^ ( const bool *  b) const
inherited

◆ operator^() [3/13]

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator^ ( const sc_logic b) const
inherited

◆ operator^() [4/13]

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator^ ( const sc_unsigned b) const
inherited

◆ operator^() [5/13]

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator^ ( const sc_signed b) const
inherited

◆ operator^() [6/13]

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator^ ( const sc_uint_base b) const
inherited

◆ operator^() [7/13]

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator^ ( const sc_int_base b) const
inherited

◆ operator^() [8/13]

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator^ ( unsigned long  b) const
inherited

◆ operator^() [9/13]

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator^ ( long  b) const
inherited

◆ operator^() [10/13]

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator^ ( unsigned int  b) const
inherited

◆ operator^() [11/13]

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator^ ( int  b) const
inherited

◆ operator^() [12/13]

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator^ ( uint64  b) const
inherited

◆ operator^() [13/13]

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator^ ( int64  b) const
inherited

◆ operator^=() [1/13]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator^= ( const char *  b)
inherited

◆ operator^=() [2/13]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator^= ( const bool *  b)
inherited

◆ operator^=() [3/13]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator^= ( const sc_logic b)
inherited

◆ operator^=() [4/13]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator^= ( const sc_unsigned b)
inherited

◆ operator^=() [5/13]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator^= ( const sc_signed b)
inherited

◆ operator^=() [6/13]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator^= ( const sc_uint_base b)
inlineinherited

Definition at line 354 of file sc_proxy.h.

◆ operator^=() [7/13]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator^= ( const sc_int_base b)
inlineinherited

Definition at line 357 of file sc_proxy.h.

◆ operator^=() [8/13]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator^= ( unsigned long  b)
inherited

◆ operator^=() [9/13]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator^= ( long  b)
inherited

◆ operator^=() [10/13]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator^= ( unsigned int  b)
inlineinherited

Definition at line 363 of file sc_proxy.h.

◆ operator^=() [11/13]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator^= ( int  b)
inlineinherited

Definition at line 366 of file sc_proxy.h.

◆ operator^=() [12/13]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator^= ( uint64  b)
inherited

◆ operator^=() [13/13]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator^= ( int64  b)
inherited

◆ operator|() [1/13]

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator| ( const char *  b) const
inherited

◆ operator|() [2/13]

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator| ( const bool *  b) const
inherited

◆ operator|() [3/13]

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator| ( const sc_logic b) const
inherited

◆ operator|() [4/13]

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator| ( const sc_unsigned b) const
inherited

◆ operator|() [5/13]

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator| ( const sc_signed b) const
inherited

◆ operator|() [6/13]

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator| ( const sc_uint_base b) const
inherited

◆ operator|() [7/13]

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator| ( const sc_int_base b) const
inherited

◆ operator|() [8/13]

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator| ( unsigned long  b) const
inherited

◆ operator|() [9/13]

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator| ( long  b) const
inherited

◆ operator|() [10/13]

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator| ( unsigned int  b) const
inherited

◆ operator|() [11/13]

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator| ( int  b) const
inherited

◆ operator|() [12/13]

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator| ( uint64  b) const
inherited

◆ operator|() [13/13]

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator| ( int64  b) const
inherited

◆ operator|=() [1/13]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator|= ( const char *  b)
inherited

◆ operator|=() [2/13]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator|= ( const bool *  b)
inherited

◆ operator|=() [3/13]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator|= ( const sc_logic b)
inherited

◆ operator|=() [4/13]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator|= ( const sc_unsigned b)
inherited

◆ operator|=() [5/13]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator|= ( const sc_signed b)
inherited

◆ operator|=() [6/13]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator|= ( const sc_uint_base b)
inlineinherited

Definition at line 312 of file sc_proxy.h.

◆ operator|=() [7/13]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator|= ( const sc_int_base b)
inlineinherited

Definition at line 315 of file sc_proxy.h.

◆ operator|=() [8/13]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator|= ( unsigned long  b)
inherited

◆ operator|=() [9/13]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator|= ( long  b)
inherited

◆ operator|=() [10/13]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator|= ( unsigned int  b)
inlineinherited

Definition at line 321 of file sc_proxy.h.

◆ operator|=() [11/13]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator|= ( int  b)
inlineinherited

Definition at line 324 of file sc_proxy.h.

◆ operator|=() [12/13]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator|= ( uint64  b)
inherited

◆ operator|=() [13/13]

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::operator|= ( int64  b)
inherited

◆ operator~()

const sc_lv_base sc_dt::sc_proxy< sc_bv_base >::operator~ ( ) const
inlineinherited

Definition at line 330 of file sc_lv_base.h.

◆ or_reduce()

sc_proxy< sc_bv_base >::value_type sc_dt::sc_proxy< sc_bv_base >::or_reduce ( ) const
inlineinherited

Definition at line 1301 of file sc_proxy.h.

◆ print()

void sc_dt::sc_proxy< sc_bv_base >::print ( ::std::ostream &  os = ::std::cout) const
inlineinherited

Definition at line 519 of file sc_proxy.h.

◆ range() [1/2]

sc_subref<sc_bv_base > sc_dt::sc_proxy< sc_bv_base >::range ( int  hi,
int  lo 
)
inlineinherited

Definition at line 440 of file sc_proxy.h.

◆ range() [2/2]

sc_subref_r<sc_bv_base > sc_dt::sc_proxy< sc_bv_base >::range ( int  hi,
int  lo 
) const
inlineinherited

Definition at line 443 of file sc_proxy.h.

◆ reverse()

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::reverse ( )
inlineinherited

Definition at line 1263 of file sc_proxy.h.

◆ rrotate()

sc_bv_base & sc_dt::sc_proxy< sc_bv_base >::rrotate ( int  n)
inlineinherited

Definition at line 710 of file sc_lv_base.h.

◆ scan()

void sc_dt::sc_proxy< sc_bv_base >::scan ( ::std::istream &  is = ::std::cin)
inlineinherited

Definition at line 1418 of file sc_proxy.h.

◆ set_bit()

void sc_dt::sc_bv_base::set_bit ( int  i,
value_type  value 
)
inlineinherited

Definition at line 274 of file sc_bv_base.h.

◆ set_cword()

void sc_dt::sc_bv_base::set_cword ( int  i,
sc_digit  w 
)
inlineinherited

Definition at line 286 of file sc_bv_base.h.

◆ set_word()

void sc_dt::sc_bv_base::set_word ( int  i,
sc_digit  w 
)
inlineinherited

Definition at line 209 of file sc_bv_base.h.

◆ size()

int sc_dt::sc_bv_base::size ( ) const
inlineinherited

Definition at line 200 of file sc_bv_base.h.

◆ to_anything_signed()

int64 sc_dt::sc_proxy< sc_bv_base >::to_anything_signed ( ) const
inlineprotectedinherited

Definition at line 1503 of file sc_proxy.h.

◆ to_anything_unsigned()

sc_digit sc_dt::sc_proxy< sc_bv_base >::to_anything_unsigned ( ) const
inlineprotectedinherited

Definition at line 1452 of file sc_proxy.h.

◆ to_int()

int sc_dt::sc_proxy< sc_bv_base >::to_int ( ) const
inlineinherited

Definition at line 494 of file sc_proxy.h.

◆ to_int64()

int64 sc_dt::sc_proxy< sc_bv_base >::to_int64 ( ) const
inlineinherited

Definition at line 491 of file sc_proxy.h.

◆ to_long()

long sc_dt::sc_proxy< sc_bv_base >::to_long ( ) const
inlineinherited

Definition at line 500 of file sc_proxy.h.

◆ to_string() [1/3]

const std::string sc_dt::sc_proxy< sc_bv_base >::to_string ( ) const
inlineinherited

Definition at line 1385 of file sc_proxy.h.

◆ to_string() [2/3]

const std::string sc_dt::sc_proxy< sc_bv_base >::to_string ( sc_numrep  numrep) const
inlineinherited

Definition at line 1399 of file sc_proxy.h.

◆ to_string() [3/3]

const std::string sc_dt::sc_proxy< sc_bv_base >::to_string ( sc_numrep  numrep,
bool  w_prefix 
) const
inlineinherited

Definition at line 1407 of file sc_proxy.h.

◆ to_uint()

unsigned int sc_dt::sc_proxy< sc_bv_base >::to_uint ( ) const
inlineinherited

Definition at line 497 of file sc_proxy.h.

◆ to_uint64()

uint64 sc_dt::sc_proxy< sc_bv_base >::to_uint64 ( ) const
inlineinherited

Definition at line 1471 of file sc_proxy.h.

◆ to_ulong()

unsigned long sc_dt::sc_proxy< sc_bv_base >::to_ulong ( ) const
inlineinherited

Definition at line 503 of file sc_proxy.h.

◆ xnor_reduce()

value_type sc_dt::sc_proxy< sc_bv_base >::xnor_reduce ( ) const
inlineinherited

Definition at line 461 of file sc_proxy.h.

◆ xor_reduce()

sc_proxy< sc_bv_base >::value_type sc_dt::sc_proxy< sc_bv_base >::xor_reduce ( ) const
inlineinherited

Definition at line 1315 of file sc_proxy.h.

Member Data Documentation

◆ m_data

sc_digit* sc_dt::sc_bv_base::m_data
protectedinherited

Definition at line 229 of file sc_bv_base.h.

◆ m_len

int sc_dt::sc_bv_base::m_len
protectedinherited

Definition at line 227 of file sc_bv_base.h.

◆ m_size

int sc_dt::sc_bv_base::m_size
protectedinherited

Definition at line 228 of file sc_bv_base.h.


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