39 return ( ( a <= b ) ? a : b );
47 return ( ( a >= b ) ? a : b );
76 #define SC_STRINGIFY_HELPER_( Arg ) \
77 SC_STRINGIFY_HELPER_DEFERRED_( Arg )
78 #define SC_STRINGIFY_HELPER_DEFERRED_( Arg ) \
79 SC_STRINGIFY_HELPER_MORE_DEFERRED_( Arg )
80 #define SC_STRINGIFY_HELPER_MORE_DEFERRED_( Arg ) \
86 #define SC_CONCAT_HELPER_( a, b ) \
87 SC_CONCAT_HELPER_DEFERRED_( a, b )
88 #define SC_CONCAT_HELPER_DEFERRED_( a, b ) \
89 SC_CONCAT_HELPER_MORE_DEFERRED_( a,b )
90 #define SC_CONCAT_HELPER_MORE_DEFERRED_( a, b ) \
92 #define SC_CONCAT_UNDERSCORE_( a, b ) \
93 SC_CONCAT_HELPER_( a, SC_CONCAT_HELPER_( _, b ) )
101 ::sc_core::sc_set_location( __FILE__, __LINE__ ); \
105 ::sc_core::sc_set_location( __FILE__, __LINE__ ); \
108 #define WAIT_UNTIL(expr) \
109 ::sc_core::sc_set_location( __FILE__, __LINE__ ); \
110 do { ::sc_core::wait(); } while( !(expr) )
uint64 const sc_uint_base int b
const T sc_min(const T &a, const T &b)
const T sc_abs(const T &a)
const T sc_max(const T &a, const T &b)