configs: Fill in the cpu.isa field in etrace_replay.py since no default are provided now
authorChen Zou <chenzou@uchicago.edu>
Wed, 3 Jan 2018 22:31:06 +0000 (16:31 -0600)
committerChen Zou <chenzou@uchicago.edu>
Wed, 10 Jan 2018 23:16:04 +0000 (23:16 +0000)
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>

configs/example/etrace_replay.py

index 385a2d15f805d8fb0eac0f921c89f13399294d84..f8586d62fdcff02734af1cfab86ad59e6305023d 100644 (file)
@@ -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