summaryrefslogtreecommitdiff
path: root/src/mem/ruby
diff options
context:
space:
mode:
authorBrad Beckmann <Brad.Beckmann@amd.com>2009-11-18 16:34:32 -0800
committerBrad Beckmann <Brad.Beckmann@amd.com>2009-11-18 16:34:32 -0800
commitcef3c5616358912b45aafac490bf182c1a8def04 (patch)
treea93785bc9d569756f1c0e1da680d90d05c4b11b4 /src/mem/ruby
parentdbb2c111cccacad4e331bfded3b316e3c78dc63c (diff)
downloadgem5-cef3c5616358912b45aafac490bf182c1a8def04.tar.xz
ruby: MOESI hammer support for DMA reads and writes
Diffstat (limited to 'src/mem/ruby')
-rw-r--r--src/mem/ruby/config/defaults.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mem/ruby/config/defaults.rb b/src/mem/ruby/config/defaults.rb
index da7fa17c7..bb054ec4e 100644
--- a/src/mem/ruby/config/defaults.rb
+++ b/src/mem/ruby/config/defaults.rb
@@ -178,6 +178,10 @@ class MOESI_hammer_DirectoryController < DirectoryController
default_param :memory_controller_latency, Integer, 12
end
+class MOESI_hammer_DMAController < DMAController
+ default_param :request_latency, Integer, 6
+end
+
class RubySystem
# Random seed used by the simulation. If set to "rand", the seed