2010-01-30 05:29:17 +01:00
|
|
|
from m5.params import *
|
|
|
|
from m5.SimObject import SimObject
|
|
|
|
from Controller import RubyController
|
|
|
|
|
|
|
|
class RubyCache(SimObject):
|
|
|
|
type = 'RubyCache'
|
|
|
|
cxx_class = 'CacheMemory'
|
2010-01-30 05:29:23 +01:00
|
|
|
size = Param.MemorySize("capacity in bytes");
|
2010-01-30 05:29:17 +01:00
|
|
|
latency = Param.Int("");
|
|
|
|
assoc = Param.Int("");
|
|
|
|
replacement_policy = Param.String("PSEUDO_LRU", "");
|