projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7f475a
)
ruby: added -A option to TwoLevel_SplitL1UnifiedL2 to set the L1 cache size
author
Derek Hower
<drh5@cs.wisc.edu>
Fri, 13 Nov 2009 15:45:23 +0000
(09:45 -0600)
committer
Derek Hower
<drh5@cs.wisc.edu>
Fri, 13 Nov 2009 15:45:23 +0000
(09:45 -0600)
src/mem/ruby/config/TwoLevel_SplitL1UnifiedL2.rb
patch
|
blob
|
history
diff --git
a/src/mem/ruby/config/TwoLevel_SplitL1UnifiedL2.rb
b/src/mem/ruby/config/TwoLevel_SplitL1UnifiedL2.rb
index 863c17e81e7fe4419b361f2603bdb62f71d66a9c..a4a1982f4b9670836653a13fa61d533f04d9b05a 100644
(file)
--- 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