61template class sc_proxy<sc_lv_base>;
62template 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) {
static const sc_logic_value_t char_to_logic[128]
sc_logic_value_t value() const
void set_bit(int i, value_type value)
sc_lv_base & operator=(const sc_proxy< X > &a)
sc_lv_base(int length_=sc_length_param().len())
void assign_from_string(const std::string &)
void init(int length_, const sc_logic &init_value=SC_LOGIC_X)
const char SC_ID_ZERO_LENGTH_[]
const char SC_ID_OUT_OF_BOUNDS_[]
const sc_digit SC_DIGIT_ZERO
const T sc_min(const T &a, const T &b)
static const sc_digit data_array[]
static const sc_digit ctrl_array[]
const std::string convert_to_bin(const char *s)
void sc_proxy_out_of_bounds(const char *msg, int64 val)
#define SC_REPORT_ERROR(msg_type, msg)