diff options
author | Brad Beckmann <Brad.Beckmann@amd.com> | 2012-04-06 13:47:06 -0700 |
---|---|---|
committer | Brad Beckmann <Brad.Beckmann@amd.com> | 2012-04-06 13:47:06 -0700 |
commit | 0a9f4b950fb52db3951ad1f7aafc674b505d2679 (patch) | |
tree | 033bfd48877875c00201058f1a60e679696c9cdf /src/cpu/testers/rubytest/Check.hh | |
parent | b00949d88bb3185dfa2e27799de7f90e5a449be8 (diff) | |
download | gem5-0a9f4b950fb52db3951ad1f7aafc674b505d2679.tar.xz |
rubytest: seperated read and write ports.
This patch allows the ruby tester to support protocols where the i-cache and d-cache
are managed by seperate controllers.
Diffstat (limited to 'src/cpu/testers/rubytest/Check.hh')
-rw-r--r-- | src/cpu/testers/rubytest/Check.hh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/cpu/testers/rubytest/Check.hh b/src/cpu/testers/rubytest/Check.hh index db1485548..1d84b446b 100644 --- a/src/cpu/testers/rubytest/Check.hh +++ b/src/cpu/testers/rubytest/Check.hh @@ -46,8 +46,8 @@ const int CHECK_SIZE = (1 << CHECK_SIZE_BITS); class Check { public: - Check(const Address& address, const Address& pc, int _num_cpu_sequencer, - RubyTester* _tester); + Check(const Address& address, const Address& pc, int _num_writers, + int _num_readers, RubyTester* _tester); void initiate(); // Does Action or Check or nether void performCallback(NodeID proc, SubBlock* data); @@ -74,7 +74,8 @@ class Check Address m_address; Address m_pc; RubyAccessMode m_access_mode; - int m_num_cpu_sequencers; + int m_num_writers; + int m_num_readers; RubyTester* m_tester_ptr; }; |