SystemC
2.3.2
Accellera SystemC proof-of-concept library
|
Base class template for bit/logic vector classes. More...
#include <sysc/datatypes/bit/sc_proxy.h>
Public Types | |
typedef sc_proxy_traits< X >::traits_type | traits_type |
typedef traits_type::bit_type | bit_type |
typedef traits_type::value_type | value_type |
Public Member Functions | |
virtual | ~sc_proxy () |
X & | back_cast () |
const X & | back_cast () const |
template<class Y > | |
X & | assign_ (const sc_proxy< Y > &a) |
X & | assign_ (const char *a) |
X & | assign_ (const bool *a) |
X & | assign_ (const sc_logic *a) |
X & | assign_ (const sc_unsigned &a) |
X & | assign_ (const sc_signed &a) |
X & | assign_ (const sc_uint_base &a) |
X & | assign_ (const sc_int_base &a) |
X & | assign_ (unsigned int a) |
X & | assign_ (int a) |
X & | assign_ (unsigned long a) |
X & | assign_ (long a) |
X & | assign_ (uint64 a) |
X & | assign_ (int64 a) |
X & | b_not () |
const sc_lv_base | operator~ () const |
X & | operator&= (const char *b) |
X & | operator&= (const bool *b) |
X & | operator&= (const sc_logic *b) |
X & | operator&= (const sc_unsigned &b) |
X & | operator&= (const sc_signed &b) |
X & | operator&= (const sc_uint_base &b) |
X & | operator&= (const sc_int_base &b) |
X & | operator&= (unsigned long b) |
X & | operator&= (long b) |
X & | operator&= (unsigned int b) |
X & | operator&= (int b) |
X & | operator&= (uint64 b) |
X & | operator&= (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 |
X & | operator|= (const char *b) |
X & | operator|= (const bool *b) |
X & | operator|= (const sc_logic *b) |
X & | operator|= (const sc_unsigned &b) |
X & | operator|= (const sc_signed &b) |
X & | operator|= (const sc_uint_base &b) |
X & | operator|= (const sc_int_base &b) |
X & | operator|= (unsigned long b) |
X & | operator|= (long b) |
X & | operator|= (unsigned int b) |
X & | operator|= (int b) |
X & | operator|= (uint64 b) |
X & | operator|= (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 |
X & | operator^= (const char *b) |
X & | operator^= (const bool *b) |
X & | operator^= (const sc_logic *b) |
X & | operator^= (const sc_unsigned &b) |
X & | operator^= (const sc_signed &b) |
X & | operator^= (const sc_uint_base &b) |
X & | operator^= (const sc_int_base &b) |
X & | operator^= (unsigned long b) |
X & | operator^= (long b) |
X & | operator^= (unsigned int b) |
X & | operator^= (int b) |
X & | operator^= (uint64 b) |
X & | operator^= (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 |
X & | operator<<= (int n) |
const sc_lv_base | operator<< (int n) const |
X & | operator>>= (int n) |
const sc_lv_base | operator>> (int n) const |
X & | lrotate (int n) |
X & | rrotate (int n) |
X & | reverse () |
sc_bitref< X > | operator[] (int i) |
sc_bitref_r< X > | operator[] (int i) const |
sc_bitref< X > | bit (int i) |
sc_bitref_r< X > | bit (int i) const |
sc_subref< X > | operator() (int hi, int lo) |
sc_subref_r< X > | operator() (int hi, int lo) const |
sc_subref< X > | range (int hi, int lo) |
sc_subref_r< X > | range (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 |
Base class template for bit/logic vector classes.
(Barton/Nackmann implementation)
Definition at line 84 of file sc_proxy.h.
typedef traits_type::bit_type sc_dt::sc_proxy< X >::bit_type |
Definition at line 203 of file sc_proxy.h.
typedef sc_proxy_traits<X>::traits_type sc_dt::sc_proxy< X >::traits_type |
Definition at line 202 of file sc_proxy.h.
typedef traits_type::value_type sc_dt::sc_proxy< X >::value_type |
Definition at line 204 of file sc_proxy.h.
|
inlinevirtual |
Definition at line 208 of file sc_proxy.h.
|
inline |
Definition at line 1287 of file sc_proxy.h.
|
inline |
Definition at line 223 of file sc_proxy.h.
|
inline |
Definition at line 866 of file sc_proxy.h.
|
inline |
Definition at line 890 of file sc_proxy.h.
|
inline |
Definition at line 904 of file sc_proxy.h.
|
inline |
Definition at line 230 of file sc_proxy.h.
|
inline |
Definition at line 233 of file sc_proxy.h.
|
inline |
Definition at line 236 of file sc_proxy.h.
|
inline |
Definition at line 239 of file sc_proxy.h.
|
inline |
Definition at line 918 of file sc_proxy.h.
|
inline |
Definition at line 931 of file sc_proxy.h.
|
inline |
Definition at line 982 of file sc_proxy.h.
|
inline |
Definition at line 995 of file sc_proxy.h.
|
inline |
Definition at line 1008 of file sc_proxy.h.
|
inline |
Definition at line 1026 of file sc_proxy.h.
|
inline |
Definition at line 1049 of file sc_proxy.h.
|
inline |
Definition at line 213 of file sc_proxy.h.
|
inline |
Definition at line 216 of file sc_proxy.h.
|
inline |
Definition at line 425 of file sc_proxy.h.
|
inline |
Definition at line 428 of file sc_proxy.h.
|
inlineprotected |
Definition at line 1429 of file sc_proxy.h.
|
inlineprotected |
Definition at line 1440 of file sc_proxy.h.
|
inline |
Definition at line 673 of file sc_lv_base.h.
|
inline |
Definition at line 451 of file sc_proxy.h.
|
inline |
Definition at line 456 of file sc_proxy.h.
const sc_lv_base sc_dt::sc_proxy< X >::operator & | ( | const char * | b | ) | const |
const sc_lv_base sc_dt::sc_proxy< X >::operator & | ( | const bool * | b | ) | const |
const sc_lv_base sc_dt::sc_proxy< X >::operator & | ( | const sc_logic * | b | ) | const |
const sc_lv_base sc_dt::sc_proxy< X >::operator & | ( | const sc_unsigned & | b | ) | const |
const sc_lv_base sc_dt::sc_proxy< X >::operator & | ( | const sc_signed & | b | ) | const |
const sc_lv_base sc_dt::sc_proxy< X >::operator & | ( | const sc_uint_base & | b | ) | const |
const sc_lv_base sc_dt::sc_proxy< X >::operator & | ( | const sc_int_base & | b | ) | const |
const sc_lv_base sc_dt::sc_proxy< X >::operator & | ( | unsigned long | b | ) | const |
const sc_lv_base sc_dt::sc_proxy< X >::operator & | ( | long | b | ) | const |
const sc_lv_base sc_dt::sc_proxy< X >::operator & | ( | unsigned int | b | ) | const |
const sc_lv_base sc_dt::sc_proxy< X >::operator & | ( | int | b | ) | const |
const sc_lv_base sc_dt::sc_proxy< X >::operator & | ( | uint64 | b | ) | const |
const sc_lv_base sc_dt::sc_proxy< X >::operator & | ( | int64 | b | ) | const |
X& sc_dt::sc_proxy< X >::operator &= | ( | const char * | b | ) |
X& sc_dt::sc_proxy< X >::operator &= | ( | const bool * | b | ) |
X& sc_dt::sc_proxy< X >::operator &= | ( | const sc_logic * | b | ) |
X& sc_dt::sc_proxy< X >::operator &= | ( | const sc_unsigned & | b | ) |
X& sc_dt::sc_proxy< X >::operator &= | ( | const sc_signed & | b | ) |
|
inline |
Definition at line 270 of file sc_proxy.h.
|
inline |
Definition at line 273 of file sc_proxy.h.
X& sc_dt::sc_proxy< X >::operator &= | ( | unsigned long | b | ) |
X& sc_dt::sc_proxy< X >::operator &= | ( | long | b | ) |
|
inline |
Definition at line 279 of file sc_proxy.h.
|
inline |
Definition at line 282 of file sc_proxy.h.
X& sc_dt::sc_proxy< X >::operator &= | ( | uint64 | b | ) |
X& sc_dt::sc_proxy< X >::operator &= | ( | int64 | b | ) |
|
inline |
Definition at line 434 of file sc_proxy.h.
|
inline |
Definition at line 437 of file sc_proxy.h.
|
inline |
Definition at line 648 of file sc_lv_base.h.
|
inline |
Definition at line 1140 of file sc_proxy.h.
bool sc_dt::sc_proxy< X >::operator== | ( | const char * | b | ) | const |
bool sc_dt::sc_proxy< X >::operator== | ( | const bool * | b | ) | const |
bool sc_dt::sc_proxy< X >::operator== | ( | const sc_logic * | b | ) | const |
bool sc_dt::sc_proxy< X >::operator== | ( | const sc_unsigned & | b | ) | const |
bool sc_dt::sc_proxy< X >::operator== | ( | const sc_signed & | b | ) | const |
bool sc_dt::sc_proxy< X >::operator== | ( | const sc_uint_base & | b | ) | const |
bool sc_dt::sc_proxy< X >::operator== | ( | const sc_int_base & | b | ) | const |
bool sc_dt::sc_proxy< X >::operator== | ( | unsigned long | b | ) | const |
bool sc_dt::sc_proxy< X >::operator== | ( | long | b | ) | const |
bool sc_dt::sc_proxy< X >::operator== | ( | unsigned int | b | ) | const |
bool sc_dt::sc_proxy< X >::operator== | ( | int | b | ) | const |
bool sc_dt::sc_proxy< X >::operator== | ( | uint64 | b | ) | const |
bool sc_dt::sc_proxy< X >::operator== | ( | int64 | b | ) | const |
|
inline |
Definition at line 661 of file sc_lv_base.h.
|
inline |
Definition at line 1194 of file sc_proxy.h.
|
inline |
Definition at line 419 of file sc_proxy.h.
|
inline |
Definition at line 422 of file sc_proxy.h.
const sc_lv_base sc_dt::sc_proxy< X >::operator^ | ( | const char * | b | ) | const |
const sc_lv_base sc_dt::sc_proxy< X >::operator^ | ( | const bool * | b | ) | const |
const sc_lv_base sc_dt::sc_proxy< X >::operator^ | ( | const sc_logic * | b | ) | const |
const sc_lv_base sc_dt::sc_proxy< X >::operator^ | ( | const sc_unsigned & | b | ) | const |
const sc_lv_base sc_dt::sc_proxy< X >::operator^ | ( | const sc_signed & | b | ) | const |
const sc_lv_base sc_dt::sc_proxy< X >::operator^ | ( | const sc_uint_base & | b | ) | const |
const sc_lv_base sc_dt::sc_proxy< X >::operator^ | ( | const sc_int_base & | b | ) | const |
const sc_lv_base sc_dt::sc_proxy< X >::operator^ | ( | unsigned long | b | ) | const |
const sc_lv_base sc_dt::sc_proxy< X >::operator^ | ( | long | b | ) | const |
const sc_lv_base sc_dt::sc_proxy< X >::operator^ | ( | unsigned int | b | ) | const |
const sc_lv_base sc_dt::sc_proxy< X >::operator^ | ( | int | b | ) | const |
const sc_lv_base sc_dt::sc_proxy< X >::operator^ | ( | uint64 | b | ) | const |
const sc_lv_base sc_dt::sc_proxy< X >::operator^ | ( | int64 | b | ) | const |
X& sc_dt::sc_proxy< X >::operator^= | ( | const char * | b | ) |
X& sc_dt::sc_proxy< X >::operator^= | ( | const bool * | b | ) |
X& sc_dt::sc_proxy< X >::operator^= | ( | const sc_logic * | b | ) |
X& sc_dt::sc_proxy< X >::operator^= | ( | const sc_unsigned & | b | ) |
X& sc_dt::sc_proxy< X >::operator^= | ( | const sc_signed & | b | ) |
|
inline |
Definition at line 354 of file sc_proxy.h.
|
inline |
Definition at line 357 of file sc_proxy.h.
X& sc_dt::sc_proxy< X >::operator^= | ( | unsigned long | b | ) |
X& sc_dt::sc_proxy< X >::operator^= | ( | long | b | ) |
|
inline |
Definition at line 363 of file sc_proxy.h.
|
inline |
Definition at line 366 of file sc_proxy.h.
X& sc_dt::sc_proxy< X >::operator^= | ( | uint64 | b | ) |
X& sc_dt::sc_proxy< X >::operator^= | ( | int64 | b | ) |
const sc_lv_base sc_dt::sc_proxy< X >::operator| | ( | const char * | b | ) | const |
const sc_lv_base sc_dt::sc_proxy< X >::operator| | ( | const bool * | b | ) | const |
const sc_lv_base sc_dt::sc_proxy< X >::operator| | ( | const sc_logic * | b | ) | const |
const sc_lv_base sc_dt::sc_proxy< X >::operator| | ( | const sc_unsigned & | b | ) | const |
const sc_lv_base sc_dt::sc_proxy< X >::operator| | ( | const sc_signed & | b | ) | const |
const sc_lv_base sc_dt::sc_proxy< X >::operator| | ( | const sc_uint_base & | b | ) | const |
const sc_lv_base sc_dt::sc_proxy< X >::operator| | ( | const sc_int_base & | b | ) | const |
const sc_lv_base sc_dt::sc_proxy< X >::operator| | ( | unsigned long | b | ) | const |
const sc_lv_base sc_dt::sc_proxy< X >::operator| | ( | long | b | ) | const |
const sc_lv_base sc_dt::sc_proxy< X >::operator| | ( | unsigned int | b | ) | const |
const sc_lv_base sc_dt::sc_proxy< X >::operator| | ( | int | b | ) | const |
const sc_lv_base sc_dt::sc_proxy< X >::operator| | ( | uint64 | b | ) | const |
const sc_lv_base sc_dt::sc_proxy< X >::operator| | ( | int64 | b | ) | const |
X& sc_dt::sc_proxy< X >::operator|= | ( | const char * | b | ) |
X& sc_dt::sc_proxy< X >::operator|= | ( | const bool * | b | ) |
X& sc_dt::sc_proxy< X >::operator|= | ( | const sc_logic * | b | ) |
X& sc_dt::sc_proxy< X >::operator|= | ( | const sc_unsigned & | b | ) |
X& sc_dt::sc_proxy< X >::operator|= | ( | const sc_signed & | b | ) |
|
inline |
Definition at line 312 of file sc_proxy.h.
|
inline |
Definition at line 315 of file sc_proxy.h.
X& sc_dt::sc_proxy< X >::operator|= | ( | unsigned long | b | ) |
X& sc_dt::sc_proxy< X >::operator|= | ( | long | b | ) |
|
inline |
Definition at line 321 of file sc_proxy.h.
|
inline |
Definition at line 324 of file sc_proxy.h.
X& sc_dt::sc_proxy< X >::operator|= | ( | uint64 | b | ) |
X& sc_dt::sc_proxy< X >::operator|= | ( | int64 | b | ) |
|
inline |
Definition at line 330 of file sc_lv_base.h.
|
inline |
Definition at line 1301 of file sc_proxy.h.
|
inline |
Definition at line 519 of file sc_proxy.h.
|
inline |
Definition at line 440 of file sc_proxy.h.
|
inline |
Definition at line 443 of file sc_proxy.h.
|
inline |
Definition at line 1263 of file sc_proxy.h.
|
inline |
Definition at line 710 of file sc_lv_base.h.
|
inline |
Definition at line 1418 of file sc_proxy.h.
|
inlineprotected |
Definition at line 1503 of file sc_proxy.h.
|
inlineprotected |
Definition at line 1452 of file sc_proxy.h.
|
inline |
Definition at line 494 of file sc_proxy.h.
|
inline |
Definition at line 491 of file sc_proxy.h.
|
inline |
Definition at line 500 of file sc_proxy.h.
|
inline |
Definition at line 1385 of file sc_proxy.h.
|
inline |
Definition at line 1399 of file sc_proxy.h.
|
inline |
Definition at line 1407 of file sc_proxy.h.
|
inline |
Definition at line 497 of file sc_proxy.h.
|
inline |
Definition at line 1471 of file sc_proxy.h.
|
inline |
Definition at line 503 of file sc_proxy.h.
|
inline |
Definition at line 461 of file sc_proxy.h.
|
inline |
Definition at line 1315 of file sc_proxy.h.