From 63a60cc81ecd94d1a5ea4edb2a1c90de0e9eda80 Mon Sep 17 00:00:00 2001 From: Brad Beckmann Date: Fri, 29 Jan 2010 20:29:19 -0800 Subject: ruby: Removed the tech_nm variable from RubySystem --- src/mem/ruby/system/RubySystem.py | 2 -- src/mem/ruby/system/System.cc | 3 --- src/mem/ruby/system/System.hh | 2 -- 3 files changed, 7 deletions(-) (limited to 'src/mem') 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; -- cgit v1.2.3