Update to SystemC 3.0.1
Fix some of the deprecation warnings introduced in the new version such as the removal of SC_HAS_PROCESS.
This commit is contained in:
5
tests/tests_simulator/cache/tests_cache.cpp
vendored
5
tests/tests_simulator/cache/tests_cache.cpp
vendored
@@ -44,7 +44,10 @@
|
||||
class SystemCTest : public testing::Test
|
||||
{
|
||||
public:
|
||||
~SystemCTest() override { sc_core::sc_get_curr_simcontext()->reset(); }
|
||||
~SystemCTest() override {
|
||||
sc_core::sc_curr_simcontext = new sc_core::sc_simcontext();
|
||||
sc_core::sc_default_global_context = sc_core::sc_curr_simcontext;
|
||||
}
|
||||
};
|
||||
|
||||
class DirectMappedCache : public SystemCTest
|
||||
|
||||
Reference in New Issue
Block a user