gem5 v24.0.0.0
|
#include <sc_bit_proxies.hh>
Public Types | |
typedef T::traits_type | traits_type |
typedef traits_type::bit_type | bit_type |
typedef traits_type::value_type | value_type |
Public Member Functions | |
sc_bitref_r (const T &obj_, int index_) | |
sc_bitref_r (const sc_bitref_r< T > &a) | |
sc_bitref_r< T > * | clone () const |
bit_type | operator~ () const |
operator bit_type () const | |
value_type | value () const |
bool | is_01 () const |
bool | to_bool () const |
char | to_char () const |
int | length () const |
int | size () const |
value_type | get_bit (int n) const |
sc_digit | get_word (int i) const |
sc_digit | get_cword (int i) const |
void | print (::std::ostream &os=::std::cout) const |
Protected Attributes | |
T & | m_obj |
int | m_index |
Private Member Functions | |
sc_bitref_r () | |
sc_bitref_r< T > & | operator= (const sc_bitref_r< T > &) |
Friends | |
class | sc_bv_base |
class | sc_lv_base |
Definition at line 86 of file sc_proxy.hh.
typedef traits_type::bit_type sc_dt::sc_bitref_r< X >::bit_type |
Definition at line 100 of file sc_bit_proxies.hh.
typedef T::traits_type sc_dt::sc_bitref_r< X >::traits_type |
Definition at line 99 of file sc_bit_proxies.hh.
typedef traits_type::value_type sc_dt::sc_bitref_r< X >::value_type |
Definition at line 101 of file sc_bit_proxies.hh.
|
inline |
Definition at line 104 of file sc_bit_proxies.hh.
|
inline |
Definition at line 109 of file sc_bit_proxies.hh.
|
private |
Referenced by sc_dt::sc_bitref_r< X >::clone().
|
inline |
Definition at line 113 of file sc_bit_proxies.hh.
References sc_dt::sc_bitref_r< X >::sc_bitref_r().
|
inline |
Definition at line 1734 of file sc_bit_proxies.hh.
References sc_dt::Log_0, sc_core::SC_ID_OUT_OF_BOUNDS_, and SC_REPORT_ERROR.
|
inline |
Definition at line 1758 of file sc_bit_proxies.hh.
References sc_dt::SC_DIGIT_TWO, sc_core::SC_ID_OUT_OF_BOUNDS_, and SC_REPORT_ERROR.
|
inline |
Definition at line 1746 of file sc_bit_proxies.hh.
References sc_dt::SC_DIGIT_ONE, sc_core::SC_ID_OUT_OF_BOUNDS_, and SC_REPORT_ERROR.
|
inline |
Definition at line 129 of file sc_bit_proxies.hh.
References sc_dt::sc_logic::is_01(), and sc_dt::sc_bitref_r< X >::value().
|
inline |
Definition at line 134 of file sc_bit_proxies.hh.
Referenced by sc_dt::sc_bitref_r< X >::size().
|
inline |
Definition at line 125 of file sc_bit_proxies.hh.
References sc_dt::sc_bitref_r< X >::m_index, and sc_dt::sc_bitref_r< X >::m_obj.
|
private |
|
inline |
Definition at line 119 of file sc_bit_proxies.hh.
References sc_dt::sc_logic::not_table, and sc_dt::sc_bitref_r< X >::value().
|
inline |
Definition at line 143 of file sc_bit_proxies.hh.
References sc_dt::sc_bitref_r< X >::to_char().
|
inline |
Definition at line 135 of file sc_bit_proxies.hh.
References sc_dt::sc_bitref_r< X >::length(), and sc_dt::SC_DIGIT_SIZE.
|
inline |
Definition at line 130 of file sc_bit_proxies.hh.
References sc_dt::sc_logic::to_bool(), and sc_dt::sc_bitref_r< X >::value().
Referenced by sc_dt::sc_bitref_conv_r< T, sc_proxy_traits< sc_bv_base > >::operator!().
|
inline |
Definition at line 131 of file sc_bit_proxies.hh.
References sc_dt::sc_logic::to_char(), and sc_dt::sc_bitref_r< X >::value().
Referenced by sc_dt::sc_bitref_r< X >::print().
|
inline |
Definition at line 128 of file sc_bit_proxies.hh.
References sc_dt::sc_bitref_r< X >::m_index, and sc_dt::sc_bitref_r< X >::m_obj.
Referenced by sc_dt::sc_bitref_r< X >::is_01(), sc_dt::sc_bitref_r< X >::operator~(), sc_dt::sc_bitref_r< X >::to_bool(), and sc_dt::sc_bitref_r< X >::to_char().
|
friend |
Definition at line 94 of file sc_bit_proxies.hh.
|
friend |
Definition at line 95 of file sc_bit_proxies.hh.
|
protected |
Definition at line 147 of file sc_bit_proxies.hh.
Referenced by sc_dt::sc_bitref_r< X >::operator bit_type(), sc_dt::sc_bitref< X >::operator=(), and sc_dt::sc_bitref_r< X >::value().
|
protected |
Definition at line 146 of file sc_bit_proxies.hh.
Referenced by sc_dt::sc_bitref< X >::clean_tail(), sc_dt::sc_bitref_r< X >::operator bit_type(), sc_dt::sc_bitref< X >::operator=(), and sc_dt::sc_bitref_r< X >::value().