Lines Matching defs:value

59 //  Proxy class for sc_proxy bit selection (r-value only, boolean conversion).
88 // Proxy class for sc_proxy bit selection (r-value only).
121 return bit_type(sc_logic::not_table[value()]);
128 value_type value() const { return m_obj.get_bit(m_index); }
129 bool is_01() const { return sc_logic(value()).is_01(); }
130 bool to_bool() const { return sc_logic(value()).to_bool(); }
131 char to_char() const { return sc_logic(value()).to_char(); }
180 // r-value concatenation operators and functions
378 // Proxy class for sc_proxy bit selection (r-value and l-value).
406 this->m_obj.set_bit(this->m_index, a.value());
545 void set_bit(int n, value_type value);
561 // l-value concatenation operators and functions
603 // Proxy class for sc_proxy part selection (r-value only).
633 void set_bit(int n, value_type value);
660 // r-value concatenation operators and functions
857 // Proxy class for sc_proxy part selection (r-value and l-value).
988 // l-value concatenation operators and functions
1030 // Proxy class for sc_proxy concatenation (r-value only).
1063 void set_bit(int n, value_type value);
1089 // r-value concatenation operators and functions
1290 // Proxy class for sc_proxy concatenation (r-value and l-value).
1427 // l-value concatenation operators and functions
1474 // r-value concatenation operators and functions
1651 // l-value concatenation operators and functions
1687 // Proxy class for sc_proxy bit selection (r-value only).
1697 return sc_logic(sc_logic::and_table[a.value()][b.value()]);
1705 return sc_logic(sc_logic::or_table[a.value()][b.value()]);
1713 return sc_logic(sc_logic::xor_table[a.value()][b.value()]);
1721 return ((int)a.value() == b.value());
1728 return ((int)a.value() != b.value());
1768 // r-value concatenation operators and functions
1967 // Proxy class for sc_proxy bit selection (r-value and l-value).
1975 this->m_obj.set_bit(this->m_index, a.value());
1984 this->m_obj.set_bit(this->m_index, a.value());
1997 this->m_index, sc_logic::and_table[this->value()][a.value()]);
2007 this->m_index, sc_logic::and_table[this->value()][a.value()]);
2018 this->m_index, sc_logic::or_table[this->value()][a.value()]);
2028 this->m_index, sc_logic::or_table[this->value()][a.value()]);
2039 this->m_index, sc_logic::xor_table[this->value()][a.value()]);
2049 this->m_index, sc_logic::xor_table[this->value()][a.value()]);
2060 this->m_obj.set_bit(this->m_index, sc_logic::not_table[this->value()]);
2067 sc_bitref<X>::set_bit(int n, value_type value)
2070 this->m_obj.set_bit(this->m_index, value);
2118 // l-value concatenation operators and functions
2194 // Proxy class for sc_proxy part selection (r-value only).
2227 sc_subref_r<X>::set_bit(int n, value_type value)
2230 m_obj.set_bit(m_lo - n, value);
2232 m_obj.set_bit(m_lo + n, value);
2248 result |= (m_obj[n].value() & SC_DIGIT_ONE) << k++;
2254 result |= (m_obj[n].value() & SC_DIGIT_ONE) << k++;
2273 (m_obj[n].value() & SC_DIGIT_TWO)));
2281 (m_obj[n].value() & SC_DIGIT_TWO)));
2299 result |= ((m_obj[n].value() & SC_DIGIT_TWO) >> 1) << k++;
2305 result |= ((m_obj[n].value() & SC_DIGIT_TWO) >> 1) << k++;
2324 (m_obj[n].value() & SC_DIGIT_ONE)));
2332 (m_obj[n].value() & SC_DIGIT_ONE)));
2351 // r-value concatenation operators and functions
2547 // Proxy class for sc_proxy part selection (r-value and l-value).
2564 // l-value concatenation operators and functions
2640 // Proxy class for sc_proxy concatenation (r-value only).
2837 // r-value concatenation operators and functions
3038 // Proxy class for sc_proxy concatenation (r-value and l-value).
3051 // l-value concatenation operators and functions
3133 // r-value concatenation operators and functions
3315 // l-value concatenation operators and functions