From: Derek Hower Date: Thu, 10 Sep 2009 18:32:16 +0000 (-0500) Subject: ruby: made L2 request/response latency based on cache latency by default X-Git-Tag: Calvin_Submission~24^2~3 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e6e3ccf5c0f49342116eadd6386a4d169b8a6581;p=gem5.git ruby: made L2 request/response latency based on cache latency by default --- diff --git a/src/mem/ruby/config/TwoLevel_SplitL1UnifiedL2.rb b/src/mem/ruby/config/TwoLevel_SplitL1UnifiedL2.rb index 2c59a0916..aa176d0f1 100644 --- a/src/mem/ruby/config/TwoLevel_SplitL1UnifiedL2.rb +++ b/src/mem/ruby/config/TwoLevel_SplitL1UnifiedL2.rb @@ -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| diff --git a/src/mem/ruby/config/defaults.rb b/src/mem/ruby/config/defaults.rb index 384abd119..a286b01fb 100644 --- a/src/mem/ruby/config/defaults.rb +++ b/src/mem/ruby/config/defaults.rb @@ -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