48 #ifndef SC_FXTYPE_PARAMS_H
49 #define SC_FXTYPE_PARAMS_H
59 class sc_fxtype_params;
107 void print( ::std::ostream& = ::std::cout )
const;
108 void dump( ::std::ostream& = ::std::cout )
const;
133 : m_wl(), m_iwl(), m_q_mode(), m_o_mode(), m_n_bits()
140 : m_wl(), m_iwl(), m_q_mode(), m_o_mode(), m_n_bits()
152 : m_wl(), m_iwl(), m_q_mode(), m_o_mode(), m_n_bits()
166 : m_wl(), m_iwl(), m_q_mode(), m_o_mode(), m_n_bits()
179 : m_wl( a.m_wl ), m_iwl( a.m_iwl ),
180 m_q_mode( a.m_q_mode ),
181 m_o_mode( a.m_o_mode ), m_n_bits( a.m_n_bits )
187 : m_wl( wl_ ), m_iwl( iwl_ ),
188 m_q_mode( a.m_q_mode ),
189 m_o_mode( a.m_o_mode ), m_n_bits( a.m_n_bits )
196 : m_wl( a.m_wl ), m_iwl( a.m_iwl ),
198 m_o_mode( o_mode_ ), m_n_bits( n_bits_ )
219 m_q_mode = a.m_q_mode;
220 m_o_mode = a.m_o_mode;
221 m_n_bits = a.m_n_bits;
231 return ( a.m_wl == b.m_wl &&
232 a.m_iwl == b.m_iwl &&
233 a.m_q_mode == b.m_q_mode &&
234 a.m_o_mode == b.m_o_mode &&
235 a.m_n_bits == b.m_n_bits );
242 return ( a.m_wl != b.m_wl ||
243 a.m_iwl != b.m_iwl ||
244 a.m_q_mode != b.m_q_mode ||
245 a.m_o_mode != b.m_o_mode ||
246 a.m_n_bits != b.m_n_bits );
sc_context< sc_fxtype_params > sc_fxtype_context
#define SC_CHECK_N_BITS_(n_bits)
const std::string to_string() const
static const T & default_value()
uint64 const sc_uint_base int b
bool operator!=(const sc_bit &a, const sc_bit &b)
bool operator==(const sc_bit &a, const sc_bit &b)
const int SC_DEFAULT_IWL_
void dump(::std::ostream &=::std::cout) const
sc_fxtype_params & operator=(const sc_fxtype_params &)
const int SC_DEFAULT_N_BITS_
void print(::std::ostream &=::std::cout) const
inline::std::ostream & operator<<(::std::ostream &os, const sc_bit &a)
friend bool operator==(const sc_fxtype_params &, const sc_fxtype_params &)
const sc_q_mode SC_DEFAULT_Q_MODE_
const sc_o_mode SC_DEFAULT_O_MODE_
friend bool operator!=(const sc_fxtype_params &, const sc_fxtype_params &)