Chen Zou has submitted this change and it was merged. (
https://gem5-review.googlesource.com/7021 )
Change subject: configs: Fill in the cpu.isa field in etrace_replay.py
since no default are provided now
......................................................................
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 <[email protected]>
Maintainer: Jason Lowe-Power <[email protected]>
---
M configs/example/etrace_replay.py
1 file changed, 5 insertions(+), 0 deletions(-)
Approvals:
Jason Lowe-Power: Looks good to me, approved; Looks good to me, approved
diff --git a/configs/example/etrace_replay.py
b/configs/example/etrace_replay.py
index 385a2d1..f8586d6 100644
--- a/configs/example/etrace_replay.py
+++ b/configs/example/etrace_replay.py
@@ -104,6 +104,11 @@
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
--
To view, visit https://gem5-review.googlesource.com/7021
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I5f337b9969820bd74ed67e576e2d1a8e4666ecdb
Gerrit-Change-Number: 7021
Gerrit-PatchSet: 5
Gerrit-Owner: Chen Zou <[email protected]>
Gerrit-Reviewer: Chen Zou <[email protected]>
Gerrit-Reviewer: Jason Lowe-Power <[email protected]>
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev