Get parameters related to temperature simulation from configuration

This commit is contained in:
Éder F. Zulian
2015-09-29 12:56:30 +02:00
parent 3c809a2853
commit ae6e1e1040
10 changed files with 111 additions and 17 deletions

View File

@@ -124,7 +124,7 @@ The XML code below shows a typic configuration:
``` xml
<simulation>
<!-- Simulator Configuration -->
<!-- General Simulator Configuration (used for all simulation setups) -->
<simconfig>
<Debug value="1"/>
<DatabaseRecording value="1"/>
@@ -135,6 +135,13 @@ The XML code below shows a typic configuration:
<DynamicTemperatureSimulation value="0"/>
</simconfig>
<!-- Temperature Simulator Configuration (used for all simulation setups) -->
<temperature_simconfig>
<StaticTemperatureDefaultValue value="89" />
<DynTemperatureSimPeriod value="100" />
<DynTemperatureSimUnit value="ms" />
</temperature_simconfig>
<!-- Memory Specifications -->
<memspecs>
<memspec src="../../DRAMSys/simulator/resources/configs/memspecs/WideIO.xml"></memspec>
@@ -215,7 +222,7 @@ simulation.
Below are listed the configuration sections and configuration fields.
- **Simulator configuration**
- **Simulator Configuration**
- *Debug* (boolean)
- "1": enables debug output on console
- "0": disables debug output
@@ -236,7 +243,20 @@ Below are listed the configuration sections and configuration fields.
- "1": enables the dynamic temperature simulation feature
- "0": static temperature during simulation
- **Memory specification**
- **Temperature Simulator Configuration**
- *StaticTemperatureDefaultValue* (int)
- Temperature value for simulations with static temperature
- *DynTemperatureSimPeriod* (unsigned int)
- Period of the dynamic temperature simulation
- *DynTemperatureSimUnit* (string)
- "s": seconds
- "ms": millisecond
- "us": microseconds
- "ns": nanoseconds
- "ps": picoseconds
- "fs": femtoseconds
- **Memory Specification**
A file with memory specifications. This information comes from datasheet and
usually does not change.
@@ -329,7 +349,7 @@ Below are listed the configuration sections and configuration fields.
- "Store": store data without error model
- "ErrorModel": store data with error model [6]
- **Trace setups**
- **Trace Setups**
- *id* (string)
- Trace setup id. Two kinds of output files are generated by DRAMSys:
SQLite databases containing transactions related to each memory channel