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:
1
tests/tests_simulator/cache/ListInitiator.h
vendored
1
tests/tests_simulator/cache/ListInitiator.h
vendored
@@ -43,7 +43,6 @@ class ListInitiator : public sc_core::sc_module
|
||||
public:
|
||||
tlm_utils::simple_initiator_socket<ListInitiator> iSocket;
|
||||
|
||||
SC_HAS_PROCESS(ListInitiator);
|
||||
ListInitiator(const sc_core::sc_module_name& name, DRAMSys::MemoryManager& memoryManager);
|
||||
|
||||
struct TestTransactionData
|
||||
|
||||
1
tests/tests_simulator/cache/TargetMemory.h
vendored
1
tests/tests_simulator/cache/TargetMemory.h
vendored
@@ -46,7 +46,6 @@ class TargetMemory : public sc_core::sc_module
|
||||
{
|
||||
public:
|
||||
tlm_utils::simple_target_socket<TargetMemory> tSocket;
|
||||
SC_HAS_PROCESS(TargetMemory);
|
||||
TargetMemory(const sc_core::sc_module_name& name,
|
||||
sc_core::sc_time acceptDelay,
|
||||
sc_core::sc_time memoryLatency,
|
||||
|
||||
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