From 942e2957994fc6779a5540c3b94a8756258e3149 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sun, 7 May 2017 23:57:47 -0700 Subject: config: Fix up some configs to not use CPU aliases. Support for CPU aliases were removed recently. Change-Id: I3c1173dc34170d8639d95e52bf660f248848f77f Reviewed-on: https://gem5-review.googlesource.com/3100 Reviewed-by: Andreas Sandberg Reviewed-by: Jason Lowe-Power Maintainer: Jason Lowe-Power --- configs/example/apu_se.py | 6 +++--- configs/example/etrace_replay.py | 4 ++-- configs/example/fs.py | 3 ++- configs/example/se.py | 2 +- 4 files changed, 8 insertions(+), 7 deletions(-) (limited to 'configs/example') diff --git a/configs/example/apu_se.py b/configs/example/apu_se.py index 28ba92ba1..f93442d62 100644 --- a/configs/example/apu_se.py +++ b/configs/example/apu_se.py @@ -181,9 +181,9 @@ if buildEnv['PROTOCOL'] == 'None': fatal("GPU model requires ruby") # Currently the gpu model requires only timing or detailed CPU -if not (options.cpu_type == "timing" or - options.cpu_type == "detailed"): - fatal("GPU model requires timing or detailed CPU") +if not (options.cpu_type == "TimingSimpleCPU" or + options.cpu_type == "DerivO3CPU"): + fatal("GPU model requires TimingSimpleCPU or DerivO3CPU") # This file can support multiple compute units assert(options.num_compute_units >= 1) diff --git a/configs/example/etrace_replay.py b/configs/example/etrace_replay.py index 0b0e37ffd..385a2d15f 100644 --- a/configs/example/etrace_replay.py +++ b/configs/example/etrace_replay.py @@ -65,9 +65,9 @@ if args: numThreads = 1 -if options.cpu_type != "trace": +if options.cpu_type != "TraceCPU": fatal("This is a script for elastic trace replay simulation, use "\ - "--cpu-type=trace\n"); + "--cpu-type=TraceCPU\n"); if options.num_cpus > 1: fatal("This script does not support multi-processor trace replay.\n") diff --git a/configs/example/fs.py b/configs/example/fs.py index 8102edc75..36365afa1 100644 --- a/configs/example/fs.py +++ b/configs/example/fs.py @@ -147,7 +147,8 @@ def build_test_system(np): if options.ruby: # Check for timing mode because ruby does not support atomic accesses - if not (options.cpu_type == "detailed" or options.cpu_type == "timing"): + if not (options.cpu_type == "DerivO3CPU" or + options.cpu_type == "TimingSimpleCPU"): print >> sys.stderr, "Ruby requires TimingSimpleCPU or O3CPU!!" sys.exit(1) diff --git a/configs/example/se.py b/configs/example/se.py index b26bc91e5..0fc7d7459 100644 --- a/configs/example/se.py +++ b/configs/example/se.py @@ -115,7 +115,7 @@ def get_processes(options): idx += 1 if options.smt: - assert(options.cpu_type == "detailed") + assert(options.cpu_type == "DerivO3CPU") return multiprocesses, idx else: return multiprocesses, 1 -- cgit v1.2.3