98 void dump( ::std::ostream& )
const;
117 : m_type_params( type_params_ ),
119 m_cast_switch( cast_sw )
124 "SC_WRAP_SM not defined for unsigned numbers" );
136 return m_type_params;
150 return m_cast_switch;
160 return m_type_params.
wl();
167 return m_type_params.
iwl();
174 return ( m_type_params.
wl() - m_type_params.
iwl() );
181 return m_type_params.
q_mode();
188 return m_type_params.
o_mode();
195 return m_type_params.
n_bits();
205 os <<
"scfx_params" << ::std::endl;
206 os <<
"(" << ::std::endl;
207 os <<
"type_params = ";
208 m_type_params.
dump( os );
209 os <<
"enc = " << m_enc << ::std::endl;
210 os <<
"cast_switch = ";
211 m_cast_switch.
dump( os );
212 os <<
")" << ::std::endl;
#define SC_REPORT_ERROR(msg_type, msg)
void dump(::std::ostream &=::std::cout) const
void dump(::std::ostream &=::std::cout) const
scfx_params(const sc_fxtype_params &, sc_enc, const sc_fxcast_switch &)
const sc_fxcast_switch & cast_switch() const
const sc_fxtype_params & type_params() const
void dump(::std::ostream &) const