SystemC
2.3.2
Accellera SystemC proof-of-concept library
|
Miscellaneous definitions that are needed by the headers. More...
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 | SC_WAIT() |
#define | SC_WAITN(n) |
#define | SC_WAIT_UNTIL(expr) do { SC_WAIT(); } while( !(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) |
Miscellaneous definitions that are needed by the headers.
Original Author: Stan Y. Liao, Synopsys, Inc.
CHANGE LOG AT THE END OF THE FILE
Definition in file sc_macros.h.
#define SC_CONCAT_HELPER_ | ( | a, | |
b | |||
) | SC_CONCAT_HELPER_DEFERRED_( a, b ) |
Definition at line 95 of file sc_macros.h.
#define SC_CONCAT_HELPER_DEFERRED_ | ( | a, | |
b | |||
) | SC_CONCAT_HELPER_MORE_DEFERRED_( a,b ) |
Definition at line 98 of file sc_macros.h.
#define SC_CONCAT_HELPER_MORE_DEFERRED_ | ( | a, | |
b | |||
) | a ## b |
Definition at line 101 of file sc_macros.h.
#define SC_CONCAT_UNDERSCORE_ | ( | a, | |
b | |||
) | SC_CONCAT_HELPER_( a, SC_CONCAT_HELPER_( _, b ) ) |
Definition at line 104 of file sc_macros.h.
#define SC_STRINGIFY_HELPER_ | ( | Arg | ) | SC_STRINGIFY_HELPER_DEFERRED_( Arg ) |
Definition at line 83 of file sc_macros.h.
#define SC_STRINGIFY_HELPER_DEFERRED_ | ( | Arg | ) | SC_STRINGIFY_HELPER_MORE_DEFERRED_( Arg ) |
Definition at line 86 of file sc_macros.h.
#define SC_STRINGIFY_HELPER_MORE_DEFERRED_ | ( | Arg | ) | #Arg |
Definition at line 89 of file sc_macros.h.
#define SC_WAIT | ( | ) |
Definition at line 113 of file sc_macros.h.
#define SC_WAIT_UNTIL | ( | expr | ) | do { SC_WAIT(); } while( !(expr) ) |
Definition at line 125 of file sc_macros.h.
#define SC_WAITN | ( | n | ) |
Definition at line 119 of file sc_macros.h.