summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen Zou <chenzou@uchicago.edu>2018-01-03 16:31:06 -0600
committerChen Zou <chenzou@uchicago.edu>2018-01-10 23:16:04 +0000
commitc2f3f6dbff9b29730da17269397f918742559179 (patch)
tree13f9a68c75fa857ad9f49e2bb4810eeb42681b6a
parent1246617fb2e4ef2845460eab1c2cd36dd8b336fa (diff)
downloadgem5-c2f3f6dbff9b29730da17269397f918742559179.tar.xz
configs: Fill in the cpu.isa field in etrace_replay.py since no default are provided now
Change-Id: I5f337b9969820bd74ed67e576e2d1a8e4666ecdb Reviewed-on: https://gem5-review.googlesource.com/7021 Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Jason Lowe-Power <jason@lowepower.com>
-rw-r--r--configs/example/etrace_replay.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/configs/example/etrace_replay.py b/configs/example/etrace_replay.py
index 385a2d15f..f8586d62f 100644
--- a/configs/example/etrace_replay.py
+++ b/configs/example/etrace_replay.py
@@ -104,6 +104,11 @@ system.cpu_clk_domain = SrcClockDomain(clock = options.cpu_clock,
for cpu in system.cpu:
cpu.clk_domain = system.cpu_clk_domain
+# BaseCPU no longer has default values for the BaseCPU.isa
+# createThreads() is needed to fill in the cpu.isa
+for cpu in system.cpu:
+ cpu.createThreads()
+
# Assign input trace files to the Trace CPU
system.cpu.instTraceFile=options.inst_trace_file
system.cpu.dataTraceFile=options.data_trace_file