45 return ( ( a <= b ) ? a : b );
53 return ( ( a >= b ) ? a : b );
83 #define SC_STRINGIFY_HELPER_( Arg ) \ 84 SC_STRINGIFY_HELPER_DEFERRED_( Arg ) 86 #define SC_STRINGIFY_HELPER_DEFERRED_( Arg ) \ 87 SC_STRINGIFY_HELPER_MORE_DEFERRED_( Arg ) 89 #define SC_STRINGIFY_HELPER_MORE_DEFERRED_( Arg ) \ 95 #define SC_CONCAT_HELPER_( a, b ) \ 96 SC_CONCAT_HELPER_DEFERRED_( a, b ) 98 #define SC_CONCAT_HELPER_DEFERRED_( a, b ) \ 99 SC_CONCAT_HELPER_MORE_DEFERRED_( a,b ) 101 #define SC_CONCAT_HELPER_MORE_DEFERRED_( a, b ) \ 104 #define SC_CONCAT_UNDERSCORE_( a, b ) \ 105 SC_CONCAT_HELPER_( a, SC_CONCAT_HELPER_( _, b ) ) 114 ::sc_core::sc_set_location( __FILE__, __LINE__ ); \ 116 ::sc_core::sc_set_location( NULL, 0 ) 119 #define SC_WAITN(n) \ 120 ::sc_core::sc_set_location( __FILE__, __LINE__ ); \ 121 ::sc_core::wait(n); \ 122 ::sc_core::sc_set_location( NULL, 0 ) 125 #define SC_WAIT_UNTIL(expr) \ 126 do { SC_WAIT(); } while( !(expr) ) const T sc_min(const T &a, const T &b)
const T sc_max(const T &a, const T &b)
const T sc_abs(const T &a)
uint64 const sc_uint_base int b