summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrad Beckmann <Brad.Beckmann@amd.com>2010-01-29 20:29:19 -0800
committerBrad Beckmann <Brad.Beckmann@amd.com>2010-01-29 20:29:19 -0800
commit63a60cc81ecd94d1a5ea4edb2a1c90de0e9eda80 (patch)
tree3e32b9d57fa6b2c860b8bfbeae1325ab6bb029c7 /src
parent12daaed84a44920968adb6b16bd558561bd18801 (diff)
downloadgem5-63a60cc81ecd94d1a5ea4edb2a1c90de0e9eda80.tar.xz
ruby: Removed the tech_nm variable from RubySystem
Diffstat (limited to 'src')
-rw-r--r--src/mem/ruby/system/RubySystem.py2
-rw-r--r--src/mem/ruby/system/System.cc3
-rw-r--r--src/mem/ruby/system/System.hh2
3 files changed, 0 insertions, 7 deletions
diff --git a/src/mem/ruby/system/RubySystem.py b/src/mem/ruby/system/RubySystem.py
index 21443cbd8..668a19544 100644
--- a/src/mem/ruby/system/RubySystem.py
+++ b/src/mem/ruby/system/RubySystem.py
@@ -6,8 +6,6 @@ class RubySystem(SimObject):
random_seed = Param.Int(1234, "random seed used by the simulation");
randomization = Param.Bool(False,
"insert random delays on message enqueue times");
- tech_nm = Param.Int(45,
- "device size used to calculate latency and area information");
clock = Param.Clock('1GHz', "")
block_size_bytes = Param.Int(64,
"default cache block size; must be a power of two");
diff --git a/src/mem/ruby/system/System.cc b/src/mem/ruby/system/System.cc
index 18404bd71..2dd978cad 100644
--- a/src/mem/ruby/system/System.cc
+++ b/src/mem/ruby/system/System.cc
@@ -59,7 +59,6 @@
int RubySystem::m_random_seed;
bool RubySystem::m_randomization;
-int RubySystem::m_tech_nm;
Tick RubySystem::m_clock;
int RubySystem::m_block_size_bytes;
int RubySystem::m_block_size_bits;
@@ -92,7 +91,6 @@ RubySystem::RubySystem(const Params *p)
m_random_seed = p->random_seed;
srandom(m_random_seed);
m_randomization = p->randomization;
- m_tech_nm = p->tech_nm;
m_clock = p->clock;
m_block_size_bytes = p->block_size_bytes;
@@ -129,7 +127,6 @@ void RubySystem::printSystemConfig(ostream & out)
out << "RubySystem config:" << endl;
out << " random_seed: " << m_random_seed << endl;
out << " randomization: " << m_randomization << endl;
- out << " tech_nm: " << m_tech_nm << endl;
out << " cycle_period: " << m_clock << endl;
out << " block_size_bytes: " << m_block_size_bytes << endl;
out << " block_size_bits: " << m_block_size_bits << endl;
diff --git a/src/mem/ruby/system/System.hh b/src/mem/ruby/system/System.hh
index 3ef70df18..1aebad748 100644
--- a/src/mem/ruby/system/System.hh
+++ b/src/mem/ruby/system/System.hh
@@ -96,7 +96,6 @@ public:
// config accessors
static int getRandomSeed() { return m_random_seed; }
static int getRandomization() { return m_randomization; }
- static int getTechNm() { return m_tech_nm; }
static int getBlockSizeBytes() { return m_block_size_bytes; }
static int getBlockSizeBits() { return m_block_size_bits; }
static uint64 getMemorySizeBytes() { return m_memory_size_bytes; }
@@ -162,7 +161,6 @@ private:
// configuration parameters
static int m_random_seed;
static bool m_randomization;
- static int m_tech_nm;
static Tick m_clock;
static int m_block_size_bytes;
static int m_block_size_bits;