Searched refs:to_value (Results 1 - 4 of 4) sorted by relevance

/gem5/ext/systemc/src/sysc/datatypes/bit/
H A Dsc_logic.h111 static sc_logic_value_t to_value( sc_logic_value_t v ) function in class:sc_dt::sc_logic
119 static sc_logic_value_t to_value( bool b ) function in class:sc_dt::sc_logic
122 static sc_logic_value_t to_value( char c ) function in class:sc_dt::sc_logic
141 static sc_logic_value_t to_value( int i ) function in class:sc_dt::sc_logic
175 : m_val( to_value( v ) )
179 : m_val( to_value( a ) )
183 : m_val( to_value( a ) )
187 : m_val( to_value( a ) )
191 : m_val( to_value( a.to_bool() ) )
H A Dsc_bit.h95 static bool to_value( char c ) function in class:sc_dt::sc_bit
103 static bool to_value( int i ) function in class:sc_dt::sc_bit
110 static bool to_value( bool b ) function in class:sc_dt::sc_bit
114 static bool to_value( tp i ) \
115 { return to_value( (int) i); }
138 : m_val( to_value(a) ) \
/gem5/src/systemc/ext/dt/bit/
H A Dsc_logic.hh107 to_value(sc_logic_value_t v) function in class:sc_dt::sc_logic
117 static sc_logic_value_t to_value(bool b) { return (b ? Log_1 : Log_0); } function in class:sc_dt::sc_logic
120 to_value(char c) function in class:sc_dt::sc_logic
132 to_value(int i) function in class:sc_dt::sc_logic
156 sc_logic(sc_logic_value_t v) : m_val(to_value(v)) {}
157 explicit sc_logic(bool a) : m_val(to_value(a)) {}
158 explicit sc_logic(char a) : m_val(to_value(a)) {}
159 explicit sc_logic(int a) : m_val(to_value(a)) {}
160 explicit sc_logic(const sc_bit &a) : m_val(to_value(a.to_bool())) {}
H A Dsc_bit.hh95 to_value(char c) function in class:sc_dt::sc_bit
104 to_value(int i) function in class:sc_dt::sc_bit
111 static bool to_value(bool b) { return b; } function in class:sc_dt::sc_bit
114 static bool to_value(tp i) { return to_value((int)i); }
130 explicit sc_bit(tp a) : m_val(to_value(a)) { sc_deprecated_sc_bit(); }

Completed in 5 milliseconds