gem5 v24.0.0.0
|
#include <sc_lv_base.hh>
Public Types | |
typedef sc_proxy< sc_lv_base > | base_type |
typedef base_type::value_type | value_type |
Public Types inherited from sc_dt::sc_proxy< sc_lv_base > | |
typedef sc_proxy_traits< sc_lv_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 |
sc_digit * | m_ctrl |
Private Member Functions | |
void | init (int length_, const sc_logic &init_value=SC_LOGIC_X) |
void | assign_from_string (const std::string &) |
Friends | |
class | sc_bv_base |
Additional Inherited Members | |
Protected Member Functions inherited from sc_dt::sc_proxy< sc_lv_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 84 of file sc_lv_base.hh.
Definition at line 93 of file sc_lv_base.hh.
Definition at line 94 of file sc_lv_base.hh.
|
inlineexplicit |
Definition at line 97 of file sc_lv_base.hh.
References init().
|
inlineexplicit |
Definition at line 103 of file sc_lv_base.hh.
sc_dt::sc_lv_base::sc_lv_base | ( | const char * | a | ) |
Definition at line 134 of file sc_lv_base.cc.
References a, assign_from_string(), sc_dt::convert_to_bin(), and init().
sc_dt::sc_lv_base::sc_lv_base | ( | const char * | a, |
int | length_ ) |
Definition at line 142 of file sc_lv_base.cc.
References a, assign_from_string(), sc_dt::convert_to_bin(), and init().
|
inline |
Definition at line 114 of file sc_lv_base.hh.
References a, sc_dt::sc_proxy< sc_lv_base >::assign_(), and init().
sc_dt::sc_lv_base::sc_lv_base | ( | const sc_lv_base & | a | ) |
|
inlinevirtual |
Definition at line 124 of file sc_lv_base.hh.
References m_data.
|
private |
Definition at line 114 of file sc_lv_base.cc.
References c, sc_dt::sc_logic::char_to_logic, len, m_len, sc_dt::sc_min(), and set_bit().
Referenced by operator=(), sc_lv_base(), and sc_lv_base().
|
inline |
Definition at line 292 of file sc_lv_base.hh.
References m_ctrl, m_data, m_len, m_size, and sc_dt::SC_DIGIT_SIZE.
Referenced by init().
|
inline |
Definition at line 271 of file sc_lv_base.hh.
References m_ctrl, m_data, sc_dt::SC_DIGIT_ONE, sc_dt::SC_DIGIT_SIZE, and sc_dt::SC_DIGIT_TWO.
|
inline |
Definition at line 248 of file sc_lv_base.hh.
References m_ctrl.
|
inline |
Definition at line 235 of file sc_lv_base.hh.
References m_data.
|
private |
Definition at line 90 of file sc_lv_base.cc.
References clean_tail(), sc_dt::ctrl_array, sc_dt::data_array, m_ctrl, m_data, m_len, m_size, sc_core::sc_abort(), sc_dt::SC_DIGIT_SIZE, sc_core::SC_ID_ZERO_LENGTH_, SC_REPORT_ERROR, and sc_dt::sc_logic::value().
Referenced by sc_lv_base(), sc_lv_base(), sc_lv_base(), sc_lv_base(), and sc_lv_base().
bool sc_dt::sc_lv_base::is_01 | ( | ) | const |
Definition at line 171 of file sc_lv_base.cc.
|
inline |
Definition at line 229 of file sc_lv_base.hh.
References m_len.
Referenced by sc_core::sc_int_sigref::concat_set(), sc_core::sc_signal< sc_dt::sc_bigint< W > >::concat_set(), sc_core::sc_signal< sc_dt::sc_biguint< W > >::concat_set(), sc_core::sc_signal< sc_dt::sc_int< W > >::concat_set(), sc_core::sc_signal< sc_dt::sc_uint< W > >::concat_set(), sc_core::sc_signed_sigref::concat_set(), sc_core::sc_uint_sigref::concat_set(), and sc_core::sc_unsigned_sigref::concat_set().
|
inline |
Definition at line 145 of file sc_lv_base.hh.
References a, and sc_dt::sc_proxy< sc_lv_base >::assign_().
sc_lv_base & sc_dt::sc_lv_base::operator= | ( | const char * | a | ) |
Definition at line 163 of file sc_lv_base.cc.
References a, assign_from_string(), and sc_dt::convert_to_bin().
|
inline |
Definition at line 180 of file sc_lv_base.hh.
References a, and sc_dt::sc_proxy< sc_lv_base >::assign_().
|
inline |
Definition at line 152 of file sc_lv_base.hh.
References a, and sc_dt::sc_proxy< sc_lv_base >::assign_().
|
inline |
Definition at line 136 of file sc_lv_base.hh.
References a, and sc_dt::assign_p_().
|
inline |
Definition at line 129 of file sc_lv_base.hh.
References a, and sc_dt::assign_p_().
Referenced by sc_dt::sc_lv< W >::operator=(), sc_dt::sc_lv< W >::operator=(), sc_dt::sc_lv< W >::operator=(), sc_dt::sc_lv< W >::operator=(), sc_dt::sc_lv< W >::operator=(), sc_dt::sc_lv< W >::operator=(), sc_dt::sc_lv< W >::operator=(), sc_dt::sc_lv< W >::operator=(), sc_dt::sc_lv< W >::operator=(), sc_dt::sc_lv< W >::operator=(), sc_dt::sc_lv< W >::operator=(), sc_dt::sc_lv< W >::operator=(), sc_dt::sc_lv< W >::operator=(), sc_dt::sc_lv< W >::operator=(), sc_dt::sc_lv< W >::operator=(), sc_dt::sc_lv< W >::sc_lv(), sc_dt::sc_lv< W >::sc_lv(), sc_dt::sc_lv< W >::sc_lv(), sc_dt::sc_lv< W >::sc_lv(), sc_dt::sc_lv< W >::sc_lv(), sc_dt::sc_lv< W >::sc_lv(), sc_dt::sc_lv< W >::sc_lv(), sc_dt::sc_lv< W >::sc_lv(), sc_dt::sc_lv< W >::sc_lv(), sc_dt::sc_lv< W >::sc_lv(), sc_dt::sc_lv< W >::sc_lv(), sc_dt::sc_lv< W >::sc_lv(), sc_dt::sc_lv< W >::sc_lv(), and sc_dt::sc_lv< W >::sc_lv().
|
inline |
Definition at line 166 of file sc_lv_base.hh.
References a, and sc_dt::sc_proxy< sc_lv_base >::assign_().
|
inline |
Definition at line 173 of file sc_lv_base.hh.
References a, and sc_dt::sc_proxy< sc_lv_base >::assign_().
|
inline |
Definition at line 159 of file sc_lv_base.hh.
References a, and sc_dt::sc_proxy< sc_lv_base >::assign_().
|
inline |
Definition at line 208 of file sc_lv_base.hh.
References a, and sc_dt::sc_proxy< sc_lv_base >::assign_().
|
inline |
Definition at line 222 of file sc_lv_base.hh.
References a, and sc_dt::sc_proxy< sc_lv_base >::assign_().
|
inline |
Definition at line 194 of file sc_lv_base.hh.
References a, and sc_dt::sc_proxy< sc_lv_base >::assign_().
|
inline |
Definition at line 215 of file sc_lv_base.hh.
References a, and sc_dt::sc_proxy< sc_lv_base >::assign_().
|
inline |
Definition at line 201 of file sc_lv_base.hh.
References a, and sc_dt::sc_proxy< sc_lv_base >::assign_().
|
inline |
Definition at line 187 of file sc_lv_base.hh.
References a, and sc_dt::sc_proxy< sc_lv_base >::assign_().
|
inline |
Definition at line 280 of file sc_lv_base.hh.
References m_ctrl, m_data, sc_dt::SC_DIGIT_ONE, and sc_dt::SC_DIGIT_SIZE.
Referenced by assign_from_string().
|
inline |
Definition at line 251 of file sc_lv_base.hh.
|
inline |
Definition at line 242 of file sc_lv_base.hh.
|
inline |
Definition at line 230 of file sc_lv_base.hh.
References m_size.
|
friend |
Definition at line 86 of file sc_lv_base.hh.
|
protected |
Definition at line 265 of file sc_lv_base.hh.
Referenced by clean_tail(), get_bit(), get_cword(), init(), is_01(), sc_dt::sc_proxy< sc_bv_base >::operator~(), sc_lv_base(), and set_bit().
|
protected |
Definition at line 264 of file sc_lv_base.hh.
Referenced by clean_tail(), get_bit(), get_word(), init(), sc_lv_base(), set_bit(), set_word(), and ~sc_lv_base().
|
protected |
Definition at line 262 of file sc_lv_base.hh.
Referenced by assign_from_string(), clean_tail(), init(), and length().
|
protected |
Definition at line 263 of file sc_lv_base.hh.
Referenced by clean_tail(), init(), is_01(), sc_dt::sc_proxy< sc_bv_base >::operator~(), sc_lv_base(), set_word(), and size().