SystemC  Recoding Infrastructure for SystemC v0.6.2 derived from Accellera SystemC 2.3.1
Accellera SystemC proof-of-concept library
Namespaces | Macros | Functions
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

 sc_dt
 
 sc_core
 

Macros

#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)
 

Macro Definition 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__ ); \
void wait(int, sc_simcontext *)
void sc_set_location(const char *, int, sc_simcontext *=sc_get_curr_simcontext())

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) )
void wait(int, sc_simcontext *)
void sc_set_location(const char *, int, sc_simcontext *=sc_get_curr_simcontext())

Definition at line 108 of file sc_macros.h.

#define WAITN (   n)
Value:
::sc_core::sc_set_location( __FILE__, __LINE__ ); \
void wait(int, sc_simcontext *)
void sc_set_location(const char *, int, sc_simcontext *=sc_get_curr_simcontext())

Definition at line 104 of file sc_macros.h.