2010-01-30 05:29:17 +01:00
|
|
|
from m5.params import *
|
|
|
|
from m5.SimObject import SimObject
|
|
|
|
|
|
|
|
class RubySystem(SimObject):
|
|
|
|
type = 'RubySystem'
|
|
|
|
random_seed = Param.Int(1234, "random seed used by the simulation");
|
|
|
|
randomization = Param.Bool(False,
|
|
|
|
"insert random delays on message enqueue times");
|
2010-01-30 05:29:19 +01:00
|
|
|
clock = Param.Clock('1GHz', "")
|
2010-01-30 05:29:17 +01:00
|
|
|
block_size_bytes = Param.Int(64,
|
|
|
|
"default cache block size; must be a power of two");
|
2010-01-30 05:29:23 +01:00
|
|
|
mem_size = Param.MemorySize("total memory size of the system");
|
2010-01-30 05:29:17 +01:00
|
|
|
network = Param.RubyNetwork("")
|
|
|
|
debug = Param.RubyDebug("the default debug object")
|
|
|
|
profiler = Param.RubyProfiler("");
|
|
|
|
tracer = Param.RubyTracer("");
|
2010-01-30 05:29:21 +01:00
|
|
|
stats_filename = Param.String("ruby.stats",
|
|
|
|
"file to which ruby dumps its stats")
|