diff --git a/DRAMSys/simulator/src/simulation/TemperatureController.h b/DRAMSys/simulator/src/simulation/TemperatureController.h
index c0650f6f..1b7c7045 100644
--- a/DRAMSys/simulator/src/simulation/TemperatureController.h
+++ b/DRAMSys/simulator/src/simulation/TemperatureController.h
@@ -64,6 +64,8 @@ public:
dynamicTempSimEnabled = Configuration::getInstance().DynamicTemperatureSimulation;
+ staticTemperature = Configuration::getInstance().temperatureSim.StaticTemperatureDefaultValue;
+
if (dynamicTempSimEnabled == true) {
#ifdef THERMALSIM
// Connect to the server
@@ -100,7 +102,6 @@ public:
SC_THREAD(temperatureThread);
} else {
- staticTemperature = Configuration::getInstance().temperatureSim.StaticTemperatureDefaultValue;
printDebugMessage("Static temperature simulation. Temperature set to " + std::to_string(staticTemperature));
}
}
diff --git a/README.md b/README.md
index f61e192d..91c6891c 100644
--- a/README.md
+++ b/README.md
@@ -194,6 +194,8 @@ The DRAMSys' main configuration file is presented below.
+
+
@@ -290,6 +292,8 @@ The XML code below shows a typic configuration:
+
+
@@ -419,6 +423,12 @@ Below are listed the configuration sections and configuration fields.
- When substantial changes in power occur (i.e., changes that exceed the thresholds), then the simulation period will be divided by this number causing the thermal simulation to be executed more often.
- *NPowStableCyclesToIncreasePeriod* (unsigned int)
- Wait this number of thermal simulation cycles with power stability (i.e., changes that do not exceed the thresholds) to start increasing the simulation period back to its configured value.
+ - *GenerateTemperatureMap* (boolean)
+ - "1": generate temperature map files during dynamic temperature simulation
+ - "0": do not generate temperature map files during dynamic temperature simulation
+ - *GeneratePowerMap* (boolean)
+ - "1": generate power map files during dynamic temperature simulation
+ - "0": do not generate power map files during dynamic temperature simulation
- **Memory Specification**