Skip to content

Commit

Permalink
configs: Fix CPUClass typo in se.py
Browse files Browse the repository at this point in the history
Change 719eb03 added a typo
to se.py that breaks simpoint simulation, which generates the
following error:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/daniel/gem5/src/python/m5/main.py", line 435, in main
    exec filecode in scope
  File "./configs/example/se.py", line 217, in <module>
    if not CpuConfig.is_atomic_cpu(TestCPUClass):
NameError: name 'TestCPUClass' is not defined

Change-Id: Ideede8c96a40ee16af733c3d57b02b64f1a18d12
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/13267
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
  • Loading branch information
odanrc committed Oct 9, 2018
1 parent 34975af commit 3808669
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configs/example/se.py
Expand Up @@ -214,7 +214,7 @@ def get_processes(options):

# Sanity check
if options.simpoint_profile:
if not CpuConfig.is_atomic_cpu(TestCPUClass):
if not CpuConfig.is_atomic_cpu(CPUClass):
fatal("SimPoint/BPProbe should be done with an atomic cpu")
if np > 1:
fatal("SimPoint generation not supported with more than one CPUs")
Expand Down

0 comments on commit 3808669

Please sign in to comment.