Fix failing tests.

This commit is contained in:
Lukas Steiner
2021-08-17 16:37:33 +02:00
parent aba8398a2d
commit 6857e37ff0

View File

@@ -123,7 +123,7 @@ void DramRecordable<BaseDram>::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);