sysc/kernel/sc_macros.h File Reference

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

Go to the source code of this file.

Namespaces

namespace  sc_dt
namespace  sc_core

Defines

#define SC_STRINGIFY_HELPER_(Arg)   SC_STRINGIFY_HELPER_DEFERRED_( Arg )
#define SC_STRINGIFY_HELPER_DEFERRED_(Arg)   SC_STRINGIFY_HELPER_MORE_DEFERRED_( Arg )
#define SC_STRINGIFY_HELPER_MORE_DEFERRED_(Arg)   #Arg
#define SC_CONCAT_HELPER_(a, b)   SC_CONCAT_HELPER_DEFERRED_( a, b )
#define SC_CONCAT_HELPER_DEFERRED_(a, b)   SC_CONCAT_HELPER_MORE_DEFERRED_( a,b )
#define SC_CONCAT_HELPER_MORE_DEFERRED_(a, b)   a ## b
#define SC_CONCAT_UNDERSCORE_(a, b)   SC_CONCAT_HELPER_( a, SC_CONCAT_HELPER_( _, b ) )
#define WAIT()
#define WAITN(n)
#define WAIT_UNTIL(expr)

Functions

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

Define Documentation

#define SC_CONCAT_HELPER_ ( a,
 )     SC_CONCAT_HELPER_DEFERRED_( a, b )

Definition at line 86 of file sc_macros.h.

#define SC_CONCAT_HELPER_DEFERRED_ ( a,
 )     SC_CONCAT_HELPER_MORE_DEFERRED_( a,b )

Definition at line 88 of file sc_macros.h.

#define SC_CONCAT_HELPER_MORE_DEFERRED_ ( a,
 )     a ## b

Definition at line 90 of file sc_macros.h.

#define SC_CONCAT_UNDERSCORE_ ( a,
 )     SC_CONCAT_HELPER_( a, SC_CONCAT_HELPER_( _, b ) )

Definition at line 92 of file sc_macros.h.

#define SC_STRINGIFY_HELPER_ ( Arg   )     SC_STRINGIFY_HELPER_DEFERRED_( Arg )

Definition at line 76 of file sc_macros.h.

#define SC_STRINGIFY_HELPER_DEFERRED_ ( Arg   )     SC_STRINGIFY_HELPER_MORE_DEFERRED_( Arg )

Definition at line 78 of file sc_macros.h.

#define SC_STRINGIFY_HELPER_MORE_DEFERRED_ ( Arg   )     #Arg

Definition at line 80 of file sc_macros.h.

 
#define WAIT (  ) 
Value:
::sc_core::sc_set_location( __FILE__, __LINE__ );                         \
    ::sc_core::wait()

Definition at line 100 of file sc_macros.h.

#define WAIT_UNTIL ( expr   ) 
Value:
::sc_core::sc_set_location( __FILE__, __LINE__ );                         \
    do { ::sc_core::wait(); } while( !(expr) )

Definition at line 108 of file sc_macros.h.

#define WAITN (  ) 
Value:
::sc_core::sc_set_location( __FILE__, __LINE__ );                         \
    ::sc_core::wait(n)

Definition at line 104 of file sc_macros.h.


Generated on 29 Oct 2015 for SystemC by  doxygen 1.6.1