From c2f3f6dbff9b29730da17269397f918742559179 Mon Sep 17 00:00:00 2001 From: Chen Zou Date: Wed, 3 Jan 2018 16:31:06 -0600 Subject: [PATCH] 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 Maintainer: Jason Lowe-Power --- configs/example/etrace_replay.py | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.30.2