From: Chen Zou Date: Wed, 3 Jan 2018 22:31:06 +0000 (-0600) Subject: configs: Fill in the cpu.isa field in etrace_replay.py since no default are provided now X-Git-Tag: v19.0.0.0~2389 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c2f3f6dbff9b29730da17269397f918742559179;p=gem5.git 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 --- 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