From ef29af81e39a87967786a1bf9a18b921a6b96d87 Mon Sep 17 00:00:00 2001 From: Lukas Steiner Date: Wed, 20 Apr 2022 16:57:23 +0200 Subject: [PATCH] Bugfix, instantiate address decoder. --- DRAMSys/library/src/simulation/DRAMSysRecordable.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/DRAMSys/library/src/simulation/DRAMSysRecordable.cpp b/DRAMSys/library/src/simulation/DRAMSysRecordable.cpp index e2110b48..24e9a2a9 100644 --- a/DRAMSys/library/src/simulation/DRAMSysRecordable.cpp +++ b/DRAMSys/library/src/simulation/DRAMSysRecordable.cpp @@ -110,6 +110,9 @@ void DRAMSysRecordable::instantiateModules(const std::string &traceName, { temperatureController = std::make_unique("TemperatureController", config); + addressDecoder = std::make_unique(config, configLib.addressMapping); + addressDecoder->print(); + // Create and properly initialize TLM recorders. // They need to be ready before creating some modules. setupTlmRecorders(traceName, configLib);