Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

sc_macros.h File Reference

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Defines

#define W_BEGIN
#define W_DO
#define W_ESCAPE
#define W_END
#define WAIT()
#define WAITN(n)
#define WAIT_UNTIL(lambda)

Functions

template<class T> const T sc_min (const T &a, const T &b)
template<class T> const T sc_max (const T &a, const T &b)
template<class T> const T sc_abs (const T &a)


Define Documentation

#define W_BEGIN
 

Value:

do {                                                                      \
        sc_watch __aux_watch( sc_get_curr_simcontext() );

Definition at line 99 of file sc_macros.h.

#define W_DO
 

Value:

try {                                                                 \
            __watching_first( __aux_watch.cthread_h );

Definition at line 103 of file sc_macros.h.

#define W_END
 

Value:

}                                                                     \
    } while( false );

Definition at line 115 of file sc_macros.h.

#define W_ESCAPE
 

Value:

}                                                                     \
        catch( int sc_level ) {                                               \
            __sanitycheck_watchlists( __aux_watch.cthread_h );                \
            if( sc_level < __watch_level( __aux_watch.cthread_h ) ) {         \
                throw sc_level;                                               \
            }

Definition at line 107 of file sc_macros.h.

 
#define WAIT  
 

Value:

sc_set_location( __FILE__, __LINE__ );                                    \
    wait()

Definition at line 125 of file sc_macros.h.

#define WAIT_UNTIL lambda   
 

Value:

sc_set_location( __FILE__, __LINE__ );                                    \
    wait_until( lambda )

Definition at line 133 of file sc_macros.h.

#define WAITN  
 

Value:

sc_set_location( __FILE__, __LINE__ );                                    \
    wait(n)

Definition at line 129 of file sc_macros.h.


Function Documentation

template<class T>
const T sc_abs const T &    a [inline]
 

Definition at line 59 of file sc_macros.h.

template<class T>
const T sc_max const T &    a,
const T &    b
[inline]
 

Definition at line 51 of file sc_macros.h.

Referenced by sc_dt::align(), sc_dt::div_on_help_signed(), sc_dt::div_on_help_unsigned(), sc_dt::div_scfx_rep(), sc_dt::scfx_rep::from_string(), sc_dt::sc_subref_r< X >::get_cword(), sc_dt::sc_subref_r< X >::get_word(), sc_dt::mod_on_help_signed(), sc_dt::mod_on_help_unsigned(), sc_dt::multiply(), sc_dt::sc_subref_r< X >::set_cword(), sc_dt::sc_subref_r< X >::set_word(), and sc_dt::vec_reverse().

template<class T>
const T sc_min const T &    a,
const T &    b
[inline]
 

Definition at line 43 of file sc_macros.h.

Referenced by sc_dt::align(), sc_dt::sc_proxy< X >::assign_(), sc_dt::assign_p_(), sc_dt::compare_msw_ff(), sc_dt::sc_subref_r< X >::get_cword(), sc_dt::sc_subref_r< X >::get_word(), sc_dt::mod_on_help_signed(), sc_dt::mod_on_help_unsigned(), sc_dt::sc_unsigned::operator=(), sc_dt::sc_uint_base::operator=(), sc_dt::sc_signed::operator=(), sc_dt::sc_subref< X >::operator=(), sc_dt::sc_int_base::operator=(), sc_dt::scfx_mant::resize_to(), sc_dt::sc_subref_r< X >::set_cword(), sc_dt::sc_subref_r< X >::set_word(), sc_dt::vec_reverse(), sc_dt::vec_shift_left(), sc_dt::vec_shift_right(), and sc_dt::vec_sub_on2().


Generated on Fri Jan 14 08:29:55 2005 for SystemC2.1beta11(excludingMSLib)(IncludingSCV)\nProvidedby:www.openverificationfoundation.org by doxygen1.2.18