ruby: made L2 request/response latency based on cache latency by default
authorDerek Hower <drh5@cs.wisc.edu>
Thu, 10 Sep 2009 18:32:16 +0000 (13:32 -0500)
committerDerek Hower <drh5@cs.wisc.edu>
Thu, 10 Sep 2009 18:32:16 +0000 (13:32 -0500)
src/mem/ruby/config/TwoLevel_SplitL1UnifiedL2.rb
src/mem/ruby/config/defaults.rb

index 2c59a09164af3976ef679c77100b992428835de4..aa176d0f15af3000fd24212a6dbf751503d07bba 100644 (file)
@@ -79,6 +79,8 @@ num_l2_banks.times { |n|
     net_ports << MOESI_CMP_directory_L2CacheController.new("L2CacheController_"+n.to_s,
                                                            "L2Cache",
                                                            cache)
+    net_ports.last.request_latency = l2_cache_latency + 2
+    net_ports.last.response_latency = l2_cache_latency + 2
   end
 }
 num_memories.times { |n|
index 384abd1198ef5d89d3875b0aaf67d175ff34cf1e..a286b01fb24f8f14c4dae849349ba8a066ba68f9 100644 (file)
@@ -163,8 +163,8 @@ class MOESI_CMP_directory_DirectoryController < DirectoryController
 end
 
 class MOESI_CMP_directory_DMAController < DMAController
-  default_param :request_latency, Integer, 6
-  default_param :response_latency, Integer, 6
+  default_param :request_latency, Integer, 14
+  default_param :response_latency, Integer, 14
 end
 
 class RubySystem