diff options
author | Derek Hower <drh5@cs.wisc.edu> | 2009-11-13 09:45:23 -0600 |
---|---|---|
committer | Derek Hower <drh5@cs.wisc.edu> | 2009-11-13 09:45:23 -0600 |
commit | 2f5839832e86aa2e78d7536428336b7f068c7d38 (patch) | |
tree | b8bf7218bc97fc3a0a2deb30f4478c8df2da40c1 /src/mem/ruby | |
parent | f7f475a6f414dcd69790a1a052910386cbbe0a93 (diff) | |
download | gem5-2f5839832e86aa2e78d7536428336b7f068c7d38.tar.xz |
ruby: added -A option to TwoLevel_SplitL1UnifiedL2 to set the L1 cache size
Diffstat (limited to 'src/mem/ruby')
-rw-r--r-- | src/mem/ruby/config/TwoLevel_SplitL1UnifiedL2.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mem/ruby/config/TwoLevel_SplitL1UnifiedL2.rb b/src/mem/ruby/config/TwoLevel_SplitL1UnifiedL2.rb index 863c17e81..a4a1982f4 100644 --- a/src/mem/ruby/config/TwoLevel_SplitL1UnifiedL2.rb +++ b/src/mem/ruby/config/TwoLevel_SplitL1UnifiedL2.rb @@ -35,6 +35,9 @@ for i in 0..$*.size-1 do if $*[i] == "-c" or $*[i] == "--protocol" i += 1 protocol = $*[i] + elsif $*[i] == "-A" + l1_dcache_size_kb = $*[i+1].to_i + i = i+1 elsif $*[i] == "-B" num_l2_banks = $*[i+1].to_i i = i+1 |