summaryrefslogtreecommitdiff
path: root/src/mem/ruby/system/Cache.py
blob: 8098e6192a7317d32cc20f94370d85ec513c7760 (plain)
1
2
3
4
5
6
7
8
9
10
11
from m5.params import *
from m5.SimObject import SimObject
from Controller import RubyController

class RubyCache(SimObject):
    type = 'RubyCache'
    cxx_class = 'CacheMemory'
    size = Param.MemorySize("capacity in bytes");
    latency = Param.Int("");
    assoc = Param.Int("");
    replacement_policy = Param.String("PSEUDO_LRU", "");