ruby: added -A option to TwoLevel_SplitL1UnifiedL2 to set the L1 cache size
This commit is contained in:
parent
f7f475a6f4
commit
2f5839832e
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue