Removal of unused variable (issue #140).
This commit is contained in:
@@ -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" />
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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"];
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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" />
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user