134cc3d48d
Converted both ruby caches and directory memory to use the M5 MemorySize python type.
9 lines
275 B
Python
9 lines
275 B
Python
from m5.params import *
|
|
from m5.proxy import *
|
|
from m5.SimObject import SimObject
|
|
|
|
class RubyDirectoryMemory(SimObject):
|
|
type = 'RubyDirectoryMemory'
|
|
cxx_class = 'DirectoryMemory'
|
|
version = Param.Int(0, "")
|
|
size = Param.MemorySize("1GB", "capacity in bytes")
|