From 6857e37ff0c32ab9d37f1f157368d231963f0db4 Mon Sep 17 00:00:00 2001 From: Lukas Steiner Date: Tue, 17 Aug 2021 16:37:33 +0200 Subject: [PATCH] Fix failing tests. --- DRAMSys/library/src/simulation/dram/DramRecordable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DRAMSys/library/src/simulation/dram/DramRecordable.cpp b/DRAMSys/library/src/simulation/dram/DramRecordable.cpp index ae039505..283346aa 100644 --- a/DRAMSys/library/src/simulation/dram/DramRecordable.cpp +++ b/DRAMSys/library/src/simulation/dram/DramRecordable.cpp @@ -123,7 +123,7 @@ void DramRecordable::powerWindow() while (true) { // At the very beginning (zero clock cycles) the energy is 0, so we wait first - wait(powerWindowSize); + sc_module::wait(powerWindowSize); clkCycles = std::lround(sc_time_stamp() / this->memSpec->tCK);