From 40470445f4a4a32f193d4958d7586a605898dd10 Mon Sep 17 00:00:00 2001 From: Stas Date: Fri, 26 Mar 2021 21:51:35 +0100 Subject: [PATCH] fix scv4tlm namespace hierarchy --- incl/sysc/core_complex.h | 2 +- src/sysc/core_complex.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/incl/sysc/core_complex.h b/incl/sysc/core_complex.h index f3f9787..eecd7aa 100644 --- a/incl/sysc/core_complex.h +++ b/incl/sysc/core_complex.h @@ -75,7 +75,7 @@ class core_wrapper; class core_complex : public sc_core::sc_module, public scc::traceable { public: - tlm::scc::initiator_mixin> initiator{"intor"}; + tlm::scc::initiator_mixin> initiator{"intor"}; sc_core::sc_in clk_i{"clk_i"}; diff --git a/src/sysc/core_complex.cpp b/src/sysc/core_complex.cpp index 2a93efc..761f95f 100644 --- a/src/sysc/core_complex.cpp +++ b/src/sysc/core_complex.cpp @@ -388,7 +388,7 @@ bool core_complex::read_mem(uint64_t addr, unsigned length, uint8_t *const data, if (is_fetch && tr_handle.is_active()) { tr_handle.end_transaction(); } - auto preExt = new scv4tlm::tlm_recording_extension(tr_handle, this); + auto preExt = new tlm::scc::scv4tlm::tlm_recording_extension(tr_handle, this); gp.set_extension(preExt); } #endif @@ -434,7 +434,7 @@ bool core_complex::write_mem(uint64_t addr, unsigned length, const uint8_t *cons sc_time delay{quantum_keeper.get_local_time()}; #ifdef WITH_SCV if (m_db != nullptr && tr_handle.is_valid()) { - auto preExt = new scv4tlm::tlm_recording_extension(tr_handle, this); + auto preExt = new tlm::scc::scv4tlm::tlm_recording_extension(tr_handle, this); gp.set_extension(preExt); } #endif