Bugfix, instantiate address decoder.

This commit is contained in:
Lukas Steiner
2022-04-20 16:57:23 +02:00
parent d56f62fd6d
commit ef29af81e3

View File

@@ -110,6 +110,9 @@ void DRAMSysRecordable::instantiateModules(const std::string &traceName,
{ {
temperatureController = std::make_unique<TemperatureController>("TemperatureController", config); temperatureController = std::make_unique<TemperatureController>("TemperatureController", config);
addressDecoder = std::make_unique<AddressDecoder>(config, configLib.addressMapping);
addressDecoder->print();
// Create and properly initialize TLM recorders. // Create and properly initialize TLM recorders.
// They need to be ready before creating some modules. // They need to be ready before creating some modules.
setupTlmRecorders(traceName, configLib); setupTlmRecorders(traceName, configLib);