ruby: set SimpleTiming as the default cpu
authorBrad Beckmann <Brad.Beckmann@amd.com>
Fri, 6 Apr 2012 20:47:08 +0000 (13:47 -0700)
committerBrad Beckmann <Brad.Beckmann@amd.com>
Fri, 6 Apr 2012 20:47:08 +0000 (13:47 -0700)
configs/ruby/Ruby.py

index 046797a3ccca94afe5f2c91d424a8a484b7555b1..87939fac88dfae8883ff2af4d9fadd1a8a88b35d 100644 (file)
@@ -45,6 +45,9 @@ from m5.objects import *
 from m5.defines import buildEnv
 
 def define_options(parser):
+    # By default, ruby uses the simple timing cpu
+    parser.set_defaults(cpu_type="timing")
+
     # ruby network options
     parser.add_option("--topology", type="string", default="Crossbar",
                  help="check src/mem/ruby/network/topologies for complete set")