diff options
author | Tushar Krishna <Tushar.Krishna@amd.com> | 2009-08-07 13:59:40 -0700 |
---|---|---|
committer | Tushar Krishna <Tushar.Krishna@amd.com> | 2009-08-07 13:59:40 -0700 |
commit | b952eb19c18bffcd4519bac19f79979fab477ff6 (patch) | |
tree | bc9e34bce37742b5b85b76ff8be93a14b7c4e688 /src/mem/ruby/config | |
parent | bd7af84d5ecd037fe4ab1a66948c51d23eb0eb0d (diff) | |
download | gem5-b952eb19c18bffcd4519bac19f79979fab477ff6.tar.xz |
bug fix for data_msg_size in network/Network.cc
Diffstat (limited to 'src/mem/ruby/config')
-rw-r--r-- | src/mem/ruby/config/cfg.rb | 2 | ||||
-rw-r--r-- | src/mem/ruby/config/defaults.rb | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/mem/ruby/config/cfg.rb b/src/mem/ruby/config/cfg.rb index a43b5e125..6b12ad22a 100644 --- a/src/mem/ruby/config/cfg.rb +++ b/src/mem/ruby/config/cfg.rb @@ -602,7 +602,7 @@ class Network < LibRubyObject vec += " buffer_size "+buffer_size.to_s vec += " link_latency "+adaptive_routing.to_s vec += " on_chip_latency "+on_chip_latency.to_s - + vec += " control_msg_size "+control_msg_size.to_s end def printTopology() diff --git a/src/mem/ruby/config/defaults.rb b/src/mem/ruby/config/defaults.rb index e54b148e0..7d5d91ae2 100644 --- a/src/mem/ruby/config/defaults.rb +++ b/src/mem/ruby/config/defaults.rb @@ -82,6 +82,8 @@ class Network < LibRubyObject # on chip latency default_param :on_chip_latency, Integer, 1 + + default_param :control_msg_size, Integer, 8 end class GarnetNetwork < Network |