diff options
author | Daniel R. Carvalho <odanrc@yahoo.com.br> | 2019-09-03 11:59:18 +0200 |
---|---|---|
committer | Daniel Carvalho <odanrc@yahoo.com.br> | 2019-10-01 06:15:03 +0000 |
commit | e8a318476ec0024ca2ddda0eacb7d489fb8a61a1 (patch) | |
tree | cd66d62ad33c1c895fed20d533f4d682c5e83912 /configs/example/se.py | |
parent | c957d00dfeea618137cf14c02f6c20b0f02dbed3 (diff) | |
download | gem5-e8a318476ec0024ca2ddda0eacb7d489fb8a61a1.tar.xz |
configs: Port BPConfig to use the common object list
Port BPConfig to use the common object list.
Change-Id: I5cbd1c67cf743778bc59b5aa3c3dea5ab397b66d
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/20590
Tested-by: kokoro <noreply+kokoro@google.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'configs/example/se.py')
-rw-r--r-- | configs/example/se.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configs/example/se.py b/configs/example/se.py index e1396bfa2..1d4de1a85 100644 --- a/configs/example/se.py +++ b/configs/example/se.py @@ -63,7 +63,6 @@ from common import Simulation from common import CacheConfig from common import CpuConfig from common import ObjectList -from common import BPConfig from common import MemConfig from common.FileSystemConfig import config_filesystem from common.Caches import * @@ -238,11 +237,12 @@ for i in range(np): system.cpu[i].addCheckerCpu() if options.bp_type: - bpClass = BPConfig.get(options.bp_type) + bpClass = ObjectList.bp_list.get(options.bp_type) system.cpu[i].branchPred = bpClass() if options.indirect_bp_type: - indirectBPClass = BPConfig.get_indirect(options.indirect_bp_type) + indirectBPClass = \ + ObjectList.indirect_bp_list.get(options.indirect_bp_type) system.cpu[i].branchPred.indirectBranchPred = indirectBPClass() system.cpu[i].createThreads() |