224 #if defined( SC_FXDIV_WL ) && ( SC_FXDIV_WL > 0 )
230 #if defined( SC_FXCTE_WL ) && ( SC_FXCTE_WL > 0 )
236 #if defined( SC_FXMAX_WL ) && ( SC_FXMAX_WL > 0 || SC_FXMAX_WL == -1 )
248 #define SC_ASSERT_(cnd,msg) \
251 SC_REPORT_ERROR( sc_core::SC_ID_INTERNAL_ERROR_, msg ); \
254 #define SC_ASSERT_(cnd,msg)
257 #define SC_ERROR_IF_(cnd,id) \
260 SC_REPORT_ERROR( id, 0 ); \
264 #define SC_CHECK_WL_(wl) \
265 SC_ERROR_IF_( (wl) <= 0, sc_core::SC_ID_INVALID_WL_ )
267 #define SC_CHECK_N_BITS_(n_bits) \
268 SC_ERROR_IF_( (n_bits) < 0, sc_core::SC_ID_INVALID_N_BITS_ )
270 #define SC_CHECK_DIV_WL_(div_wl) \
271 SC_ERROR_IF_( (div_wl) <= 0, sc_core::SC_ID_INVALID_DIV_WL_ )
273 #define SC_CHECK_CTE_WL_(cte_wl) \
274 SC_ERROR_IF_( (cte_wl) <= 0, sc_core::SC_ID_INVALID_CTE_WL_ )
276 #define SC_CHECK_MAX_WL_(max_wl) \
277 SC_ERROR_IF_( (max_wl) <= 0 && (max_wl) != -1, \
278 sc_core::SC_ID_INVALID_MAX_WL_ )
285 #define SC_OBSERVER_(object,observer_type,event) \
287 if( (object).observer() != 0 ) \
289 observer_type observer = (object).lock_observer(); \
290 observer->event( (object) ); \
291 (object).unlock_observer( observer ); \
295 #define SC_OBSERVER_DEFAULT_(observer_type) \
297 if( m_observer == 0 && observer_type ## ::default_observer != 0 ) \
298 m_observer = (* ## observer_type ## ::default_observer)(); \
const int SC_BUILTIN_MAX_WL_
const sc_switch SC_DEFAULT_CAST_SWITCH_
const int SC_BUILTIN_DIV_WL_
const int SC_DEFAULT_IWL_
const sc_q_mode SC_BUILTIN_Q_MODE_
const int SC_BUILTIN_IWL_
const int SC_DEFAULT_MAX_WL_
const sc_o_mode SC_BUILTIN_O_MODE_
const int SC_DEFAULT_N_BITS_
inline::std::ostream & operator<<(::std::ostream &os, const sc_bit &a)
const int SC_BUILTIN_CTE_WL_
const int SC_DEFAULT_DIV_WL_
const sc_q_mode SC_DEFAULT_Q_MODE_
const sc_o_mode SC_DEFAULT_O_MODE_
const std::string to_string(sc_enc)
const int SC_DEFAULT_CTE_WL_
const int SC_BUILTIN_N_BITS_
const sc_switch SC_BUILTIN_CAST_SWITCH_