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

class RubyCache(SimObject):
    type = 'RubyCache'
    cxx_class = 'CacheMemory'
    size = Param.Int("");
    latency = Param.Int("");
    assoc = Param.Int("");
    replacement_policy = Param.String("PSEUDO_LRU", "");
    controller = Param.RubyController("");