diff options
Diffstat (limited to 'configs/example/se.py')
-rw-r--r-- | configs/example/se.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configs/example/se.py b/configs/example/se.py index f12d4a994..8403066f0 100644 --- a/configs/example/se.py +++ b/configs/example/se.py @@ -61,6 +61,7 @@ from common import Options from common import Simulation from common import CacheConfig from common import CpuConfig +from common import BPConfig from common import MemConfig from common.Caches import * from common.cpu2000 import * @@ -233,6 +234,10 @@ for i in xrange(np): if options.checker: system.cpu[i].addCheckerCpu() + if options.bp_type: + bpClass = BPConfig.get(options.bp_type) + system.cpu[i].branchPred = bpClass() + system.cpu[i].createThreads() if options.ruby: |