14#ifndef SIMICS_SYSTEMC_VERSION_H
15#define SIMICS_SYSTEMC_VERSION_H
26#error "SCL_VERSION is not defined"
28static_assert(SCL_VERSION >= 7000 && SCL_VERSION <= 8000,
29 "SCL_VERSION must be a 4-digit Simics 7 build-id");
32#define CONCAT_DEFERRED_(a, b) a ## b
33#define CONCAT_(a, b) CONCAT_DEFERRED_(a, b)
34#define SCL_VERSION_STRING CONCAT_(SCL_VERSION_, SCL_VERSION)
47 const std::map<std::string, std::string> *
versions()
const override;
52 void setVersion(
const std::string &key,
const std::string &value);
55 std::map<std::string, std::string> versions_;
bool operator!=(const iface::ScVersionInterface &rhs) const
void setVersion(const std::string &key, const std::string &value)
const char * library_version() const override
const char * library_kernel_version() const override
bool operator==(const iface::ScVersionInterface &rhs) const
const std::map< std::string, std::string > * versions() const override
const char * kernel_version() const override
Definition: sc_version_interface.h:25