56 #define SYSTEMC_VERSION 20140417
57 #define SC_VERSION_ORIGINATOR "Accellera"
58 #define SC_VERSION_MAJOR 2
59 #define SC_VERSION_MINOR 3
60 #define SC_VERSION_PATCH 1
61 #define SC_IS_PRERELEASE 0
64 #define IEEE_1666_SYSTEMC 201101L
66 #define SC_COPYRIGHT \
67 "Copyright (c) 1996-2014 by all Contributors,\n" \
68 "ALL RIGHTS RESERVED\n"
71 #define SC_VERSION_RELEASE_DATE \
72 SC_STRINGIFY_HELPER_( SYSTEMC_VERSION )
74 #if ( SC_IS_PRERELEASE == 1 )
75 # define SC_VERSION_PRERELEASE "pub_rev"
77 SC_STRINGIFY_HELPER_( SC_VERSION_MAJOR.SC_VERSION_MINOR.SC_VERSION_PATCH ) \
78 "_" SC_VERSION_PRERELEASE "_" SC_VERSION_RELEASE_DATE \
79 "-" SC_VERSION_ORIGINATOR
81 # define SC_VERSION_PRERELEASE "" // nothing
83 SC_STRINGIFY_HELPER_( SC_VERSION_MAJOR.SC_VERSION_MINOR.SC_VERSION_PATCH ) \
84 "-" SC_VERSION_ORIGINATOR
95 #define SC_API_VERSION_STRING \
96 SC_CONCAT_UNDERSCORE_( sc_api_version, \
97 SC_CONCAT_UNDERSCORE_( SC_VERSION_MAJOR, \
98 SC_CONCAT_UNDERSCORE_( SC_VERSION_MINOR, \
99 SC_VERSION_PATCH ) ) )
102 #define SC_API_DEFINED_( Symbol ) \
104 #define SC_API_UNDEFINED_( Symbol ) \
105 Symbol ## _UNDEFINED_
113 #if 0 // don't enforce check of DEBUG_SYSTEMC for now
115 #if defined( DEBUG_SYSTEMC )
116 # define DEBUG_SYSTEMC_CHECK_ \
117 SC_CONFIG_DEFINED_(DEBUG_SYSTEMC)
119 # define DEBUG_SYSTEMC_CHECK_ \
120 SC_CONFIG_UNDEFINED_(DEBUG_SYSTEMC)
122 extern const int DEBUG_SYSTEMC_CHECK_;
126 #if defined( SC_DISABLE_VIRTUAL_BIND )
127 # define SC_DISABLE_VIRTUAL_BIND_CHECK_ \
128 SC_API_DEFINED_(SC_DISABLE_VIRTUAL_BIND)
130 # define SC_DISABLE_VIRTUAL_BIND_CHECK_ \
131 SC_API_UNDEFINED_(SC_DISABLE_VIRTUAL_BIND)
146 const int * DisableVirtualBind
157 #if !defined( SC_DISABLE_API_VERSION_CHECK ) // disabled in sc_ver.cpp
168 #endif // SC_DISABLE_API_VERSION_CHECK
const bool sc_is_prerelease
const std::string sc_version_release_date
const std::string sc_copyright_string
SC_API_VERSION_STRING(sc_writer_policy default_writer_policy)
#define SC_DEFAULT_WRITER_POLICY
const std::string sc_version_prerelease
const unsigned int sc_version_patch
const char * sc_release()
const std::string sc_version_string
const unsigned int sc_version_minor
const char * sc_version()
const char * sc_copyright()
const unsigned int sc_version_major
const int SC_DISABLE_VIRTUAL_BIND_CHECK_
static SC_API_VERSION_STRING< &SC_DISABLE_VIRTUAL_BIND_CHECK_ > api_version_check(SC_DEFAULT_WRITER_POLICY)
const std::string sc_version_originator