50 #ifndef SC_FXCAST_SWITCH_H 51 #define SC_FXCAST_SWITCH_H 61 class sc_fxcast_switch;
89 void print( ::std::ostream& = ::std::cout )
const;
90 void dump( ::std::ostream& = ::std::cout )
const;
159 return ( a.m_sw == b.m_sw );
167 return ( a.m_sw != b.m_sw );
friend bool operator==(const sc_fxcast_switch &, const sc_fxcast_switch &)
sc_fxcast_switch & operator=(const sc_fxcast_switch &)
bool operator==(const sc_bit &a, const sc_bit &b)
sc_switch
Enumeration of switch states.
void print(::std::ostream &=::std::cout) const
Empty class that is used for its type only.
static const T & default_value()
Fixed-point cast switch class.
Template context class; co-routine safe.
uint64 const sc_uint_base int b
bool operator!=(const sc_bit &a, const sc_bit &b)
Template global variable class; singleton; co-routine safe.
SC_API const std::string to_string(sc_enc)
const sc_switch SC_DEFAULT_CAST_SWITCH_
friend bool operator!=(const sc_fxcast_switch &, const sc_fxcast_switch &)
sc_context< sc_fxcast_switch > sc_fxcast_context
#define SC_API_TEMPLATE_DECL_
inline ::std::ostream & operator<<(::std::ostream &os, const sc_bit &a)