Go to the documentation of this file.
61 template class sc_proxy<sc_lv_base>;
62 template class sc_proxy<sc_bv_base>;
106 for (
int i = 0;
i < sz; ++
i) {
118 int s_len =
s.length() - 1;
121 for (;
i < min_len; ++
i) {
122 char c =
s[s_len -
i - 1];
128 for (;
i <
len; ++
i) {
135 m_len(0), m_size(0), m_data(0), m_ctrl(0)
138 init(
s.length() - 1);
143 m_len(0), m_size(0), m_data(0), m_ctrl(0)
151 m_data(new
sc_digit[m_size * 2]), m_ctrl(m_data + m_size)
155 for (
int i = 0;
i < sz; ++
i) {
174 for (
int i = 0;
i < sz; ++
i) {
void assign_from_string(const std::string &)
const sc_digit SC_DIGIT_ZERO
const char SC_ID_ZERO_LENGTH_[]
void init(int length_, const sc_logic &init_value=SC_LOGIC_X)
sc_lv_base & operator=(const sc_proxy< X > &a)
sc_lv_base(int length_=sc_length_param().len())
static const sc_logic_value_t char_to_logic[128]
#define SC_REPORT_ERROR(msg_type, msg)
const T sc_min(const T &a, const T &b)
void set_bit(int i, value_type value)
static const sc_digit ctrl_array[]
const std::string convert_to_bin(const char *s)
const char SC_ID_OUT_OF_BOUNDS_[]
static const sc_digit data_array[]
void sc_proxy_out_of_bounds(const char *msg, int64 val)
Generated on Wed Sep 30 2020 14:02:14 for gem5 by doxygen 1.8.17