58#define SYSTEMC_VERSION 20240329
59#define SC_VERSION_ORIGINATOR "Accellera"
60#define SC_VERSION_MAJOR 3
61#define SC_VERSION_MINOR 0
62#define SC_VERSION_PATCH 0
63#define SC_IS_PRERELEASE 0
66#define IEEE_1666_SYSTEMC 202301L
69 "Copyright (c) 1996-2024 by all Contributors,\n" \
70 "ALL RIGHTS RESERVED\n"
73#define SC_VERSION_RELEASE_DATE \
74 SC_STRINGIFY_HELPER_( SYSTEMC_VERSION )
76#if ( SC_IS_PRERELEASE == 1 )
77# define SC_VERSION_PRERELEASE "pub_rev"
79 SC_STRINGIFY_HELPER_( SC_VERSION_MAJOR.SC_VERSION_MINOR.SC_VERSION_PATCH ) \
80 "_" SC_VERSION_PRERELEASE "_" SC_VERSION_RELEASE_DATE \
81 "-" SC_VERSION_ORIGINATOR
83# define SC_VERSION_PRERELEASE ""
85 SC_STRINGIFY_HELPER_( SC_VERSION_MAJOR.SC_VERSION_MINOR.SC_VERSION_PATCH ) \
86 "-" 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_CONCAT_UNDERSCORE_( SC_VERSION_PATCH, \
105 SC_CONCAT_HELPER_( cxx, SC_CPLUSPLUS ) \
109#define SC_API_DEFINED_( Symbol ) \
111#define SC_API_UNDEFINED_( Symbol ) \
112 Symbol ## _UNDEFINED_
122#if defined( DEBUG_SYSTEMC )
123# define DEBUG_SYSTEMC_CHECK_ \
124 SC_CONFIG_DEFINED_(DEBUG_SYSTEMC)
126# define DEBUG_SYSTEMC_CHECK_ \
127 SC_CONFIG_UNDEFINED_(DEBUG_SYSTEMC)
129extern const int DEBUG_SYSTEMC_CHECK_;
151 ,
bool has_covariant_virtual_base
158#ifdef SC_ENABLE_COVARIANT_VIRTUAL_BASE
159# define SC_HAS_COVARIANT_VIRTUAL_BASE_ true
161# define SC_HAS_COVARIANT_VIRTUAL_BASE_ false
164#if !defined(SC_BUILD)
170#if !defined(SC_DISABLE_API_VERSION_CHECK)
#define SC_API_VERSION_STRING
#define SC_HAS_COVARIANT_VIRTUAL_BASE_
#define SC_DEFAULT_WRITER_POLICY
SC_API const std::string sc_version_string
SC_API const char * sc_release()
SC_API const std::string sc_copyright_string
SC_API const char * sc_version()
SC_API const unsigned int sc_version_minor
SC_API const std::string sc_version_originator
SC_API const std::string sc_version_prerelease
static SC_API_VERSION_STRING api_version_check(SC_DEFAULT_WRITER_POLICY, SC_HAS_COVARIANT_VIRTUAL_BASE_)
SC_API const unsigned int sc_version_major
SC_API const std::string sc_version_release_date
SC_API const bool sc_is_prerelease
SC_API const char * sc_copyright()
SC_API const unsigned int sc_version_patch
SC_API_VERSION_STRING(sc_writer_policy default_writer_policy, bool has_covariant_virtual_base)