ruby: added -A option to TwoLevel_SplitL1UnifiedL2 to set the L1 cache size

This commit is contained in:
Derek Hower 2009-11-13 09:45:23 -06:00
parent f7f475a6f4
commit 2f5839832e

View file

@ -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