56 #define SYSTEMC_VERSION 20140417
58 #define SC_VERSION_ORIGINATOR "RISC 0.6.0" // identify Accellera-derived RISC version
59 #define SC_VERSION_MAJOR 2
60 #define SC_VERSION_MINOR 3
61 #define SC_VERSION_PATCH 1
62 #define SC_IS_PRERELEASE 0
65 #define IEEE_1666_SYSTEMC 201101L
71 #define SC_COPYRIGHT \
72 "Copyright (c) 1996-2019 by CECS and all Contributors,\n" \
73 "ALL RIGHTS RESERVED\n"
76 #define SC_VERSION_RELEASE_DATE \
77 SC_STRINGIFY_HELPER_( SYSTEMC_VERSION )
79 #if ( SC_IS_PRERELEASE == 1 )
80 # define SC_VERSION_PRERELEASE "pub_rev"
82 SC_STRINGIFY_HELPER_( SC_VERSION_MAJOR.SC_VERSION_MINOR.SC_VERSION_PATCH ) \
83 "_" SC_VERSION_PRERELEASE "_" SC_VERSION_RELEASE_DATE \
84 "-" SC_VERSION_ORIGINATOR
86 # define SC_VERSION_PRERELEASE "" // nothing
88 SC_STRINGIFY_HELPER_( SC_VERSION_MAJOR.SC_VERSION_MINOR.SC_VERSION_PATCH ) \
89 "-" SC_VERSION_ORIGINATOR
100 #define SC_API_VERSION_STRING \
101 SC_CONCAT_UNDERSCORE_( sc_api_version, \
102 SC_CONCAT_UNDERSCORE_( SC_VERSION_MAJOR, \
103 SC_CONCAT_UNDERSCORE_( SC_VERSION_MINOR, \
104 SC_VERSION_PATCH ) ) )
107 #define SC_API_DEFINED_( Symbol ) \
109 #define SC_API_UNDEFINED_( Symbol ) \
110 Symbol ## _UNDEFINED_
118 #if 0 // don't enforce check of DEBUG_SYSTEMC for now
120 #if defined( DEBUG_SYSTEMC )
121 # define DEBUG_SYSTEMC_CHECK_ \
122 SC_CONFIG_DEFINED_(DEBUG_SYSTEMC)
124 # define DEBUG_SYSTEMC_CHECK_ \
125 SC_CONFIG_UNDEFINED_(DEBUG_SYSTEMC)
127 extern const int DEBUG_SYSTEMC_CHECK_;
131 #if defined( SC_DISABLE_VIRTUAL_BIND )
132 # define SC_DISABLE_VIRTUAL_BIND_CHECK_ \
133 SC_API_DEFINED_(SC_DISABLE_VIRTUAL_BIND)
135 # define SC_DISABLE_VIRTUAL_BIND_CHECK_ \
136 SC_API_UNDEFINED_(SC_DISABLE_VIRTUAL_BIND)
151 const int * DisableVirtualBind
162 #if !defined( SC_DISABLE_API_VERSION_CHECK ) // disabled in sc_ver.cpp
173 #endif // SC_DISABLE_API_VERSION_CHECK
const char * sc_release()
const std::string sc_copyright_string
const bool sc_is_prerelease
const unsigned int sc_version_patch
const char * sc_copyright()
#define SC_DEFAULT_WRITER_POLICY
const std::string sc_version_originator
const unsigned int sc_version_minor
SC_API_VERSION_STRING(sc_writer_policy default_writer_policy)
const std::string sc_version_string
const std::string sc_version_prerelease
static SC_API_VERSION_STRING< &SC_DISABLE_VIRTUAL_BIND_CHECK_ > api_version_check(SC_DEFAULT_WRITER_POLICY)
const char * sc_version()
const unsigned int sc_version_major
const int SC_DISABLE_VIRTUAL_BIND_CHECK_
const std::string sc_version_release_date