Removal of unused variable (issue #140).

This commit is contained in:
Éder F. Zulian
2016-11-07 19:11:55 +01:00
parent 8b0108f366
commit 561a688b0f
7 changed files with 0 additions and 9 deletions

View File

@@ -12,7 +12,6 @@
<!-- Modes: NoStorage, Store (store data without errormodel), ErrorModel (store data with errormodel) -->
<StoreMode value="NoStorage" />
<!--
<Buswidth value="128" />
<ReadWriteGrouping value="false" />
<ModelStorage value="false" />
<ModelErrorInjection value="false" />

View File

@@ -125,8 +125,6 @@ void Configuration::setParameter(std::string name, std::string value)
powerDownTimeoutInClk = string2int(value);
else if(name == "PowerDownMode")
PowerDownMode = string2PDNMode(value);
else if(name == "Buswidth")
Buswidth = string2int(value);
else if(name == "ReadWriteGrouping")
ReadWriteGrouping = string2bool(value);
else if(name == "ReorderBuffer")

View File

@@ -69,7 +69,6 @@ struct Configuration
unsigned int Capsize = 5;
sc_time getPowerDownTimeout(){return powerDownTimeoutInClk*memSpec.clk;}
EPowerDownMode PowerDownMode = EPowerDownMode::Staggered;
unsigned int Buswidth = 128;
bool ReadWriteGrouping = false;
bool ReorderBuffer = false;

View File

@@ -46,7 +46,6 @@ void errorModel::init()
powerAnalysis = Configuration::getInstance().PowerAnalysis;
thermalSim = Configuration::getInstance().ThermalSimulation;
// Get Configuration parameters:
busWidth = Configuration::getInstance().Buswidth;
burstLenght = Configuration::getInstance().memSpec.BurstLength;
numberOfColumns = Configuration::getInstance().memSpec.NumberOfColumns;
bytesPerColumn = xmlAddressDecoder::getInstance().amount["bytes"];

View File

@@ -64,7 +64,6 @@ class errorModel : public sc_module
libDRAMPower *DRAMPower;
bool thermalSim;
// Configuration Parameters:
unsigned int busWidth;
unsigned int burstLenght;
unsigned int numberOfColumns;
unsigned int bytesPerColumn;

View File

@@ -12,7 +12,6 @@
<!-- Modes: NoStorage, Store (store data without errormodel), ErrorModel (store data with errormodel) -->
<StoreMode value="ErrorModel" />
<!--
<Buswidth value="128" />
<ReadWriteGrouping value="false" />
<ModelStorage value="false" />
<ModelErrorInjection value="false" />

View File

@@ -842,8 +842,6 @@ Below are listed the configuration sections and configuration fields.
- "Staggered": staggered power down policy [5]
- "TimeoutPDN": precharge idle
- "TimeoutSREF": self refresh
- *Buswidth* (unsigned int)
- Bus width in bits.
- *ReadWriteGrouping* (boolean)
- "1": enable read writing grouping
- "0": disable read writing grouping