gem5 v24.0.0.0
|
#include <sc_bv_base.hh>
Public Types | |
typedef sc_proxy< sc_bv_base > | base_type |
typedef base_type::value_type | value_type |
Public Types inherited from sc_dt::sc_proxy< sc_bv_base > | |
typedef sc_proxy_traits< sc_bv_base >::traits_type | traits_type |
typedef traits_type::bit_type | bit_type |
typedef traits_type::value_type | value_type |
Protected Attributes | |
int | m_len |
int | m_size |
sc_digit * | m_data |
Private Member Functions | |
void | init (int length_, bool init_value=false) |
void | assign_from_string (const std::string &) |
Friends | |
class | sc_lv_base |
Additional Inherited Members | |
Protected Member Functions inherited from sc_dt::sc_proxy< sc_bv_base > | |
void | check_bounds (int n) const |
void | check_wbounds (int n) const |
sc_digit | to_anything_unsigned () const |
int64 | to_anything_signed () const |
Definition at line 74 of file sc_bv_base.hh.
Definition at line 83 of file sc_bv_base.hh.
Definition at line 84 of file sc_bv_base.hh.
|
inlineexplicit |
Definition at line 87 of file sc_bv_base.hh.
References init().
|
inlineexplicit |
Definition at line 93 of file sc_bv_base.hh.
sc_dt::sc_bv_base::sc_bv_base | ( | const char * | a | ) |
Definition at line 121 of file sc_bv_base.cc.
References a, assign_from_string(), sc_dt::convert_to_bin(), and init().
sc_dt::sc_bv_base::sc_bv_base | ( | const char * | a, |
int | length_ ) |
Definition at line 128 of file sc_bv_base.cc.
References a, assign_from_string(), sc_dt::convert_to_bin(), and init().
|
inline |
Definition at line 103 of file sc_bv_base.hh.
References a, sc_dt::sc_proxy< sc_bv_base >::assign_(), and init().
sc_dt::sc_bv_base::sc_bv_base | ( | const sc_bv_base & | a | ) |
Definition at line 135 of file sc_bv_base.cc.
|
inlinevirtual |
Definition at line 112 of file sc_bv_base.hh.
References m_data.
|
private |
Definition at line 95 of file sc_bv_base.cc.
References c, len, m_len, sc_core::SC_ID_CANNOT_CONVERT_, sc_dt::sc_min(), SC_REPORT_ERROR, and set_bit().
Referenced by operator=(), sc_bv_base(), and sc_bv_base().
|
inline |
Definition at line 273 of file sc_bv_base.hh.
References m_data, m_len, m_size, and sc_dt::SC_DIGIT_SIZE.
Referenced by init().
|
inline |
Definition at line 247 of file sc_bv_base.hh.
References m_data, sc_dt::SC_DIGIT_ONE, and sc_dt::SC_DIGIT_SIZE.
|
inline |
Definition at line 227 of file sc_bv_base.hh.
References sc_dt::SC_DIGIT_ZERO.
|
inline |
Definition at line 223 of file sc_bv_base.hh.
References m_data.
|
private |
Definition at line 74 of file sc_bv_base.cc.
References clean_tail(), m_data, m_len, m_size, sc_core::sc_abort(), sc_dt::SC_DIGIT_SIZE, sc_dt::SC_DIGIT_ZERO, sc_core::SC_ID_ZERO_LENGTH_, and SC_REPORT_ERROR.
Referenced by sc_bv_base(), sc_bv_base(), sc_bv_base(), sc_bv_base(), and sc_bv_base().
|
inline |
Definition at line 234 of file sc_bv_base.hh.
|
inline |
Definition at line 217 of file sc_bv_base.hh.
References m_len.
Referenced by sc_dt::sc_fxnum_fast::get_slice(), sc_dt::scfx_rep::get_slice(), sc_dt::sc_fxnum_fast_subref::length(), sc_dt::sc_fxnum_subref::length(), sc_dt::sc_fxnum_fast::set_slice(), and sc_dt::scfx_rep::set_slice().
|
inline |
Definition at line 133 of file sc_bv_base.hh.
References a, and sc_dt::sc_proxy< sc_bv_base >::assign_().
sc_bv_base & sc_dt::sc_bv_base::operator= | ( | const char * | a | ) |
Definition at line 148 of file sc_bv_base.cc.
References a, assign_from_string(), and sc_dt::convert_to_bin().
|
inline |
Definition at line 124 of file sc_bv_base.hh.
References a, and sc_dt::assign_p_().
|
inline |
Definition at line 168 of file sc_bv_base.hh.
References a, and sc_dt::sc_proxy< sc_bv_base >::assign_().
|
inline |
Definition at line 140 of file sc_bv_base.hh.
References a, and sc_dt::sc_proxy< sc_bv_base >::assign_().
|
inline |
Definition at line 117 of file sc_bv_base.hh.
References a, and sc_dt::assign_p_().
Referenced by sc_dt::sc_bv< W >::operator=(), sc_dt::sc_bv< W >::operator=(), sc_dt::sc_bv< W >::operator=(), sc_dt::sc_bv< W >::operator=(), sc_dt::sc_bv< W >::operator=(), sc_dt::sc_bv< W >::operator=(), sc_dt::sc_bv< W >::operator=(), sc_dt::sc_bv< W >::operator=(), sc_dt::sc_bv< W >::operator=(), sc_dt::sc_bv< W >::operator=(), sc_dt::sc_bv< W >::operator=(), sc_dt::sc_bv< W >::operator=(), sc_dt::sc_bv< W >::operator=(), sc_dt::sc_bv< W >::operator=(), sc_dt::sc_bv< W >::operator=(), sc_dt::sc_bv< W >::sc_bv(), sc_dt::sc_bv< W >::sc_bv(), sc_dt::sc_bv< W >::sc_bv(), sc_dt::sc_bv< W >::sc_bv(), sc_dt::sc_bv< W >::sc_bv(), sc_dt::sc_bv< W >::sc_bv(), sc_dt::sc_bv< W >::sc_bv(), sc_dt::sc_bv< W >::sc_bv(), sc_dt::sc_bv< W >::sc_bv(), sc_dt::sc_bv< W >::sc_bv(), sc_dt::sc_bv< W >::sc_bv(), sc_dt::sc_bv< W >::sc_bv(), sc_dt::sc_bv< W >::sc_bv(), and sc_dt::sc_bv< W >::sc_bv().
|
inline |
Definition at line 154 of file sc_bv_base.hh.
References a, and sc_dt::sc_proxy< sc_bv_base >::assign_().
|
inline |
Definition at line 161 of file sc_bv_base.hh.
References a, and sc_dt::sc_proxy< sc_bv_base >::assign_().
|
inline |
Definition at line 147 of file sc_bv_base.hh.
References a, and sc_dt::sc_proxy< sc_bv_base >::assign_().
|
inline |
Definition at line 196 of file sc_bv_base.hh.
References a, and sc_dt::sc_proxy< sc_bv_base >::assign_().
|
inline |
Definition at line 210 of file sc_bv_base.hh.
References a, and sc_dt::sc_proxy< sc_bv_base >::assign_().
|
inline |
Definition at line 182 of file sc_bv_base.hh.
References a, and sc_dt::sc_proxy< sc_bv_base >::assign_().
|
inline |
Definition at line 203 of file sc_bv_base.hh.
References a, and sc_dt::sc_proxy< sc_bv_base >::assign_().
|
inline |
Definition at line 189 of file sc_bv_base.hh.
References a, and sc_dt::sc_proxy< sc_bv_base >::assign_().
|
inline |
Definition at line 175 of file sc_bv_base.hh.
References a, and sc_dt::sc_proxy< sc_bv_base >::assign_().
|
inline |
Definition at line 255 of file sc_bv_base.hh.
References m_data, sc_dt::SC_DIGIT_ONE, and sc_dt::SC_DIGIT_SIZE.
Referenced by assign_from_string().
|
inline |
Definition at line 265 of file sc_bv_base.hh.
References sc_core::SC_ID_SC_BV_CANNOT_CONTAIN_X_AND_Z_, and SC_REPORT_WARNING.
|
inline |
Definition at line 225 of file sc_bv_base.hh.
References m_data.
|
inline |
Definition at line 218 of file sc_bv_base.hh.
References m_size.
|
friend |
Definition at line 76 of file sc_bv_base.hh.
|
protected |
Definition at line 239 of file sc_bv_base.hh.
Referenced by clean_tail(), get_bit(), get_word(), init(), sc_bv_base(), set_bit(), set_word(), and ~sc_bv_base().
|
protected |
Definition at line 237 of file sc_bv_base.hh.
Referenced by assign_from_string(), clean_tail(), init(), and length().
|
protected |
Definition at line 238 of file sc_bv_base.hh.
Referenced by clean_tail(), init(), sc_bv_base(), and size().