From: Kevin Lim Date: Tue, 13 Jun 2006 18:15:24 +0000 (-0400) Subject: Add in DetailedCPU to test. X-Git-Tag: m5_2.0_beta1~36^2~67^2~4 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=72e4b98b8dd29b72415a1294e9e35387027d6cf9;p=gem5.git Add in DetailedCPU to test. --HG-- extra : convert_revision : 98c67b45af239e1cf5bad6888da6577a4c3bb45d --- diff --git a/configs/test/test.py b/configs/test/test.py index 8c5b06e6a..2ece9e675 100644 --- a/configs/test/test.py +++ b/configs/test/test.py @@ -6,12 +6,14 @@ import os, optparse, sys import m5 from m5.objects import * +from FullO3Config import * # parse command-line arguments parser = optparse.OptionParser(option_list=m5.standardOptions) parser.add_option("-c", "--cmd", default="hello") parser.add_option("-t", "--timing", action="store_true") +parser.add_option("-f", "--full", action="store_true") (options, args) = parser.parse_args() @@ -31,6 +33,8 @@ mem = PhysicalMemory() if options.timing: cpu = TimingSimpleCPU() +elif options.full: + cpu = DetailedCPU() else: cpu = AtomicSimpleCPU() cpu.workload = process